
fdisk -l
Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 1044 8281507+ 8e Linux LVM Disk /dev/sdX: 1099.5 GB, 1099511627776 bytes 255 heads, 63 sectors/track, 133674 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
echo "- - -" > /sys/class/scsi_host/host0/scan
screen -R lvm
pvcreate /dev/sdbX
Physical volume "/dev/sdX" successfully created
vgextend VolGroup00 /dev/sdX
Volume group "VolGroup00" successfully extended
lvextend -L 1000GB /dev/VolGroup00/LogVol00Extending logical volume LogVol00 to 1000.00 GB Logical volume LogVol00 successfully resized
resize2fs /dev/VolGroup00/LogVol00
Filesystem at /dev/VolGroup00/LogVol00 is mounted on /; on-line resizing required Performing an on-line resize of /dev/VolGroup00/LogVol00 to 262144000 (4k) blocks.
Always hated starting each and every module, block and piece of code with endless if statements ensuring and patching data to a more or less consistent state. Well, seems that's the only way to get proper view of data in a distributed environment. I gave up :)
You are viewing
stairs_jumper