Ahhhg Dammit!
this is something I should have learned before it became time critical!
I have googled this and got some answers but I am not sure I full
understand what I am about to do.
I have a disk I dd+nc(ed) from one machine to the other using knoppix
pitcher#dd if=/dev/hda|nc 192.168.0.101 9000
catcher#nc -l -p 9000|dd of=/dev/hda
now on the new machine "catcher" I want to extend /dev/hda2 which is a
LVM volume from 8gig to 100gig so I found this set of commands
# lvextend -L+1G /dev/myvg/homevol
lvextend -- extending logical volume "/dev/myvg/homevol" to 13 GB
lvextend -- doing automatic backup of volume group "myvg"
lvextend -- logical volume "/dev/myvg/homevol" successfully extended
# umount /dev/myvg/homevol/dev/myvg/homevol
# resize2fs /dev/myvg/homevol
# mount /dev/myvg/homevol /home
what I am wondering is will this take cat of the partition table or do I
need to use parted first to expand /dev/hda1?
the second issue after the expansion how do I fsck the /dev/hda2
just ext3.fsck ?
Received on Wed Mar 5 15:16:00 2008
This archive was generated by hypermail 2.1.8 : Wed Mar 05 2008 - 15:16:05 CST