Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#55673 - 06/01/2002 12:19 /drive1 fstab/mtab entry missing?
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
When doing an rwm, I've noticed this msg:

mount: can't find /drive1 in /etc/fstab or /etc/mtab

Only I haven't touched either file. Sure enough, /drive1 isn't in there. Should it be? If so, what goes there?
#

# /etc/fstab
#
# [device] [mountpoint] [filesystemtype] [options] [dump] [fsckorder]
/dev/hda5 / ext2 defaults,ro 1 1
/dev/hda4 /drive0 ext2 defaults,ro 1 1
none /proc proc defaults

#
# /etc/mtab
#
/dev/hda5 / ext2 ro 0 0






_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top
#55674 - 06/01/2002 14:24 Re: /drive1 fstab/mtab entry missing? [Re: jdandrea]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Do you have a two disk player? If not, don't worry as /drive1 is the mount point (where it will be found in the filesystem) of the music partition on the secondary (slave) harddrive the way /drive0 is the mount point for the music partition (/dev/hda4) on the first drive.

/Michael

_________________________
/Michael

Top
#55675 - 06/01/2002 14:24 Re: /drive1 fstab/mtab entry missing? [Re: jdandrea]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
It's not listed in my /etc/fstab either. I don't have a /etc/mtab. I don't get this error, but I suspect that this is because /drive1 was already mounted, and hence mentioned in /proc/mounts.

If you want to put the relevant line in there, then it's /dev/hdc4 instead of /dev/hda4.

In the mean time, "mount -n -o rw /dev/hdc4 /drive1" should see you alright. You probably won't need the ",remount" (otherwise /drive1 would have been in /proc/mounts, no?).

_________________________
-- roger

Top
#55676 - 06/01/2002 18:47 Re: /drive1 fstab/mtab entry missing? [Re: mtempsch]
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
Do you have a two disk player?

Yup.

/drive1 is the mount point ... of the music partition on the secondary (slave) harddrive ...

Exactly. That's why I'm a bit stumped as to why it isn't in /etc/fstab. Doesn't it need to be mounted?
_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top
#55677 - 06/01/2002 18:57 Re: /drive1 fstab/mtab entry missing? [Re: Roger]
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
Ooh! Well looky here (/proc/mounts):
/dev/root / ext2 rw 0 0

none /proc proc rw 0 0
/dev/hda4 /drive0 ext2 rw 0 0
/dev/hdc4 /drive1 ext2 ro 0 0



Notice - drive1 is ro. I did an rw but not an rwm (yet) at this point. If I do an rwm I get back "mount: can't find /drive1 in /etc/fstab or /etc/mtab" - and hence I figure it needs to go in there.

It's weird 'cause /drive1 is already mounted (it's in /proc/mounts - didn't think to look there, thanks!) but I'd think it needs to be in /etc/fstab (at least in the interest of playing nice and all that).

Since I've been getting all these warnings and such, the lack of /drive1 from /etc/fstab seemed to match up with that.

OK then - I added it in. rwm works now. Yay! rom works as well. Also yay. Grazie.
_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top