Bug#598721: mdadm: internal bitmap uses way too large chunks

Paul Slootman paul at debian.org
Fri Oct 1 11:53:13 UTC 2010


Package: mdadm
Version: 3.1.4-1+8efb9d1
Severity: important

I noticed that when adding internal bitmaps to md devices,
that the chunks used were far too large:

root at corky:/home/paul# cat /proc/mdstat 
Personalities : [raid1] 
md4 : active raid1 sdb5[0] sdc5[1]
      587202560 blocks [2/2] [UU]
      bitmap: 2/5 pages [8KB], 65536KB chunk

md3 : active raid1 sdc3[2](W) sda3[0] sdb3[1](W)
      10485696 blocks [3/3] [UUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sdb2[0] sdc2[1]
      4194240 blocks [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md1 : active raid1 sdc1[2](W) sda1[0] sdb1[1](W)
      213120 blocks [3/3] [UUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>


I mean, using 64M chunks on an md device that's just 208MB is silly.

After downgrading to mdadm 3.0.3:

root at corky:/home/paul# mdadm --grow --bitmap=none /dev/md1
root at corky:/home/paul# cat /proc/mdstat
Personalities : [raid1]
md4 : active raid1 sdb5[0] sdc5[1]
      587202560 blocks [2/2] [UU]
      bitmap: 3/5 pages [12KB], 65536KB chunk

md3 : active raid1 sdc3[2](W) sda3[0] sdb3[1](W)
      10485696 blocks [3/3] [UUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sdb2[0] sdc2[1]
      4194240 blocks [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md1 : active raid1 sdc1[2](W) sda1[0] sdb1[1](W)
      213120 blocks [3/3] [UUU]
                       
unused devices: <none> 
root at corky:/home/paul# mdadm --grow --bitmap=internal /dev/md1
root at corky:/home/paul# cat /proc/mdstat
Personalities : [raid1]
md4 : active raid1 sdb5[0] sdc5[1]
      587202560 blocks [2/2] [UU]
      bitmap: 2/5 pages [8KB], 65536KB chunk

md3 : active raid1 sdc3[2](W) sda3[0] sdb3[1](W)
      10485696 blocks [3/3] [UUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk
                       
md2 : active raid1 sdb2[0] sdc2[1]
      4194240 blocks [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk
                       
md1 : active raid1 sdc1[2](W) sda1[0] sdb1[1](W)
      213120 blocks [3/3] [UUU]
      bitmap: 27/27 pages [108KB], 4KB chunk
                       
unused devices: <none> 


Now it's using a much more sensible chunk size.

I suspect somewhere the calculation of optimal chunk size is failing
and defaulting to the largest allowed.


Thanks,
Paul



-- Package-specific info:

--- mount output
/dev/md3 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/vg0-var on /var type ext4 (rw)
/dev/mapper/vg0-vservers on /var/lib/vservers type ext4 (rw,tag,notagcheck,errors=remount-ro)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
/dev/md1 on /boot type ext2 (rw,noatime)
none on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755)
/var/lib/vservers/web1/var/www/home/paul on /home/paul/public_html type none (rw,bind)

--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md1 UUID=b9c2a8c1:93fec564:df67d46a:a745aad2
ARRAY /dev/md2 UUID=d87298dd:80608dd0:df67d46a:a745aad2
ARRAY /dev/md3 UUID=c998ce4c:0d34a6ac:df67d46a:a745aad2
ARRAY /dev/md4 UUID=bf714a5c:3a1cb581:df67d46a:a745aad2

# This file was auto-generated on Sun, 29 Aug 2010 15:31:12 +0200
# by mkconf 3.1.2-2.1

--- /proc/mdstat:
Personalities : [raid1] 
md4 : active raid1 sdb5[0] sdc5[1]
      587202560 blocks [2/2] [UU]
      bitmap: 3/5 pages [12KB], 65536KB chunk

md3 : active raid1 sdc3[2](W) sda3[0] sdb3[1](W)
      10485696 blocks [3/3] [UUU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md2 : active raid1 sdb2[0] sdc2[1]
      4194240 blocks [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md1 : active raid1 sdc1[2](W) sda1[0] sdb1[1](W)
      213120 blocks [3/3] [UUU]
      bitmap: 0/27 pages [0KB], 4KB chunk

unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8       32 1465138584 sdc
   8       33     213220 sdc1
   8       34    4194304 sdc2
   8       35   10485760 sdc3
   8       36          1 sdc4
   8       37  629145600 sdc5
   8       38  821097624 sdc6
   8       16 1465138584 sdb
   8       17     213220 sdb1
   8       18    4194304 sdb2
   8       19   10485760 sdb3
   8       20          1 sdb4
   8       21  629145600 sdb5
   8       22  821097624 sdb6
   8        0   78150744 sda
   8        1     213220 sda1
   8        3   10485760 sda3
   8        4   67451736 sda4
   9        1     213120 md1
   9        2    4194240 md2
   9        3   10485696 md3
   9        4  587202560 md4
 253        0   10485760 dm-0
 253        1  524288000 dm-1

--- initrd.img-2.6.32-5-vserver-amd64:
17674 blocks
fd7ccaaaaa1e3e462e74e161bb8a31f1  ./etc/mdadm/mdadm.conf
7966ccb72128e7a86d09b7c3b5df7557  ./sbin/mdadm
6b782ae76f866914ec236b2d14b43f24  ./scripts/local-top/mdadm
9e20588860bf64b277cded9f017c912e  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/raid6_pq.ko
6f0263b721786d51e5a11d13a9975ad4  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/dm-mod.ko
cfeb0babbe6df8fad84a9c936009e847  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/dm-mirror.ko
8bb293de41e5b5e2a3f42f13768ee39b  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/linear.ko
2cca019844807432877b2f5f0523a4ca  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/dm-snapshot.ko
719dfd2072404ae93a1673c5afeb16be  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/raid456.ko
1961becb3467fcf5bf3c1057d373cabb  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/dm-region-hash.ko
020a3c0d0cd25405c2a93bc2cccab98a  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/dm-log.ko
49190d078113d1909b5474609c0332ca  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/raid1.ko
8b354c4263a231651d39140a76c9157c  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/md-mod.ko
bd14a15cfd5a13d7f56582ed3f85b867  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/multipath.ko
43ca4005e456ce8e8290e8b32c80f168  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/raid0.ko
9602b7f6e08bd047066de54e963f5782  ./lib/modules/2.6.32-5-vserver-amd64/kernel/drivers/md/raid10.ko

--- /proc/modules:
dm_mod 54368 6 - Live 0xffffffffa009e000
raid1 18175 4 - Live 0xffffffffa006e000
md_mod 73776 4 raid1, Live 0xffffffffa0089000

--- /var/log/syslog:

--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b9c2a8c1:93fec564:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:06:11 2010
     Raid Level : raid1
  Used Dev Size : 213120 (208.16 MiB 218.23 MB)
     Array Size : 213120 (208.16 MiB 218.23 MB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1

    Update Time : Fri Oct  1 13:40:47 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 16bda82a - correct
         Events : 182


      Number   Major   Minor   RaidDevice State
this     0       8        1        0      active sync   /dev/sda1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync write-mostly   /dev/sdb1
   2     2       8       33        2      active sync write-mostly   /dev/sdc1
--
/dev/sda3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : c998ce4c:0d34a6ac:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:09:21 2010
     Raid Level : raid1
  Used Dev Size : 10485696 (10.00 GiB 10.74 GB)
     Array Size : 10485696 (10.00 GiB 10.74 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 3

    Update Time : Fri Oct  1 13:48:12 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : a0667245 - correct
         Events : 376


      Number   Major   Minor   RaidDevice State
this     0       8        3        0      active sync   /dev/sda3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync write-mostly   /dev/sdb3
   2     2       8       35        2      active sync write-mostly   /dev/sdc3
--
/dev/sda4 is not recognised by mdadm.
/dev/sdb:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 587202560 (560.00 GiB 601.30 GB)
     Array Size : 587202560 (560.00 GiB 601.30 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Thu Sep 30 18:25:19 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : e5865817 - correct
         Events : 14714


      Number   Major   Minor   RaidDevice State
this     0       8       20        0      active sync   /dev/sdb4

   0     0       8       20        0      active sync   /dev/sdb4
   1     1       8       37        1      active sync   /dev/sdc5
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b9c2a8c1:93fec564:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:06:11 2010
     Raid Level : raid1
  Used Dev Size : 213120 (208.16 MiB 218.23 MB)
     Array Size : 213120 (208.16 MiB 218.23 MB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1

    Update Time : Fri Oct  1 13:40:47 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 16bdaa3c - correct
         Events : 182


      Number   Major   Minor   RaidDevice State
this     1       8       17        1      active sync write-mostly   /dev/sdb1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync write-mostly   /dev/sdb1
   2     2       8       33        2      active sync write-mostly   /dev/sdc1
--
/dev/sdb2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : d87298dd:80608dd0:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:08:41 2010
     Raid Level : raid1
  Used Dev Size : 4194240 (4.00 GiB 4.29 GB)
     Array Size : 4194240 (4.00 GiB 4.29 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Fri Oct  1 13:39:45 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 220c1b87 - correct
         Events : 86


      Number   Major   Minor   RaidDevice State
this     0       8       18        0      active sync   /dev/sdb2

   0     0       8       18        0      active sync   /dev/sdb2
   1     1       8       34        1      active sync   /dev/sdc2
--
/dev/sdb3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : c998ce4c:0d34a6ac:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:09:21 2010
     Raid Level : raid1
  Used Dev Size : 10485696 (10.00 GiB 10.74 GB)
     Array Size : 10485696 (10.00 GiB 10.74 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 3

    Update Time : Fri Oct  1 13:48:12 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : a0667457 - correct
         Events : 376


      Number   Major   Minor   RaidDevice State
this     1       8       19        1      active sync write-mostly   /dev/sdb3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync write-mostly   /dev/sdb3
   2     2       8       35        2      active sync write-mostly   /dev/sdc3
--
/dev/sdb4 is not recognised by mdadm.
/dev/sdb5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 587202560 (560.00 GiB 601.30 GB)
     Array Size : 587202560 (560.00 GiB 601.30 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Fri Oct  1 13:50:38 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : e58795a8 - correct
         Events : 20274


      Number   Major   Minor   RaidDevice State
this     0       8       21        0      active sync   /dev/sdb5

   0     0       8       21        0      active sync   /dev/sdb5
   1     1       8       37        1      active sync   /dev/sdc5
--
/dev/sdb6:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 587202560 (560.00 GiB 601.30 GB)
     Array Size : 587202560 (560.00 GiB 601.30 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Thu Sep 30 18:25:19 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : e5865817 - correct
         Events : 14714


      Number   Major   Minor   RaidDevice State
this     0       8       20        0      active sync   /dev/sdb4

   0     0       8       20        0      active sync   /dev/sdb4
   1     1       8       37        1      active sync   /dev/sdc5
--
/dev/sdc:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 1450245184 (1383.06 GiB 1485.05 GB)
     Array Size : 1450245184 (1383.06 GiB 1485.05 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Thu Sep 30 15:16:49 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 18f6fe6f - correct
         Events : 9236


      Number   Major   Minor   RaidDevice State
this     1       8       36        1      active sync   /dev/sdc4

   0     0       8       20        0      active sync   /dev/sdb4
   1     1       8       36        1      active sync   /dev/sdc4
--
/dev/sdc1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : b9c2a8c1:93fec564:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:06:11 2010
     Raid Level : raid1
  Used Dev Size : 213120 (208.16 MiB 218.23 MB)
     Array Size : 213120 (208.16 MiB 218.23 MB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1

    Update Time : Fri Oct  1 13:40:47 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 16bdaa4e - correct
         Events : 182


      Number   Major   Minor   RaidDevice State
this     2       8       33        2      active sync write-mostly   /dev/sdc1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync write-mostly   /dev/sdb1
   2     2       8       33        2      active sync write-mostly   /dev/sdc1
--
/dev/sdc2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : d87298dd:80608dd0:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:08:41 2010
     Raid Level : raid1
  Used Dev Size : 4194240 (4.00 GiB 4.29 GB)
     Array Size : 4194240 (4.00 GiB 4.29 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Fri Oct  1 13:39:45 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 220c1b99 - correct
         Events : 86


      Number   Major   Minor   RaidDevice State
this     1       8       34        1      active sync   /dev/sdc2

   0     0       8       18        0      active sync   /dev/sdb2
   1     1       8       34        1      active sync   /dev/sdc2
--
/dev/sdc3:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : c998ce4c:0d34a6ac:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:09:21 2010
     Raid Level : raid1
  Used Dev Size : 10485696 (10.00 GiB 10.74 GB)
     Array Size : 10485696 (10.00 GiB 10.74 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 3

    Update Time : Fri Oct  1 13:48:12 2010
          State : clean
Internal Bitmap : present
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0
       Checksum : a0667469 - correct
         Events : 376


      Number   Major   Minor   RaidDevice State
this     2       8       35        2      active sync write-mostly   /dev/sdc3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync write-mostly   /dev/sdb3
   2     2       8       35        2      active sync write-mostly   /dev/sdc3
--
/dev/sdc4 is not recognised by mdadm.
/dev/sdc5:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 587202560 (560.00 GiB 601.30 GB)
     Array Size : 587202560 (560.00 GiB 601.30 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Fri Oct  1 13:50:38 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : e58795ba - correct
         Events : 20274


      Number   Major   Minor   RaidDevice State
this     1       8       37        1      active sync   /dev/sdc5

   0     0       8       21        0      active sync   /dev/sdb5
   1     1       8       37        1      active sync   /dev/sdc5
--
/dev/sdc6:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : bf714a5c:3a1cb581:df67d46a:a745aad2 (local to host corky)
  Creation Time : Sun Aug 29 15:10:19 2010
     Raid Level : raid1
  Used Dev Size : 1450245184 (1383.06 GiB 1485.05 GB)
     Array Size : 1450245184 (1383.06 GiB 1485.05 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Thu Sep 30 15:16:49 2010
          State : clean
Internal Bitmap : present
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 18f6fe6f - correct
         Events : 9236


      Number   Major   Minor   RaidDevice State
this     1       8       36        1      active sync   /dev/sdc4

   0     0       8       20        0      active sync   /dev/sdb4
   1     1       8       36        1      active sync   /dev/sdc4
--

--- /proc/cmdline
root=/dev/md3 ro vga=normal console=tty0 console=ttyS0,115200 

--- grub legacy:
kernel		/vmlinuz-2.6.32-5-vserver-amd64 root=/dev/md3 ro vga=normal console=tty0 console=ttyS0,115200 
kernel		/vmlinuz-2.6.32-5-vserver-amd64 root=/dev/md3 ro vga=normal console=tty0 console=ttyS0,115200 single

--- udev:
ii  udev           160-1          /dev/ and hotplug management daemon
4a574fcd059040d33ea18a8aa605a184  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---- 1 root disk 9, 1 Oct  1 13:39 /dev/md1
brw-rw---- 1 root disk 9, 2 Oct  1 13:39 /dev/md2
brw-rw---- 1 root disk 9, 3 Oct  1 13:39 /dev/md3
brw-rw---- 1 root disk 9, 4 Oct  1 13:39 /dev/md4

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Aug 29 18:54 ata-INTEL_SSDSA2M080G2GC_CVPO94360039080BGN -> ../../sda
lrwxrwxrwx 1 root root 10 Oct  1 13:40 ata-INTEL_SSDSA2M080G2GC_CVPO94360039080BGN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 29 18:54 ata-INTEL_SSDSA2M080G2GC_CVPO94360039080BGN-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 31 18:52 ata-INTEL_SSDSA2M080G2GC_CVPO94360039080BGN-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Sep 30 18:27 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  1 13:40 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 30 18:27 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Sep 30 18:27 ata-SAMSUNG_HD154UI_S1XWJ1KZ116980-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Sep 30 18:25 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct  1 13:40 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Sep 30 15:21 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 10 Sep 30 15:21 ata-WDC_WD15EADS-00P8B0_WD-WMAVU0536965-part6 -> ../../sdc6
lrwxrwxrwx 1 root root 10 Aug 29 18:54 dm-name-vg0-var -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug 31 18:52 dm-name-vg0-vservers -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug 29 18:54 dm-uuid-LVM-UYszOb411SaMX1yZ0uVZNjQvSm6tNwbfRqm1LmsdrnlwiG9Cim4oyAYqIm3k0QpH -> ../../dm-0
lrwxrwxrwx 1 root root 10 Aug 31 18:52 dm-uuid-LVM-UYszOb411SaMX1yZ0uVZNjQvSm6tNwbfUMYg8lVuxDHzRCYCrrX8Byc390P56FKG -> ../../dm-1
lrwxrwxrwx 1 root root  9 Oct  1 13:39 md-uuid-b9c2a8c1:93fec564:df67d46a:a745aad2 -> ../../md1
lrwxrwxrwx 1 root root  9 Oct  1 13:39 md-uuid-bf714a5c:3a1cb581:df67d46a:a745aad2 -> ../../md4
lrwxrwxrwx 1 root root  9 Oct  1 13:39 md-uuid-c998ce4c:0d34a6ac:df67d46a:a745aad2 -> ../../md3
lrwxrwxrwx 1 root root  9 Oct  1 13:39 md-uuid-d87298dd:80608dd0:df67d46a:a745aad2 -> ../../md2
lrwxrwxrwx 1 root root  9 Aug 29 18:54 scsi-SATA_INTEL_SSDSA2M08CVPO94360039080BGN -> ../../sda
lrwxrwxrwx 1 root root 10 Oct  1 13:40 scsi-SATA_INTEL_SSDSA2M08CVPO94360039080BGN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 29 18:54 scsi-SATA_INTEL_SSDSA2M08CVPO94360039080BGN-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 31 18:52 scsi-SATA_INTEL_SSDSA2M08CVPO94360039080BGN-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Sep 30 18:27 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  1 13:40 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 30 18:27 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Sep 30 18:27 scsi-SATA_SAMSUNG_HD154UIS1XWJ1KZ116980-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Sep 30 18:25 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct  1 13:40 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Sep 30 15:21 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 10 Sep 30 15:21 scsi-SATA_WDC_WD15EADS-00_WD-WMAVU0536965-part6 -> ../../sdc6
lrwxrwxrwx 1 root root  9 Sep 30 18:25 wwn-0x50014ee0ac575bb8 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct  1 13:40 wwn-0x50014ee0ac575bb8-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 wwn-0x50014ee0ac575bb8-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 wwn-0x50014ee0ac575bb8-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Sep 30 15:21 wwn-0x50014ee0ac575bb8-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 wwn-0x50014ee0ac575bb8-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 10 Sep 30 15:21 wwn-0x50014ee0ac575bb8-part6 -> ../../sdc6
lrwxrwxrwx 1 root root  9 Aug 29 18:54 wwn-0x50015179590d2da6 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct  1 13:40 wwn-0x50015179590d2da6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 29 18:54 wwn-0x50015179590d2da6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 31 18:52 wwn-0x50015179590d2da6-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Sep 30 18:27 wwn-0x50024e9002de5dbe -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  1 13:40 wwn-0x50024e9002de5dbe-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 wwn-0x50024e9002de5dbe-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 wwn-0x50024e9002de5dbe-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 30 18:27 wwn-0x50024e9002de5dbe-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 wwn-0x50024e9002de5dbe-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Sep 30 18:27 wwn-0x50024e9002de5dbe-part6 -> ../../sdb6

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root  9 Oct  1 13:39 root -> ../../md3
lrwxrwxrwx 1 root root 10 Aug 29 18:54 var -> ../../dm-0

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Aug 29 18:54 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct  1 13:40 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 29 18:54 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 31 18:52 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Sep 30 18:27 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  1 13:40 pci-0000:00:1f.2-scsi-1:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 pci-0000:00:1f.2-scsi-1:0:0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 pci-0000:00:1f.2-scsi-1:0:0:0-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 30 18:27 pci-0000:00:1f.2-scsi-1:0:0:0-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 pci-0000:00:1f.2-scsi-1:0:0:0-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Sep 30 18:27 pci-0000:00:1f.2-scsi-1:0:0:0-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Sep 30 18:25 pci-0000:00:1f.2-scsi-2:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Oct  1 13:40 pci-0000:00:1f.2-scsi-2:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Aug 30 22:14 pci-0000:00:1f.2-scsi-2:0:0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Aug 29 18:54 pci-0000:00:1f.2-scsi-2:0:0:0-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Sep 30 15:21 pci-0000:00:1f.2-scsi-2:0:0:0-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 10 Sep 30 21:37 pci-0000:00:1f.2-scsi-2:0:0:0-part5 -> ../../sdc5
lrwxrwxrwx 1 root root 10 Sep 30 15:21 pci-0000:00:1f.2-scsi-2:0:0:0-part6 -> ../../sdc6

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Aug 29 18:54 003d02b5-b6c9-40e0-acba-4cae5f095391 -> ../../dm-0
lrwxrwxrwx 1 root root  9 Oct  1 13:39 3c954068-1ea5-4745-b3af-f8c66e6b4116 -> ../../md1
lrwxrwxrwx 1 root root  9 Oct  1 13:39 9025ce38-f16b-4c7a-b5f1-5c8653e5121f -> ../../md2
lrwxrwxrwx 1 root root  9 Oct  1 13:39 ddb7e876-8bac-4d33-b505-bd3b736d848a -> ../../md3

/dev/md:
total 0





More information about the pkg-mdadm-devel mailing list