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
|