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

Re: Adding Drives



michael:

by the way, there is nothing mystical about putting your new drive as "data" 
in the root. you can put it anywhere you think it should be mounted. for 
example, if this were to be a part of a database installation, say postgres, 
you could conceivably put this in a directory called /db/postgres/flyters/. 
in that case, you would:

i am assuming that the device containing db is hdb5, and that the directories 
postgres/flyters reside on the physical device /dev/hdb5 (though this is not 
necessary.) in this example, make sure data is mounted **after** db.

mkdir /db/postgres/flyters/data

and in your fstab, put the line 
/dev/hdb5   /db   ext2      defaults   1 2
/dev/hdc1   /db/postgres/flyters/data   ext2    defaults         1 2

hope this did not muddle.... :<)

On Tuesday 23 October 2001 21:12, Michael Heldebrant pronounced:
> 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
> 
> 
> 

-- 
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"
Current date: 36:6:22::295:2001

I left my WALLET in the BATHROOM!!



Reply to: