|
From: | Dorau, Lukasz |
Subject: | parted (v.2.3) does not create new /dev/ devices for newly created partitions (second and next) on RAID device |
Date: | Fri, 2 Sep 2011 12:39:37 +0000 |
Summary: parted (v.2.3) does not create new /dev/ devices for newly created partitions (second and next) on RAID device Novell's Bugzilla: #715695 https://bugzilla.novell.com/show_bug.cgi?id=715695 Details: I have RAID0 device (MD) on two phisical disks. I have created 3 primary partitions on it. There were all 3 partitions in the partition table, but only one new device appeared in /dev/ filesystem (only for the first of
these three partitions). There is no related information in syslog. Defect concerns parted v.2.3 (parted v.2.1 works fine). Hardware Platform: x86-64 Operating System: SUSE Linux Enterprise Server 11 SP2 (SLES 11 SP2) Beta 4 Reproducibility: Always Steps to Reproduce: 1. mdadm -C /dev/md/raid0 -amd -l0 -n 2 /dev/sdb /dev/sdc -R 2. parted -s /dev/md/raid0 mklabel msdos 3. parted -m /dev/md/raid0 unit MB mkpart primary 1 1788 4. parted -m /dev/md/raid0 unit MB mkpart primary 1789 3576 5. parted -m /dev/md/raid0 unit MB mkpart primary 3577 5364 Actual Results: There is only one new device created for the first partition: /dev/md/raid0p1 Expected Results: There should be 3 new devices created for all 3 new partitions: /dev/md/raid0p1 /dev/md/raid0p2 /dev/md/raid0p3 Additional info: -------------------------------------------- Log of issued commands and their output: -------------------------------------------- address@hidden $ cat /proc/mdstat Personalities : [raid0] md127 : active raid0 sdc[1] sdb[0] 976771072 blocks super 1.2 512k chunks unused devices: <none> address@hidden $ parted -s /dev/md/raid0 print
Model: Linux Software RAID Array (md) Disk /dev/md127: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags address@hidden $ cat /proc/partitions major minor #blocks name 8 16 488386584 sdb 8 0 488386584 sda 8 32 488386584 sdc 8 48 488386584 sdd 8 64 488386584 sde 8 80 244198584 sdf 8 81 20971520 sdf1 8 82 104857600 sdf2 8 83 20971520 sdf3 8 84 1 sdf4 8 85 4194304 sdf5 8 86 1024 sdf6 8 87 93199360 sdf7 9 127 976771072 md127 address@hidden $ parted -m /dev/md/raid0 unit MB mkpart primary 1 1788 address@hidden $ parted -s /dev/md/raid0 print Model: Linux Software RAID Array (md) Disk /dev/md127: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 1788MB 1787MB primary type=83 address@hidden $ cat /proc/partitions major minor #blocks name 8 16 488386584 sdb 8 0 488386584 sda 8 32 488386584 sdc 8 48 488386584 sdd 8 64 488386584 sde 8 80 244198584 sdf 8 81 20971520 sdf1 8 82 104857600 sdf2 8 83 20971520 sdf3 8 84 1 sdf4 8 85 4194304 sdf5 8 86 1024 sdf6 8 87 93199360 sdf7 9 127 976771072 md127 259 0 1744896 md127p1 address@hidden $ ll /dev/md/ total 0 lrwxrwxrwx 1 root root 8 Sep 2 11:05 raid0 -> ../md127 lrwxrwxrwx 1 root root 10 Sep 2 11:04 raid0p1 -> ../md127p1 address@hidden $ ll /dev/md127* brw-rw---- 1 root disk 9, 127 Sep 2 11:05 /dev/md127 brw-rw---- 1 root disk 259, 0 Sep 2 11:04 /dev/md127p1 address@hidden $ parted -m /dev/md/raid0 unit MB mkpart primary 1789 3576 address@hidden $ parted -s /dev/md/raid0 print Model: Linux Software RAID Array (md) Disk /dev/md127: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 1788MB 1787MB primary type=83 2 1789MB 3576MB 1787MB primary type=83 address@hidden $ cat /proc/partitions major minor #blocks name 8 16 488386584 sdb 8 0 488386584 sda 8 32 488386584 sdc 8 48 488386584 sdd 8 64 488386584 sde 8 80 244198584 sdf 8 81 20971520 sdf1 8 82 104857600 sdf2 8 83 20971520 sdf3 8 84 1 sdf4 8 85 4194304 sdf5 8 86 1024 sdf6 8 87 93199360 sdf7 9 127 976771072 md127 259 0 1744896 md127p1 address@hidden $ ll /dev/md/ total 0 lrwxrwxrwx 1 root root 8 Sep 2 11:05 raid0 -> ../md127 lrwxrwxrwx 1 root root 10 Sep 2 11:04 raid0p1 -> ../md127p1 address@hidden $ ll /dev/md127* brw-rw---- 1 root disk 9, 127 Sep 2 11:05 /dev/md127 brw-rw---- 1 root disk 259, 0 Sep 2 11:04 /dev/md127p1 address@hidden $ parted -m /dev/md/raid0 unit MB mkpart primary 3577 5364 address@hidden $ parted -s /dev/md/raid0 print Model: Linux Software RAID Array (md) Disk /dev/md127: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 1788MB 1787MB primary type=83 2 1789MB 3576MB 1787MB primary type=83 3 3577MB 5365MB 1788MB primary type=83 address@hidden $ cat /proc/partitions major minor #blocks name 8 16 488386584 sdb 8 0 488386584 sda 8 32 488386584 sdc 8 48 488386584 sdd 8 64 488386584 sde 8 80 244198584 sdf 8 81 20971520 sdf1 8 82 104857600 sdf2 8 83 20971520 sdf3 8 84 1 sdf4 8 85 4194304 sdf5 8 86 1024 sdf6 8 87 93199360 sdf7 9 127 976771072 md127 259 0 1744896 md127p1 address@hidden $ ll /dev/md/ total 0 lrwxrwxrwx 1 root root 8 Sep 2 11:05 raid0 -> ../md127 lrwxrwxrwx 1 root root 10 Sep 2 11:04 raid0p1 -> ../md127p1 address@hidden $ ll /dev/md127* brw-rw---- 1 root disk 9, 127 Sep 2 11:05 /dev/md127 brw-rw---- 1 root disk 259, 0 Sep 2 11:04 /dev/md127p1 Best regards, Lukasz Dorau --- Lukasz Dorau Software Engineer IGK PCG RSTe Linux Team Intel Technology Poland Sp. z o.o. ul. Slowackiego 173, 80-298 Gdansk Office: +48 58 766 1115 iNET: 8 348 1115 Intel Technology Poland sp. z o.o. z siedziba w Gdansku ul. Slowackiego 173 80-298 Gdansk Sad Rejonowy Gdansk Polnoc w Gdansku, VII Wydzial Gospodarczy Krajowego Rejestru Sadowego, numer KRS 101882 NIP 957-07-52-316 Kapital zakladowy 200.000 zl This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. |
[Prev in Thread] | Current Thread | [Next in Thread] |