Moin,

seit heute bin ich stolzer Besitzer eines RAID-1. Ich habe mich IMHO
recht gut an die RAID-HOWTO^1 gehalten.  Auf der letzten Seite
"Partitioning RAID / LVM on RAID"^2 finde ich folgenden Satz:

A RAID device can only be partitioned if it was created with an
--auto option given to the mdadm tool. This option is not well
documented, but here is a working example that would result in a
partitionable device made of two disks -- sda and sdb:

mdadm --create --auto=mdp --verbose /dev/md_d0 --level=mirror
--raid-devices=2 /dev/sda /dev/sdb

Habe ich natürlich nicht gemacht. Trotzdem ließ sich mein /dev/md0
mittels fdisk in Partitionen zergliedern. In mdadm(8) steht außerdem:

       -a, --auto{=yes,md,mdp,part,p}{NN}
              Instruct mdadm how to create the device file if needed, possibly
              allocating an unused minor number.  "md" causes a non-partition-
              able array to be used (though since Linux  2.6.28, these  array
              devices are in fact partitionable).  "mdp", "part" or "p" causes
              a partitionable  array  (2.6  and  later)  to  be used. "yes"
              requires  the  named  md device to have a 'standard' format, and
              the type and minor number will be determined  from this. With
              mdadm  3.0,  device creation is normally left up to udev so this
              option is unlikely to be needed.  See DEVICE NAMES below.

              If --auto is not given on the command  line  or  in the  config
              file, then the default will be --auto=yes.

Jetzt versteh ich gar nichts mehr. Hat die Option jetzt einen Einfluß
auf die Partitionierbarkeit oder nicht?  Ich verstehe das so, daß nur
auf das Naming der Devices Einfluß genommen wird (außer Fall md), was
mir ziemlich egal ist.

Bitte um Aufklärung!

H.

^1 https://raid.wiki.kernel.org/index.php/Linux_Raid
^2 https://raid.wiki.kernel.org/index.php/Partitioning_RAID_/_LVM_on_RAID
-- 
In Corning, Iowa, it's a misdemeanor for a man to ask his wife to ride
in any motor vehicle.
  http://www.hilmar-preusse.de.vu/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Lug-dd maillist  -  Lug-dd@mailman.schlittermann.de
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an