Skip to main content

External hard drive no longer accepted

Comments

5 comments

  • cPanelLauren
    Hello @Jonza What is the output of the following: cat /proc/mounts cat /etc/fstab grep HOME /etc/wwwacct.conf
    0
  • Jonza
    Hello @Jonza What is the output of the following: cat /proc/mounts cat /etc/fstab grep HOME /etc/wwwacct.conf

    [root@server ~]# cat /proc/mounts rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 devtmpfs /dev devtmpfs rw,relatime,size=1898884k,nr_inodes=474721,mode=7550 0 devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /dev/shm tmpfs rw,relatime 0 0 /dev/sda1 / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered,discard,usrquota 0 0 /proc/bus/usb /proc/bus/usb usbfs rw,relatime 0 0 /dev/sdb1 /mnt/storage1 ext4 rw,relatime,barrier=1,data=ordered 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0 /dev/loop0 /tmp ext3 rw,nosuid,noexec,relatime,errors=continue,barrier=1,data=ordered 0 0 /dev/loop0 /var/tmp ext3 rw,nosuid,noexec,relatime,errors=continue,barrier=1,data=ordered 0 0 [root@server ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Fri Mar 3 14:56:02 2017 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/sda1 / ext4 errors=remount-ro,discard,usrquota 1 1 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0 /dev/sdb1 /mnt/storage1 ext4 defaults 0 2 [root@server ~]# grep HOME /etc/wwwacct.conf HOMEDIR /home HOMEMATCH [root@server ~]#
    0
  • cPanelLauren
    Hi @Jonza It looks like the mount is present as /mnt/storage1 but based on the output you provided the system isn't set up to place accounts there: [QUOTE] [root@server ~]# grep HOME /etc/wwwacct.conf HOMEDIR /home HOMEMATCH

    That output corresponds to the setting you'll find If you go to WHM>>Server Configuration>>Basic WebHost Manager Setup: [QUOTE]Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) Only mount points are considered. This option only takes one value.
    If you're storing userdata on /mnt/storage1 you'd need to add that here to have them be placed here. [QUOTE] Examples: "home" matches /home, /home2, /newhome, /usr/home, /anythingwith/homeinit
    0
  • Jonza
    Thanks that did it. Now I can move accounts to external storage again. I never had done that before so I didn't know such option existed. I guess it would be a good idea to go through all of the settings a few more times to learn more about cPanel (at root level).
    0
  • cPanelLauren
    Hi @Jonza That setting has been there for as long as I can remember, I am wondering if at some point the mount maybe had a different label? I'm really glad it's working for you now. Thanks for updating and if you have questions when you go through the settings feel free to ask away!
    0

Please sign in to leave a comment.