LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-04-2005, 09:15 PM   #1
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Immortal fstab entries


I have two entries in my fstab that will not die.
Deleting them and the related mount points has no effect.
They reappear on next reboot.

Some background:
I am running Mandrake 10.1
I have a RAID0 array of two SATA hard drives
The fstab entry is
/dev/md0 /z-vid2 ext3 defaults 1 0

/etc/mdadm.conf is:
DEVICE /dev/sda1 /dev/sdb1
ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1 auto=yes

This gives me what I expect. No problem so far.

However, when I reboot, these two lines appear in my fstab:
/dev/sda1 /mnt/hd auto umask=0,user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0
/dev/sdb1 /mnt/hd2 auto umask=0,user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0

and the mount points appear in /mnt.

in /var/log/messages I get this:
Jan 31 15:40:43 opus diskdrake[16130]: found mounted partition on sdb1 with /mnt/hd2
Jan 31 15:40:43 opus diskdrake[16130]: created directory /mnt/hd (and parents if necessary)
Jan 31 15:40:43 opus diskdrake[16130]: created directory /mnt/hd2 (and parents if necessary)
Jan 31 15:41:15 opus diskdrake[16130]: calling umount(/mnt/hd2)
Jan 31 15:41:17 opus diskdrake[16130]: calling umount(/mnt/hd)
Which explains where the /mnt folders came from.

After running diskdrake, doing nothing and quiting I get this:

Feb 4 22:03:57 opus diskdrake[8689]: test_for_bad_drives(/dev/sda)
Feb 4 22:03:57 opus diskdrake[8689]: found a dos partition table on /dev/sda at sector 0
Feb 4 22:03:57 opus diskdrake[8689]: test_for_bad_drives(/dev/sdb)
Feb 4 22:03:57 opus diskdrake[8689]: found a dos partition table on /dev/sdb at sector 0
Feb 4 22:03:57 opus diskdrake[8689]: RAID: found md0 (raid 0) type ext3 with parts /dev/sda1,/dev/sdb1
Is it a bad thing to have a dos partition table on a drive used for RAID?

Diskdrake says that
/dev/sda has a mount point of /mnt/hd and
/dev/sdb has a mount point of /mnt/hd2 and
When I created the RAID0 array I left the defaults for sda and sdb.

It seems to me that diskdrake has these mount points stored in a configuration file somewhere.
When I boot the system diskdrake reads the config and makes the appropriate changes, changes I do not need or want.

How can I get diskdrake to stop doing this.

TIA
 
Old 02-05-2005, 02:52 AM   #2
sgrayban
Member
 
Registered: Nov 2004
Location: Spokane, WA
Distribution: Debian 6.0
Posts: 369

Rep: Reputation: 30
scanning for new hardware does this for some reason and has been reported
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Entries in fstab? bigoli MEPIS 1 06-02-2005 02:18 PM
Remount using fstab entries keimdf Linux - Newbie 5 12-22-2004 06:48 AM
fstab file entries what do they mean? bgagnon SUSE / openSUSE 2 11-12-2004 02:23 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM
fstab entries for a storage drive Riichard Linux - Newbie 3 02-24-2004 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration