Adding Drives
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 ext2defaults 11 when I try to mount I get error mount point data does not exist I think I need to run mknod any Ideas? thanks, mike
Re: Adding Drives
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 ext2defaults 11 when I try to mount I get error mount point data does not exist mkdir /data retry mount and enjoy. --mike
Re: Adding Drives
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 ext2defaults 11 when I try to mount I get error mount point data does not exist I think I need to run mknod any Ideas? thanks, mike Doesn't /data your mounting point? Does it exists? -- When responding, please quote my entire message. Shaul Karl [EMAIL PROTECTED]
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 ext2defaults 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 ext2defaults 11 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- 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!!
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 ext2defaults 11 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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 ext2defaults 11 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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Adding Drives
I think I see the confusion. Your filesystem is not hda. Your filesystem *includes* hda. Now it includes hdc too. This is different than under Windows, where every drive has its root directory and all the subfolders appear under it, and each drive's filesystem is independent from the others. Hope that clears it up a little. Y.Kelly -Original Message- From:Michael Grover [EMAIL PROTECTED] Sent:Wed, 24 Oct 2001 07:16:41 -0500 To: debian-user@lists.debian.org CC: debian-user@lists.debian.org 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 11 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- [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to debian-user- [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] ___ Visit http://www.visto.com. Find out how companies are linking mobile users to the enterprise with Visto.
Re: Adding Drives
On Wed, Oct 24, 2001 at 07:16:41AM -0500, Michael Grover wrote: | why I need a mount point on hda to get to hdc? If you don't have the mount point (or, to paraphrase, point at which the drive is mounted) you can't mount it there. Think of it like trying to bolt a new alternator into your car. If there is no frame there with holes to put the bolt through, how will you do this? The car manufacturer must first provide a mount point on which to mount your alternator. I hope this analogy makes sense. -D
Re: Adding Drives
On Wed, 2001-10-24 at 14:51, dman wrote: On Wed, Oct 24, 2001 at 07:16:41AM -0500, Michael Grover wrote: | why I need a mount point on hda to get to hdc? If you don't have the mount point (or, to paraphrase, point at which the drive is mounted) you can't mount it there. Think of it like trying to bolt a new alternator into your car. If there is no frame there with holes to put the bolt through, how will you do this? The car manufacturer must first provide a mount point on which to mount your alternator. I hope this analogy makes sense. IIRC the O'reilly book on system administration makes a good place to read about why this has to be done in this fashion. If you like not having the mount point exist, you can do automount, but that only works under a specific directory as well. --mike