On Mon, Apr 20, 2009 at 02:49:48PM -0500, Leslie Rhorer wrote:
> mdadm --create /dev/md/foo --metadata 1.0 --level .....
>
> This will store the name 'foo' in the metadata and when you assemble
> the array, it will be called /dev/md/foo.
> This will be a symlink to /dev/md125 or something like that, but you
> don't need to care.
Does this really work with mdadm 2.6.7.1?
Because I have this from "--examine --scan"
ARRAY /dev/md/boot level=raid1 metadata=1.0 num-devices=2
UUID=edb4254d:4274fac1:dd6cad61:a8e3c347 name=boot
Um, this is slightly odd, but when I use --examine --scan on my array, it
returns nothing. If I run it on an element of the array I get:
--examine should be run on component device
ie. mdadm --examine /dev/sda
using --scan will make it examine all devices matching the DEVICE line
in mdadm.conf (or all device if mdadm.conf does not exist)
--detail should be run on an array
ie. mdadm --detail /dev/md0
ARRAY /dev/md0 level=raid6 num-devices=10
UUID=5a53eeb8:4d87963b:4cb502e9:37bde716
'Nothing about the metadata or the array name.
this is because you are using 0.90 metadata and did never set a name on
the device...
L.
--
Luca Berra -- bluca@xxxxxxxxxx
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
--
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