Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/home gone in WHM

Discussion in 'General Discussion' started by Cataclysm, Feb 15, 2006.

  1. Cataclysm

    Cataclysm Member

    Joined:
    Mar 4, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hello!

    I just got my new cpanel-server, which has 2 hdds in it. My hoster didn't mount the second drive, so I did it myself via WHM -> Format/Mount a new Hard Drive. As mount-point /home2 was specified. And now to my problem...

    /home was the former location of all accounts, but after the installation of the new drive, /home cannot be selected for new accounts under WHM, nor can I move existing accounts on /home2 to /home. It is like it's gone, but the old accounts on /home still work fine.

    Is there any way to fix this problem, so that I can use /home too ? /home doesn't have its own partition, but resides under /.

    Thanks in advance.
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    Mine too. I thought it was just a problem with my setup....


    I found that if you set the default partition to "/home" in Basic cPanel/WHM Setup then you will see them both.




    Time to submit a bug in bugzilla I guess...
     
  3. Cataclysm

    Cataclysm Member

    Joined:
    Mar 4, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Doesn't work for me - default home is set to "/home", home directory prefix is set to "home" and I only see /home2 as available.
     
  4. gomes

    gomes Member

    Joined:
    Oct 21, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    india
    Hi,

    Please login to the server via shell and type the following command and let us know the result,

    1. #fdisk -l
    2. #mount
    3. #df -h
     
  5. Cataclysm

    Cataclysm Member

    Joined:
    Mar 4, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    fdisk -l :

    Disk /dev/hda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 13 104391 83 Linux
    /dev/hda2 14 19457 156183930 8e Linux LVM

    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 19457 156288321 83 Linux

    ------------------------------------------------------------------------------------------

    mount :

    /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/hda1 on /boot type ext3 (rw)
    none on /dev/shm type tmpfs (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
    /tmp on /var/tmp type none (rw,noexec,nosuid,bind)
    /dev/hdb1 on /home2 type ext3 (rw,usrquota,usrquota)

    ------------------------------------------------------------------------------------------

    df -h :

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    145G 7.7G 130G 6% /
    /dev/hda1 99M 12M 82M 13% /boot
    none 505M 0 505M 0% /dev/shm
    /usr/tmpDSK 485M 11M 449M 3% /tmp
    /tmp 485M 11M 449M 3% /var/tmp
    /dev/hdb1 147G 189M 140G 1% /home2
     
  6. Mysteerie

    Mysteerie Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    166
    Yea, I am getting the same thing. It has something to do with LVM I bilieve.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice