[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding Drives



Sorry but I am confused.

If you add a physycal hard disk, the kernel upon recognizing it will assign
a DRIVE id such as /dev/hda for the first IDE drive, /dev/hdb, /dev/hdc for
the third IDE and so on.

Now, on you /dev/hdc drive you will need some partitions. Each primary
partition is called /dev/hdc1 through /dev/hdc4 (extended parts start from
/dev/hdc5).

You should create the filesystem on one of the partitions, not on the drive
e.g. mke2fs /dev/hdc1

Once the partition has a filesystem recognized by the kernel you can mount
it at will

In your situation mount /dev/hdc1 /data

where /data is a mountpoint (a directory on the /dev/hda3 partition's
filesystem) under which all the filesystem existing on /dev/hdc1 will appear
...

When you see it works allright you can add it to /etc/fstab ...

To wrap it up the (usual) hyerarchy is -> DISK 1->n Partition 1<-> 1
Filesystem ... hope this helps.

Ciao Bob

----- Original Message -----
From: "Michael Grover" <mmgrover@tctelco.net>
To: <debian-user@lists.debian.org>
Cc: "Debian" <debian-user@lists.debian.org>
Sent: Wednesday, 24 October 2001 2:16
Subject: Re: Adding Drives


>
> Ok, I made a dir on hda3 called /data
>
> I was then able to mount hdc1.
>
> This has me confused?
>
> why I need a mount point on hda to get to hdc?
> Is there a place I can get more info on mount points, etc etc?
>
>       mike
>
>
> Michael Heldebrant wrote:
> >
> > On Tue, 2001-10-23 at 23:02, Michael Grover wrote:
> > > Does anybody know where I can find info on ading second hard drives?
> > >
> > > I added the second drive,
> > > ran "MAKEDEV hdc" ,
> > > ran "mke2fs /dev/hdc" ,
> > > added a entry to the fstab  file in the /etc directory.
> > >
> > > But I can not mount it?
> > >
> > > fstab line = "/dev/hdc1         /data   ext2    defaults      1    1
> > >
> > >
> > > when I try to mount I get error "mount point data does not exist"
> >
> > mkdir /data
> >
> > retry mount and enjoy.
> >
> > --mike
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: