HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Adding Additional HDD to Feisty Fawn (http://www.howtoforge.com/forums/showthread.php?t=14512)

Linocks 4th August 2007 22:40

Adding Additional HDD to Feisty Fawn
 
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:

falko 5th August 2007 13:31

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).


All times are GMT +2. The time now is 08:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.