Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
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.

Mounting block storage onto server w/ DirectAdmin already installed?

Since DirectAdmin's home directory is /home/admin, should I mount my block storage to /home/admin if I want DirectAdmin files to be stored on the new device?

Let's say I'm building a website and this is my backend configuration. Will site files be stored on the SSD and then overflow into the HDD once the SSD is full? Sorta new to all of this. Any help appreciated.

Comments

  • FranciscoFrancisco Top Host, Host Rep, Veteran
    • format the volume
    • mount it to /mnt/
    • move everything from /home into /mnt/
    • umount /mnt/
    • mount the volume to /home/

    Francisco

    Thanked by 110thHouse
  • @Francisco said:

    • format the volume
    • mount it to /mnt/
    • move everything from /home into /mnt/
    • umount /mnt/
    • mount the volume to /home/

    Francisco

    Forgive me if I'm being dense, but wouldn't mounting the volume directly to /home/ achieve the same result, if no files are being stored in DA right now?

  • @Francisco said:

    • format the volume
    • mount it to /mnt/
    • move everything from /home into /mnt/
    • umount /mnt/
    • mount the volume to /home/

    Francisco

    Actually, revisiting this and having read some other DA forum posts, is the idea that these steps make DA recognize the block storage as the home directory?

    So after formatting the volume and running mount /dev/sda /mnt/, it'd be like:

    mv ~/home/* ~/mnt/

    umount /mnt/

    mount /dev/sda /home/

    and then editing /etc/fstab for /dev/sda to be in /home/ instead of /mnt/?

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @10thHouse said:

    @Francisco said:

    • format the volume
    • mount it to /mnt/
    • move everything from /home into /mnt/
    • umount /mnt/
    • mount the volume to /home/

    Francisco

    Actually, revisiting this and having read some other DA forum posts, is the idea that these steps make DA recognize the block storage as the home directory?

    So after formatting the volume and running mount /dev/sda /mnt/, it'd be like:

    mv ~/home/* ~/mnt/

    umount /mnt/

    mount /dev/sda /home/

    and then editing /etc/fstab for /dev/sda to be in /home/ instead of /mnt/?

    You got it :)

    Francisco

    Thanked by 210thHouse gbzret4d
Sign In or Register to comment.