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

Alexander Viro (viro@math.psu.edu)
Sun, 14 Oct 2001 17:50:22 -0400 (EDT)


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/