Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default mounting question,

    Hi,

    Our admin installed a new harddrive for us.


    Current file system
    /dev/hda1 1.4G 720M 680M 52% /
    /dev/hda3 41G 27G 13G 67% /home
    none 236M 0 236M 0% /dev/shm
    /dev/hda2 7.7G 7.0G 390M 95% /usr
    /dev/hda5 3.8G 1.9G 1.7G 52% /var

    I wanted to make the new harddrive to mouted on

    /dev/hda6/ /backup
    /dev/hda7 /home2

    How could I do this? Please help on this.

    cPanel.net Support Ticket Number:

  2. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    First, hda6 is likely already taken. That's probably where your swap drive is.

    Second, I may be wrong, but from what I know, the second hard drive can't be /dev/hda. Most are either hdc or hdd.

    What you need to do is partition your drive. Here is where I found instructions on this.
    http://tldp.org/HOWTO/mini/Partition/

    cPanel.net Support Ticket Number:
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    81

    Default

    Yes, hda is your primary drive, your 2nd drive will be hdc I believe, as hdb would be the master on the second controller if i am not mistaken? You can use "dmesg | grep hdc" or "dmesg | grep hdb" tp see which it is. Now assuming the seconf drive is formatted into one partition lets say its hdc1 and we want it mounted as backup..

    So we would

    #mkdir /backup
    #mount /dev/hdc1 /backup

    then edit your fstab file so it gets mounted at boot time also

    #pico -w /etc/fstab

    add the following line.. (assuming its ext3 filesys)

    /dev/hdc1 /backup ext3 defaults 1 2

    save and exit

    hope that helps ya

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. mounting new drive
    By kistler in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-22-2006, 09:20 PM
  2. Question about mounting a drive [moved]
    By Kaveyhosting in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-21-2005, 12:50 AM
  3. Mounting a Hard drive
    By Mo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-12-2004, 07:23 PM
  4. Backup / Mounting
    By chadi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-18-2004, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube