Formatting second internal hard drive

Chris Peterman kyral at ubuntu.com
Thu Apr 13 01:50:51 UTC 2006


On Wednesday 12 April 2006 17:22, Henk Koster wrote:
> On Wed, 12 Apr 2006 21:53:40 +0100, john levin wrote:
> > Hi,
> >
> > I have a desktop with two large (200 gb) internal scsi hard drives. When
> > I installed Ubuntu Dapper, there didn't seem to be a way of formatting
> > both the drives, so that the home directory would span both of them.
> > Consequently, I used one drive (with LVM) for the filesystem, and left
> > the other free.
> > Now how can I use the second drive? The Disks Manager doesn't seem to
> > offer a way to mount it, nor does gParted, and it's not done
> > automatically.
> >
> > TIA
> >
> > John
>
> Assuming that this 2nd SCSI disk is /dev/sdb:
>
> 1. sudo fdisk /dev/sdb and make a partition on it, e.g. /dev/sdb1
> 2. sudo mkfs -t ext3 /dev/sdb1 to put a file system on it
> 3. give it as mount point in /etc/fstab a sub-directory of /home, e.g.
>    /home/MyDVDs
>
> Done.
>
> (Check man {fdisk,mkfs,fstab} for details.)
>
> Have fun!

Or if you want to extend it into /home, use the LVM Tools (pvcreate, vgextend) 
to extend the LVM onto it. You'd have to man LVM though, because I'm not 
really familier with it

-- 
~ Chris "Kyral" Peterman
Computer Science Undergraduate
Clarkson University
Associate Member of the Free Software Foundation
Ubuntu Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060412/a59aaa73/attachment.pgp>


More information about the ubuntu-users mailing list