Mailinglist Archive: opensuse-bugs (4216 mails)

< Previous Next >
[Bug 743717] New: fsck.*: Invalid argument while trying to open /dev/md/*
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 27 Jan 2012 02:16:11 +0000
  • Message-id: <bug-743717-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=743717

https://bugzilla.novell.com/show_bug.cgi?id=743717#c0


Summary: fsck.*: Invalid argument while trying to open
/dev/md/*
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Installation
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: ray@xxxxxxxxxxx
QAContact: jsrain@xxxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML,
like Gecko) Chrome/16.0.912.77 Safari/535.7

I recently installed openSUSE 12.1 and found that fsck.* is unable to open an
md device(s) during the boot. It did not happen every time, it was about 1/4 of
all boots but it did happen (and stop the system start).

I start digging into the detail what is going wrong there and I found hat udev
has some scripts for creating /dev/md/* devices (symlinks). I also found that
openSUSE 12.1 installer created following /etc/mdadm.conf file:

DEVICE containers partitions
ARRAY /dev/md/1 UUID=7d6b05f2:c4ca4c78:aac6bf1b:9da6b8ef
ARRAY /dev/md/2 UUID=003589a4:9aa5e883:41cb207e:8a8c8541
ARRAY /dev/md/3 UUID=b9a9b25d:215c7531:0916e080:b9e2b338

My previous setup was using openSUSE 11.3 (btw worked great) and
/etc/mdadm.conf has been using /dev/md* devices (not devices created by udev)
so I changed the setup to:

ARRAY /dev/md1 UUID=7d6b05f2:c4ca4c78:aac6bf1b:9da6b8ef
ARRAY /dev/md2 UUID=003589a4:9aa5e883:41cb207e:8a8c8541
ARRAY /dev/md3 UUID=b9a9b25d:215c7531:0916e080:b9e2b338

And problem is finally gone! I guess it was failing in cases when udev created
/dev/md/* devices (symlinks) too late and then fsck failed of course.

This is critical problem I think and should be corrected (in installer and
maybe in Yast?) in next release.


Reproducible: Sometimes

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >