Re: mdadm file system type check

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

 



On Sat, 2007-03-17 at 12:30 +1100, Neil Brown wrote:
> 
> It would be very awkward for mdadm to get at the partition type
> information. 
> And there is very little software that actually cares.  mdadm
> certainly doesn't care what the partition type is.

I got it reversed. :) There was an error when the file system was not
linux auto raid. More on that below.

> I don't understand why you would have to 'start over'.  If you
> discover that the partition type isn't what you want for some reason,
> just change it.

It might have been that simple, it was quite some time ago. But it was a
memorable event since it stuck in my head as one of the things to check
when having problems with mdadm. But obviously not a clear memory.

> This is the right place, thanks.

Good to know ;)

> But maybe I don't really understand what the problem is.
> Could you give more details?  Exactly what didn't work the way you
> expected it to?

Instead of passing along an interpretation, here are some IRC log
snippets that pertain from #gentoo-dev @ freenode.net

kingtaco|work: livecd ~ # mdadm --create --level=1 --raid-devices=2 /dev/md0 /dev/sda1 /dev/sdb1
kingtaco|work: mdadm: /dev/sda1 is too small: 0K
kingtaco|work: mdadm: create aborted

Now despite suggesting it pretty early on, it took a bit of time to
realize that error was existing only because of file system type. Once
he realized the problem and changed fs type. All was well, and he was
able to create the arrays and move on.

kingtaco|work: wltjr, see, raidtools would have let me create an array eventhough the type wasn't fs
kingtaco|work: er, fd
kingtaco|work: mdadm just isn't that smart
kingtaco|work: (and that fixed it)

So ot to sure about the error or why they would get that just because of
file system type.

-- 
William L. Thomson Jr.
Gentoo/Java

Attachment: signature.asc
Description: This is a digitally signed message part


[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