Tuesday, March 30, 2010

How To Resize RAID Partitions (Shrink & Grow) (Software RAID) | HowtoForge - Linux Howtos and Tutorials

How To Resize RAID Partitions (Shrink & Grow) (Software RAID) | HowtoForge - Linux Howtos and Tutorials: "2.2 Growing An Intact Array

Boot into your rescue system and activate all needed modules:

modprobe md
modprobe linear
modprobe multipath
modprobe raid0
modprobe raid1
modprobe raid5
modprobe raid6
modprobe raid10

Then activate your RAID arrays:

cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf_orig
mdadm --examine --scan >> /etc/mdadm/mdadm.conf

mdadm -A --scan

Now we can grow /dev/md2 as follows:

mdadm --grow /dev/md2 --size=max

--size=max means the largest possible value. You can as well specify a size in KiBytes (see previous chapter)."

Linux Online - Extending a logical volume

Linux Online - Extending a logical volume: "jfs

Just like XFS the JFS file system must be mounted to be resized and the mount-point is specified rather than the device name. You need at least Version 1.0.21 of the jfs-utils to do this.


# mount -o remount,resize /home"

Sofware Raid and Grub HOW-TO

Sofware Raid and Grub HOW-TO: "Grub>device (hd0) /dev/sdb (/dev/hdb for ide) Grub>root (hd0,0) and then: Grub>setup (hd0)"