New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Servarica Unlimited Expanding Storage - how do you add the new storage to your existing partitions?
k9banger02
Member
in General
I'm looking for some automatic way to enlarge the existing partitions with the new space but I not sure how to do it on the LVM partitions.
The other problem is that if there was some unused/unuseable space at the end of the partition, it is not so easy to use resize2fs to do the automatic expansion even if it is not LVM.
So, experts of LET, how do accomplish this if at all?
Or have you given up the automatic option, taking the server offline to run some disk resizing and partitioning utilities to add the space to existing partitions?
Comments
I have had the unlimited plan for a while now. It works good as a backup. First you have to do a reboot from the control panel of the vps to get the increased size
image here
https://ibb.co/8NwMC4H
So have you modified the existing disk config ? I know if you have moved the storage drives to zfs then this command works without taking anything offline
zpool online -e tank /dev/xvd?
the initial setup was accomplished using https://grml.org/ . Its been while but looks like my boot partition still has grml64-small_2021.07.iso . grml still comes up as a boot option in grub. I wont need it unless I want to reinstall the os.
so I have a smallish xvda which has /boot and a lvm with / .
xvdb and xvdc are the ones that expand and are on a zpool which is resized using the above command.
Im sure there are easier ways to do this
If you are interested in how servarica handled it with the original config that was supplied to me. This script was ran upon reboot. Now this was a couple years ago so YMMV
xenicastart.sh