The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Newby Linux question...

Discussion in 'General Discussion' started by 4u123, Jun 23, 2006.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Can someone please tell me how I make sure the backup drive is mounted at startup ? Im mounting the drive - mount /dev/sdb1 /backup but this wont re-mount at startup.

    Thanks for understanding lol
     
  2. jester.ro

    jester.ro Well-Known Member
    PartnerNOC

    Joined:
    Feb 6, 2004
    Messages:
    304
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    one method is to add an entry like this in your /etc/fstab

    /dev/sdb1 /backup ext3 defaults 1 2

    Or you could add the mount command you already used in /etc/rc.d/rc.local

    I for instance prefer the second method for backup harddrives.
    If the drive becomes corrupted, and is set to be mounted in fstab, your server will wait untill it does a fsck on it berfore booting. And we know the backup drives are BIG.
    The second method mounts the hdd after everyting else has started.
     
  3. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Ahah tyvm :)
     
Loading...

Share This Page