Re: mdadm 3.0.3 bug report

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

 



On Mon, Nov 9, 2009 at 8:43 AM, Jon Nelson
<jnelson-linux-raid@xxxxxxxxxxx> wrote:
> I tried to create a raid thusly:
> mdadm --create /dev/md3 --level=10 --layout=f2 --metadata=ddf
> --raid-devices=2 --assume-clean /dev/sdc1 missing
> and while I got a non-zero exit code (1), I did not get an error
> message or any other indication of failure.
>
> The misfeature is that I expected some sort of message.

Yes, there should be a message that points out that the external
metadata formats ('ddf' and 'imsm') require a container to be created
first and then raid volumes are carved out of that container.  The
mdmon man page has a little blurb on containers.  The 'missing' option
is currently not supported for creating containers so you would need
to modify this to something like:

mdadm --create /dev/md/ddf -e ddf /dev/sdc /dev/sdX -n 2
mdadm --create /dev/md/volume0 /dev/md/ddf --level=10 --layout=f2

--
Dan
--
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