Help with "connecting" second hard drive to VestaCP
Help with "connecting" second hard drive to VestaCP
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
Thanks
Re: Help with "connecting" second hard drive to VestaCP
Sure ... google for /etc/fstab and creating a mount point
Re: Help with "connecting" second hard drive to VestaCP
If you used CentOC, you can extend lvm partition, use come utulites: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
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
Got it! Thanks a lot guys :D