PDA

View Full Version : Adding Additional HDD to Feisty Fawn


Linocks
4th August 2007, 23:40
I have set up a LAMP server using the instructions at The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04 (http://www.howtoforge.com/perfect_setup_ubuntu704) 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'! (http://www.howtoforge.com/perfect_setup_ubuntu704_p4)

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

falko
5th August 2007, 14:31
First you must format the hard drive (e.g. with fdisk, see man fdisk). If your new HDD is /dev/sdb, you can use fdisk /dev/sdb

Let's say you've created a partition /dev/sdb1 on it:
Afterwards you can mount it, e.g.:
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).