partycje na /dev/md0

Paweł Lęcznar maillistpld w gmail.com
Śro, 12 Lut 2014, 20:26:54 CET


witam, bootuje system z rescuecd i jest tak:

[root w rescue ~]# modprobe sd-mod
[root w rescue ~]# mdadm -A /dev/md0 /dev/sda /dev/sdb
mdadm: /dev/md0 has been started with 2 drives.
[root w rescue ~]# mkdir /pldroot
[root w rescue ~]# mount /dev/md0p1 /pldroot/
mount: special device /dev/md0p1 does not exist
[root w rescue ~]# fdisk -l

Disk /dev/md0: 21.5 GB, 21474770944 bytes
2 heads, 4 sectors/track, 5242864 cylinders, total 41942912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21faa2fa

    Device Boot      Start         End      Blocks   Id  System
/dev/md0p1   *        1952    37111327    18554688   83  Linux
/dev/md0p2        37111328    41942911     2415792   82  Linux swap /
Solaris

Disk /dev/sda: 21.5 GB, 21474836480 bytes
2 heads, 4 sectors/track, 5242880 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21faa2fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        1952    37111327    18554688   83  Linux
/dev/sda2        37111328    41942911     2415792   82  Linux swap / Solaris

Disk /dev/sdb: 21.5 GB, 21474836480 bytes
2 heads, 4 sectors/track, 5242880 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21faa2fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        1952    37111327    18554688   83  Linux
/dev/sdb2        37111328    41942911     2415792   82  Linux swap / Solaris
[root w rescue ~]# mount /dev/md0p1 /pldroot/
[root w rescue ~]#

moje pytanie brzmi, dlaczego tuż po uruchomieniu md0 na sda i sdb nie są
widoczne partycje md0p1 i md0p2? dopiero jak się wywoła np fdisk -l
automagicznie partycje na md0 są widoczne...

pozdrawiam


Więcej informacji o liście pld-users-pl