How 2 Know
If you can't Google it, You Can Knowing it.

September, 2015Archive for

Useful Commands for Redhat LVM and increasing Filesystem

Sunday, September 20th, 2015

– Scan New Hardware:
scsi-rescan
rescan-scsi-bus.sh –forcerescan

– For Physical Volumes:
pvdisplay
pvscan
pvcreate /dev/sdb

– For Volume Groups:
vgdisplay
vgscan
vgextend VGNAME PVNAME
lvextend -L+50G LVNAME
resize2fs LVNAME

Reset Resources for InActive Lpars

Tuesday, September 15th, 2015

Some times, when you shutdown LPAR, it’s appear inactive but there is some Cores Allocated to this LPAR and overall the HMC doesn’t see the Free cores.

so, here is the solution for this issue :

– First, login to HMC Console (Command Line)
– write the following Command to get the System name which contain the LPAR: Continue Reading…