Page 1 of 1
Help with "connecting" second hard drive to VestaCP
Posted: Sun Jan 15, 2017 10:59 pm
by soares
Hello, I'm trying to attach a second hard drive to my server. I managed to format and mount it after googling for a while. Now my only problem is... How to make it ready to work so I can use FTP to upload files? The main disk is a SSD that is already working properly with website files and so on. I just need to make this one work as well under the very same domain if possible. Can you guys point me at the right direction? Been trying to google for a while but maybe i'm searching for it wrong.
Thanks
Re: Help with "connecting" second hard drive to VestaCP
Posted: Thu Jan 19, 2017 1:03 pm
by rhyker2u
Sure ... google for /etc/fstab and creating a mount point
Re: Help with "connecting" second hard drive to VestaCP
Posted: Thu Jan 19, 2017 1:20 pm
by demian
soares wrote:Hello, I'm trying to attach a second hard drive to my server. I managed to format and mount it after googling for a while. Now my only problem is... How to make it ready to work so I can use FTP to upload files? The main disk is a SSD that is already working properly with website files and so on. I just need to make this one work as well under the very same domain if possible. Can you guys point me at the right direction? Been trying to google for a while but maybe i'm searching for it wrong.
Thanks
If you used CentOC, you can extend lvm partition, use come utulites:
pvcreate
vgextend
lvextend(one or some partition) or lvcreate(if you want use new partition)
resize2fs
PS: no nead reboot
Re: Help with "connecting" second hard drive to VestaCP
Posted: Sat Jan 21, 2017 4:24 pm
by soares
Got it! Thanks a lot guys :D