fs mounted twice, writing to wrong partition with 3ware escalade ide-raid

From: Andreas Gietl (a.gietl@e-admin.de)
Date: Sun Oct 14 2001 - 13:57:59 EST


Hi,

i've got a problem on our new SMP machine with IDE-Raid and kernel 2.4.9
that's giving me a terrible headache.

Our configuration:

2 WD drives in the raid1 array
1 Maxtor drive on normal ide

mystery #1:

I can mount a ext2 filesystem twice without any errors. The two filesystems
contain different data and changes to the second mount don't affect the
first mount. Strange!

Here is a snippet from console with /dev/sda5 mounted twice:

/dev/sda5 / ext2 rw,usrquota,grpquota 0 0
none /proc proc rw 0 0
/dev/sda7 /opt/root ext2 rw,usrquota,grpquota 0 0
/dev/sda6 /var ext2 rw,usrquota,grpquota 0 0
/dev/sda1 /boot ext2 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda5 /mnt ext2 rw 0 0

a strace on the mount command shows that the syscall mount is executed w/o
error.

mount("/dev/sda5", "/mnt/", "ext2", 0xc0ed0000, 0) = 0

As far as i know it should return EBUSY on a fs that is already mounted.

Second mystery:

the mounted /dev/hda3 contains the same data as /dev/sda5 and changes to one
of them affect both partitions.

I'm not sure wether this is a kernel issue or a escalade firmware issue but
perhaps one of you had that problem too and knows a solution.

Thank you

andreas

-- 
e-admin internet gmbh
Andreas Gietl
Roter-Brach-Weg 124a
tel +49 941 3810884
fax +49 941 3810891
mobil +49 171 6070008
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:55 EST