Expand LSI array using StorCli
This is a short guide how to expand an LSI array when adding more discs and expand the filesystem
Add the new drives
sudo /opt/MegaRAID/storcli/storcli64 /c0/v0 start migrate type=raid6 option=add drives=13:9,13:10,13:11,13:12,13:13
Set a bit faster rebuild rate (Optional)
sudo /opt/MegaRAID/storcli/storcli64 /c0 set rebuildrate=80
Reboot the system after the rebuild is done. after a week or so…
sudo reboot
Unmount the filesystem
sudo umount /dev/sdb1
Grow the partition on the now larger array
sudo parted /dev/sdb
- "print" and answer "Fix"
- "resizepart" partition 1 and set end to "-1"
- "quit"
run a filesystem check update it on its new partition information
sudo e2fsck -f /dev/sda1
Resize the filesystem
sudo resize2fs -p /dev/sda1
Remount the drive
sudo mount -a
DONE!
Filed under: IT-Lösningar - @ 19 april, 2017 15:01