This technique is fairly straightforward, and while it takes time and a bit of work at the command line via "Support mode", you will also be best served if all your data is still backed up. Note: to get at the support page on a "Cloud Edition" unit, the URL is /diagnostics.html
Preparation...
- Upgrade your drives with bigger models.
- It's not strictly required, but I suggest you upgrade starting at the highest labelled drive, working your way to the lowest labelled drive
- In order to make full use of each drive's capacity, they should all be identical.
- Shut down your unit each time you swap a drive (unless you're using a model that is explicitly hot-swappable).
- Allow the unit to fully redistribute the protected data before swapping the next spindle
- Enable SSH access to your unit.
- Use an SSH client to logon to your unit
- username:
root - default password:
soho - If you have security enabled, you will need to append the primary administrator's password to the default password. For example, if your primary user's password is
ducksauce, the SSH password issohoducksauce.
- username:
Magic Time!
The devices can be expanded because of the storage subsystem being used in the Linux kernel. The process is straightforward: expand the "outer" container before expanding the inner container(s).- Dismount the user storage volume:
root@ix2-200d:/# umount -l /mnt/soho_storage - Expand the RAID pseudo-device:
root@ix2-200d:/# mdadm --grow /dev/md1 --size=max - Expand the LVM physical volume:
root@ix2-200d:/# pvresize /dev/md1 - Determine the free space in the LVM volume group:
root@ix2-200d:/# vgdisplay
--- Volume group --- VG Name md1_vg . . . Free PE / Size 476930 / 931.50 GB . - Expand the LVM logical volume by the amount of free blocks:
root@ix2-200d:/# lvextend -l +476930 /dev/md1_vg/md1vol1 - Mount the expanded volume:
root@ix2-200d:/# mount -t xfs -o noatime /dev/mapper/md1_vg-md1vol1 /mnt/soho_storage - Expand the xfs file system:
root@ix2-200d:/# xfs_growfs /dev/md1_vg/md1vol1 - Reboot the system (so the web management tools will recognize the expansion):
root@ix2-200d:/# telinit 6



Only trouble I'm running into is I can't find xfs_growfs??
ReplyDeletexfs_growfs is in /mnt/apps/usr/sbin
ReplyDeleteJim - Thanks for the instructions so simple even this monkey could follow and execute.
ReplyDeleteI am now, assuming unit reboots, the proud owner of 2 TB mirror for my VMware backup to fill up. The new drives, FYI, came out of some Seagate "Expansion" external desktop drives from Target ~ 99/each which was $20 less then NewEgg for bare drive.
Thanks again.
Jim - My disk space was > 95% full before upgrade and now is not, but I still have the warning up. I went back and checked the steps but everything is "fixed" for the larger size. Been digging into what might need to be changed but thought I would ask for any ideas?
ReplyDeleteThanks
Are you sure that you got the LVM expansion done correctly? Is the GUI interface showing the right capacity (forget the % used for now)?
Deletethis works perfectly!
ReplyDelete