mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Gietl <a.gietl@e-admin.de>
To: linux-kernel@vger.kernel.org
Cc: Krämer <kraemer@crasu.de>, Kühne <kuehne@power-netz.de>
Subject: fs mounted twice, writing to wrong partition with 3ware escalade ide-raid
Date: Sun, 14 Oct 2001 20:57:59 +0200	[thread overview]
Message-ID: <E15sqSI-0008P9-00@d101.x-mailer.de> (raw)

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

             reply	other threads:[~2001-10-14 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 18:57 Andreas Gietl [this message]
2001-10-14 21:50 ` Alexander Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E15sqSI-0008P9-00@d101.x-mailer.de \
    --to=a.gietl@e-admin.de \
    --cc=kraemer@crasu.de \
    --cc=kuehne@power-netz.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®