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

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Oct 14 2001 - 16:50:22 EST


On Sun, 14 Oct 2001, Andreas Gietl wrote:

> 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.

No, it shouldn't. HOWEVER, trees should be in sync (actually, there's
only one tree and only one superblock).

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

Please, post your /proc/mounts. Results of ls -l /dev/hda3 /dev/sda5
would also be very interesting.

-
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