Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 22 of 22
  1. #16
    Member
    Join Date
    Mar 2005
    Posts
    28

    Default

    Yeah, /scripts/initquotas messes up my fstab changes.

    Code:
    root@bigjohn [~]# /scripts/initquotas
    Quotas are now on
    /dev/hdc1 (remove)
    Updating Quota Files......
            quotacheck: Scanning /dev/sda3 [/] done
            quotacheck: Checked 15095 directories and 218166 files
            quotacheck: Scanning /dev/hdc1 [/backup] done
            quotacheck: Checked 10988 directories and 112451 files
    
    
            quotacheck: Scanning /dev/sda3 [/] done
            quotacheck: Checked 15095 directories and 218166 files
            quotacheck: Scanning /dev/hdc1 [/backup] done
            quotacheck: Checked 10988 directories and 112452 files
    
    ....Done
    Here is fstab after running the script.

    Code:
    LABEL=/                 /                       ext3    defaults,usrquota        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /proc                   proc    defaults        0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    /dev/sda2               swap                    swap    defaults        0 0
    /dev/hdc1               /backup                 ext3    defaults        1 1
    /dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
    /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
    My new drive with the users in it is /dev/hdc1.

    Help me, you're my only hope.

  2. #17
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That's because you've called your second disk /backup and init scripts is removing the quotas which it does automatically I believe.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #18
    Member
    Join Date
    Mar 2005
    Posts
    28

    Default

    So am I SOL?

    Can't we fix the script?

  4. #19
    Member
    Join Date
    Mar 2005
    Posts
    28

    Default

    I think I'm gonna rename that drive to something more appropriate.

    One thing I have noticed is that in WHM some of my accounts show the wrong partition. They show the old partition.

    Does that need to be updated to show the correct drive?

  5. #20
    Member
    Join Date
    Mar 2005
    Posts
    28

    Default

    I had my Linux guru re-mount this second drive as /home and all is well now.

    I am curious where WHM gets its 'partition' information from. I would like for it to reflect the real partition everything is on.

    How would I go about updating WHM to show the correct partition? (from list accounts)

  6. #21
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It's likely getting the information from /etc/passwd or perhaps /var/cpanel/users/*, though I think the former is the most likely.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #22
    Member
    Join Date
    Mar 2005
    Posts
    28

    Default

    You are correct. I found it and all is well.


    Thank you so much for all your help. I have learned a lot over the last two days.

Similar Threads & Tags
Similar threads

  1. Limit php to users home dir
    By sehh in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-25-2007, 01:15 AM
  2. Lock users into their /home dir
    By nurvox in forum New User Questions
    Replies: 12
    Last Post: 06-03-2007, 07:31 AM
  3. How i change either a cpanel users Home dir or there public_html path to /shoutcast
    By ste@kmh-hosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-13-2005, 08:28 AM
  4. Replies: 7
    Last Post: 04-15-2005, 09:56 AM
  5. Custom home dir... etc
    By vogue in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-20-2004, 04:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube