lkml.org 
[lkml]   [2001]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fs mounted twice, writing to wrong partition with 3ware escalade ide-raid


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/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:2.041 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site