Adding extra hard drive space to FOG
-
Hello,
I’m wondering if anyone can help me, I’m running out of storage on my FOG server, I’m wanting to add an extra drive, is there an easy way to do this, or is it too difficult to do?
Ideally, I just want to add the extra drive, and then keep the other system drive that I’ve got FOG installed on, rather than having to re-install everything again.
Thanks,
Dan
-
There are 2 ways to go about this depending on how your linux OS is setup.
If you FOG server uses LVM (logical volume manager) you can just add the new disk to the existing volume group, and your done. https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/
The second way to connect the new drive to/over the
/images
directory: https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition -
@dloudon96 Just go ahead and stick the extra drive into the box - hook it up however you can, leave the old drive in there and don’t change it’s cables around. SATA II and up is hot-swapable so if you’re just working with SATA III you don’t even have to power the server down to add the disk but you can if you want. After that, run the below commands and provide us with the output (in a nice code-box please). We can get more specific with what’s next after this.
lsblk pvdisplay vgdisplay lvdisplay df -h fdisk -l