Adding Additional HDD to Feisty Fawn

Discussion in 'Installation/Configuration' started by Linocks, Aug 4, 2007.

  1. Linocks

    Linocks New Member

    I have set up a LAMP server using the instructions at The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04 on an 80Gb HDD. I have now added a second HDD (250Gb) with a view to providing more space for my users.:eek:

    At the moment I can not see this HDD and I daresay that is because I have not yet mounted it.

    I would like to set up the drive and include 'Quota' as per the instructions at The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) - Page 4 Item 10 'Quota'!

    Can anyone assist me in getting my additional hard disk drive operational please? :confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    First you must format the hard drive (e.g. with fdisk, see
    Code:
    man fdisk
    ). If your new HDD is /dev/sdb, you can use
    Code:
    fdisk /dev/sdb
    Let's say you've created a partition /dev/sdb1 on it:
    Afterwards you can mount it, e.g.:
    Code:
    mkdir /new_hdd
    mount /dev/sdb1 /new_hdd
    You can also create an entry in /etc/fstab if you want to have the new HDD mounted automatically whenever the system is booted.

    And afterwards you can apply quota to /dev/sdb1, as shown in the Perfect Setup (of course, you must adjust the paths).
     

Share This Page