Re: Partitions not recognized when auto-assembling array in initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Laurent Pinchart,

In message <201012281250.20838.laurent.pinchart@xxxxxxxxxxxxxxxx> you wrote:
> 
> > If you are using udev, then something strange is happening.
> > 
> > If you aren't using udev, then you need to have something open /dev/md/vol0
> > after mdadm assembles it and before you try to mount it.
> 
> I'm using mdev, the embedded udev replacement from busybox. I suppose it 
> doesn't open the array.
> 
> Would it make sense to have mdadm open the array after assembling it, or is 
> that udev's job only ?

You may want to read the comments for this Fedora bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=597300

It appears that in my case the problem was caused by the drives being
used in a different setup before.  I just today found how I could work
around this issue in the Fedora ramdisk setup - maybe you use
something similar.

Now that I know what I have to look for I also understand why another
array has similar issues: here I see

	# blkid -o udev -p /dev/sdd
	ID_FS_TYPE=hpt45x_raid_member
	ID_FS_USAGE=raid

for one of the disks.  Does anybody know how to get rid of such
signatures as the "hpt45x_raid_member" here (without disturbin any
other data on the drive) ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@xxxxxxx
"It is easier to port a shell than a shell script."      - Larry Wall
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux