How To Resize LVM Software RAID1 Partitions (Shrink & Grow) - Page 2
2.2 Growing An Intact ArrayBoot into your rescue system and activate all needed modules: modprobe md Then activate your RAID arrays... cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf_orig mdadm -A --scan ...and start LVM: /etc/init.d/lvm start Now we can grow /dev/md1 as follows: mdadm --grow /dev/md1 --size=max --size=max means the largest possible value. You can as well specify a size in KiBytes (see previous chapter). Then we grow the PV to the largest possible value... pvresize /dev/md1 ... and take a look at vgdisplay root@Knoppix:~# vgdisplay We have 194 free PE that we can allocate to our /dev/server1/root LV: lvextend -l +194 /dev/server1/root Then we run a file system check... e2fsck -f /dev/server1/root ..., resize the file system... resize2fs /dev/server1/root ... and check the file system again: e2fsck -f /dev/server1/root Afterwards you can boot back into your normal system.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com





print: 
Recent comments
1 hour 54 min ago
3 hours 36 min ago
6 hours 2 min ago
6 hours 8 min ago
10 hours 42 min ago
12 hours 43 min ago
16 hours 6 min ago
18 hours 13 min ago
18 hours 24 min ago
20 hours 50 min ago