Bug#787950: mdadm: checkarray don't work whit dash

Guillermo Reisch guillere at adinet.com.uy
Sat Jun 6 19:48:41 UTC 2015


Package: mdadm
Version: 3.3.2-5
Severity: normal
Tags: patch

I have dash installed in my system ; DASH put itself as symlink to /bin/sh
when try to run "checkarray md127" no information is displayed and no
no error is displayed...
I check the script and DIE in line 145:
###  read cur_status < $MDBASE/sync_action 
in this line DASH DIE and no error is displayed

I check anothers SHELLs and only work BASH

csh /usr/share/mdadm/checkarray md127
set: Variable name must begin with a letter.
# DIE in "set -eu"  # line 8

busybox sh /usr/share/mdadm/checkarray md127
# DONT WORK... # no info or error displayed

dash /usr/share/mdadm/checkarray md127
# DONT WORK... # no info or error displayed

ash /usr/share/mdadm/checkarray md127
# DONT WORK... # no info or error displayed

zsh /usr/share/mdadm/checkarray md127
/usr/share/mdadm/checkarray:61: read-only variable: status

Is checkarray POSIX 2 shell script compatible?
I don't know if all this shells are posix.2 compatibles but only work with
bash is not sow good, at least should work whit busybox to mdadm work
in embebed systems (ergo some NAS)

I supply a patch!
This change #!/bin/sh  =>  #!/bin/bash ; at the start of the script
Its a work around but NOW checkarray only work in bash sow.... its OK

SORY MY BAD INGLES :-(
Greetings Guillermo Reisch


-- Package-specific info:
--- mdadm.conf
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root

--- /etc/default/mdadm
INITRDSTART='all'
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid1] [raid6] [raid5] [raid4] 
md126 : active raid5 sda2[2] sdb2[0] sdc2[3]
      1951479808 blocks super 1.2 level 5, 512k chunk, algorithm 5 [3/3] [UUU]
      bitmap: 3/8 pages [12KB], 65536KB chunk

md127 : active raid1 sda1[4] sdb1[0] sdc1[3]
      889280 blocks super 1.2 [3/3] [UUU]
      
unused devices: <none>

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

   2        0          4 fd0
   8       32  976762584 sdc
   8       33     889856 sdc1
   8       34  975870976 sdc2
   8        0  976762584 sda
   8        1     889856 sda1
   8        2  975870976 sda2
   8       16  976762584 sdb
   8       17     889856 sdb1
   8       18  975870976 sdb2
   8       48  976762584 sdd
   8       49  524288000 sdd1
   8       50  452473560 sdd2
  11        0    3581248 sr0
   9      127     889280 md127
   9      126 1951479808 md126
 253        0   26214400 dm-0
 253        1    2097152 dm-1
 253        2   52428800 dm-2
 253        3   42991616 dm-3
 253        4  251658240 dm-4
 253        5  461373440 dm-5
 253        6  118489088 dm-6
 253        7  996147200 dm-7
  11        1    1048575 sr1

--- LVM physical volumes:
  PV         VG     Fmt  Attr PSize PFree 
  /dev/md126 gokuvg lvm2 a--  1.82t 76.00m
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=214241,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=413872k,mode=755)
/dev/mapper/gokuvg-rootfs on / type ext4 (rw,relatime,errors=remount-ro,stripe=128,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/md127 on /boot type ext2 (rw,relatime)
/dev/mapper/gokuvg-data on /mnt/data type ext4 (rw,relatime,data=ordered)
/dev/mapper/gokuvg-peliculas on /mnt/peliculas type ext4 (rw,relatime,data=ordered)
/dev/mapper/gokuvg-data on /home type ext4 (rw,relatime,data=ordered)
/dev/mapper/gokuvg-iomega on /mnt/iomega type ext4 (rw,relatime,stripe=256,data=ordered)
/dev/mapper/gokuvg-iomega on /mnt/anime type ext4 (rw,relatime,stripe=256,data=ordered)
/dev/mapper/gokuvg-series on /mnt/series type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/125 type tmpfs (rw,nosuid,nodev,relatime,size=206936k,mode=700,uid=125,gid=138)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=206936k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sr0 on /media/guille/AOE_G_C_E type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)

--- initrd.img-4.0.0-2-686-pae:

gzip: /boot/initrd.img-4.0.0-2-686-pae: not in gzip format
cpio: premature end of archive

--- initrd's /conf/conf.d/md:
no conf/md file.

--- /proc/modules:
dm_mod 86016 34 - Live 0xf8468000
raid456 86016 1 - Live 0xf8486000
async_raid6_recov 16384 1 raid456, Live 0xf843c000
async_memcpy 16384 2 raid456,async_raid6_recov, Live 0xf8437000
async_pq 16384 2 raid456,async_raid6_recov, Live 0xf8425000
async_xor 16384 3 raid456,async_raid6_recov,async_pq, Live 0xf8420000
async_tx 16384 5 raid456,async_raid6_recov,async_memcpy,async_pq,async_xor, Live 0xf83b1000
raid6_pq 98304 2 async_raid6_recov,async_pq, Live 0xf844f000
raid1 36864 1 - Live 0xf842d000
md_mod 110592 4 raid456,raid1, Live 0xf83de000

--- /var/log/syslog:

--- volume detail:
/dev/sda:
   MBR Magic : aa55
Partition[0] :      1779712 sectors at         2048 (type fd)
Partition[1] :   1951741952 sectors at      1781760 (type fd)
--
/dev/sda1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 99912e1d:3e2ca133:9c1d9dcf:d947ab0b
           Name : goku:bootraid  (local to host goku)
  Creation Time : Tue Dec 23 21:08:19 2014
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 1778656 (868.63 MiB 910.67 MB)
     Array Size : 889280 (868.58 MiB 910.62 MB)
  Used Dev Size : 1778560 (868.58 MiB 910.62 MB)
    Data Offset : 1056 sectors
   Super Offset : 8 sectors
   Unused Space : before=968 sectors, after=96 sectors
          State : clean
    Device UUID : fe2f720b:b93d9f50:31cf7278:200d6a3b

    Update Time : Sat Jun  6 15:08:37 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : dd7b7b90 - correct
         Events : 414


   Device Role : Active device 1
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sda2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : d19580c5:d21f84ab:a119a751:aba0ad15
           Name : goku:gokuraid  (local to host goku)
  Creation Time : Tue Dec 23 21:09:08 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 1951479808 (930.54 GiB 999.16 GB)
     Array Size : 1951479808 (1861.08 GiB 1998.32 GB)
    Data Offset : 260096 sectors
   Super Offset : 8 sectors
   Unused Space : before=260008 sectors, after=2048 sectors
          State : active
    Device UUID : 5cfe9feb:5fd87b77:17a3987d:bed819b5

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat Jun  6 16:23:58 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : dcdaa428 - correct
         Events : 3467664

         Layout : parity-last
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdb:
   MBR Magic : aa55
Partition[0] :      1779712 sectors at         2048 (type fd)
Partition[1] :   1951741952 sectors at      1781760 (type fd)
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 99912e1d:3e2ca133:9c1d9dcf:d947ab0b
           Name : goku:bootraid  (local to host goku)
  Creation Time : Tue Dec 23 21:08:19 2014
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 1778656 (868.63 MiB 910.67 MB)
     Array Size : 889280 (868.58 MiB 910.62 MB)
  Used Dev Size : 1778560 (868.58 MiB 910.62 MB)
    Data Offset : 1056 sectors
   Super Offset : 8 sectors
   Unused Space : before=968 sectors, after=96 sectors
          State : clean
    Device UUID : 19d23986:884f23fc:d2d2501b:db7f7d1e

    Update Time : Sat Jun  6 15:08:37 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 89b8a5d3 - correct
         Events : 414


   Device Role : Active device 0
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : d19580c5:d21f84ab:a119a751:aba0ad15
           Name : goku:gokuraid  (local to host goku)
  Creation Time : Tue Dec 23 21:09:08 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 1951479808 (930.54 GiB 999.16 GB)
     Array Size : 1951479808 (1861.08 GiB 1998.32 GB)
    Data Offset : 260096 sectors
   Super Offset : 8 sectors
   Unused Space : before=260008 sectors, after=2048 sectors
          State : clean
    Device UUID : 0745b70a:4fd0587f:72fd777c:825733fe

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat Jun  6 16:23:59 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 4bc7bbe0 - correct
         Events : 3467663

         Layout : parity-last
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc:
   MBR Magic : aa55
Partition[0] :      1779712 sectors at         2048 (type fd)
Partition[1] :   1951741952 sectors at      1781760 (type fd)
--
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 99912e1d:3e2ca133:9c1d9dcf:d947ab0b
           Name : goku:bootraid  (local to host goku)
  Creation Time : Tue Dec 23 21:08:19 2014
     Raid Level : raid1
   Raid Devices : 3

 Avail Dev Size : 1778656 (868.63 MiB 910.67 MB)
     Array Size : 889280 (868.58 MiB 910.62 MB)
  Used Dev Size : 1778560 (868.58 MiB 910.62 MB)
    Data Offset : 1056 sectors
   Super Offset : 8 sectors
   Unused Space : before=968 sectors, after=96 sectors
          State : clean
    Device UUID : 11758191:4902f508:ec6bbf5f:c7e1c64d

    Update Time : Sat Jun  6 15:08:37 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 1589f695 - correct
         Events : 414


   Device Role : Active device 2
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : d19580c5:d21f84ab:a119a751:aba0ad15
           Name : goku:gokuraid  (local to host goku)
  Creation Time : Tue Dec 23 21:09:08 2014
     Raid Level : raid5
   Raid Devices : 3

 Avail Dev Size : 1951481856 (930.54 GiB 999.16 GB)
     Array Size : 1951479808 (1861.08 GiB 1998.32 GB)
  Used Dev Size : 1951479808 (930.54 GiB 999.16 GB)
    Data Offset : 260096 sectors
   Super Offset : 8 sectors
   Unused Space : before=260008 sectors, after=2048 sectors
          State : clean
    Device UUID : 32041b50:3aef3e28:7b6fd58a:025448ad

Internal Bitmap : 8 sectors from superblock
    Update Time : Sat Jun  6 16:23:59 2015
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : f7841081 - correct
         Events : 3467663

         Layout : parity-last
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdd is not recognised by mdadm.
/dev/sdd1 is not recognised by mdadm.
/dev/sdd2 is not recognised by mdadm.

--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.0.0-2-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash

--- grub2:
set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
	set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
	linux	/vmlinuz-4.0.0-2-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-4.0.0-2-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-4.0.0-2-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-4.0.0-1-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-4.0.0-1-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.16.0-4-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.16.0-4-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.16-3-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.16-3-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.14-2-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.14-2-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.14-1-686-pae root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
		set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
		linux	/vmlinuz-3.14-1-686-pae root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
	set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
	module	/vmlinuz-4.0.0-2-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-4.0.0-2-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-4.0.0-2-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-4.0.0-1-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-4.0.0-1-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.16.0-4-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.16.0-4-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.16-3-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.16-3-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.14-2-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.14-2-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.14-1-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro resume=/dev/mapper/gokuvg-swap quiet noht splash
			set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'
			module	/vmlinuz-3.14-1-686-pae placeholder root=/dev/mapper/gokuvg-rootfs ro single resume=/dev/mapper/gokuvg-swap
	set root='mduuid/99912e1d3e2ca1339c1d9dcfd947ab0b'

--- udev:
ii  udev           220-2        i386         /dev/ and hotplug management daem
e95faba71945b1dcc9749adc5dcd80f6  /lib/udev/rules.d/63-md-raid-arrays.rules
66f83b36d1edf5d9c3611c1c521f3dd8  /lib/udev/rules.d/64-md-raid-assembly.rules
24ca46f2084a37455e176f14ca745f91  /lib/udev/rules.d/99-systemd.rules

--- /dev:
brw-rw---- 1 root disk 9, 126 Jun  4 12:32 /dev/md126
brw-rw---- 1 root disk 9, 127 Jun  4 12:32 /dev/md127

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 May 30 19:07 ata-HL-DT-STDVDRRW_GWA-4161B -> ../../sr0
lrwxrwxrwx 1 root root  9 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDLNKS -> ../../sdd
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDLNKS-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDLNKS-part2 -> ../../sdd2
lrwxrwxrwx 1 root root  9 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDNRKS -> ../../sdb
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDNRKS-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDNRKS-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDPAKS -> ../../sda
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDPAKS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPDPAKS-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPPMPKS -> ../../sdc
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPPMPKS-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May 30 19:07 ata-TOSHIBA_DT01ACA100_34TPPMPKS-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-data -> ../../dm-5
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-gtejera -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-guille -> ../../dm-3
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-iomega -> ../../dm-7
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-peliculas -> ../../dm-4
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-rootfs -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-series -> ../../dm-6
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-name-gokuvg-swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63i8rObpzqeYkgm1qmEC9jHsCu9GwVvkpvh -> ../../dm-5
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iEM1wfLv8kXIAJmpi0d1EkvO3kLxANxwF -> ../../dm-4
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iSt83W5hbdY1pK3AuCdOukfh6V2Sj6CQZ -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iU3JYvaZZLkZwzRy2mUjSvxKWVY1T4SDb -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iau24sdf0IchlUVxvJk2GIf905JM1Kxp3 -> ../../dm-3
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iejU7ByhNKWvt3F2eExSpc6M1c3eIo3JZ -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63ii29NFIKO7XDbdy8ZEMaiVrnemsgvPPSe -> ../../dm-6
lrwxrwxrwx 1 root root 10 May 30 19:07 dm-uuid-LVM-YERCY5Cimvo2L2akhlusCzef2sN0q63iry0jJzmYEf40JDRcErUEnPOef9ESGLxk -> ../../dm-7
lrwxrwxrwx 1 root root 11 Jun  4 12:32 md-name-goku:bootraid -> ../../md127
lrwxrwxrwx 1 root root 11 Jun  4 12:32 md-name-goku:gokuraid -> ../../md126
lrwxrwxrwx 1 root root 11 Jun  4 12:32 md-uuid-99912e1d:3e2ca133:9c1d9dcf:d947ab0b -> ../../md127
lrwxrwxrwx 1 root root 11 Jun  4 12:32 md-uuid-d19580c5:d21f84ab:a119a751:aba0ad15 -> ../../md126
lrwxrwxrwx 1 root root  9 May 30 19:07 wwn-0x116240317809643520x -> ../../sdd
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x116240317809643520x-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x116240317809643520x-part2 -> ../../sdd2
lrwxrwxrwx 1 root root  9 May 30 19:07 wwn-0x134254716319125504x -> ../../sdb
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x134254716319125504x-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x134254716319125504x-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 May 30 19:07 wwn-0x139602740876627968x -> ../../sda
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x139602740876627968x-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x139602740876627968x-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 May 30 19:07 wwn-0x2559724590634848256x -> ../../sdc
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x2559724590634848256x-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 May 30 19:07 wwn-0x2559724590634848256x-part2 -> ../../sdc2

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root  9 May 30 19:07 AOE_G_C_E -> ../../sr0
lrwxrwxrwx 1 root root 11 Jun  4 12:32 boot -> ../../md127
lrwxrwxrwx 1 root root 10 May 30 19:07 data -> ../../dm-5
lrwxrwxrwx 1 root root 10 May 30 19:07 fio_recup -> ../../sdd2
lrwxrwxrwx 1 root root 10 May 30 19:07 greisch -> ../../dm-3
lrwxrwxrwx 1 root root 10 May 30 19:07 gtejera -> ../../dm-2
lrwxrwxrwx 1 root root 10 May 30 19:07 iomega -> ../../dm-7
lrwxrwxrwx 1 root root 10 May 30 19:07 peliculas -> ../../dm-4
lrwxrwxrwx 1 root root 10 May 30 19:07 rootfs -> ../../dm-0
lrwxrwxrwx 1 root root 10 May 30 19:07 series -> ../../dm-6
lrwxrwxrwx 1 root root 10 May 30 19:07 swap -> ../../dm-1

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 May 30 19:08 platform-vhba-scsi-0:0:0:0 -> ../../sr1

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 May 30 19:07 0afd8213-1b22-4fe4-a2ca-ddbdee76946f -> ../../dm-5
lrwxrwxrwx 1 root root 10 May 30 19:07 18b71cf4-e45a-4b08-b33a-3b15de81adce -> ../../sdd2
lrwxrwxrwx 1 root root  9 May 30 19:07 2007-03-22-18-49-20-00 -> ../../sr0
lrwxrwxrwx 1 root root 10 May 30 19:07 235a00f5-ca55-4647-b3ef-8029d975d5c1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 May 30 19:07 4a0b38d9-f75d-4ce8-a0f6-31b98a6b0656 -> ../../dm-6
lrwxrwxrwx 1 root root 10 May 30 19:07 5ee634b6-4a71-4bd6-b732-4dc6eba2a45b -> ../../dm-4
lrwxrwxrwx 1 root root 10 May 30 19:07 71c14526-b80f-4af4-8515-d35a487c2f75 -> ../../dm-2
lrwxrwxrwx 1 root root 11 Jun  4 12:32 827c6ba0-af36-46d9-a6ff-d18a05ceae6f -> ../../md127
lrwxrwxrwx 1 root root 10 May 30 19:07 BACA1F8ECA1F4653 -> ../../sdd1
lrwxrwxrwx 1 root root 10 May 30 19:07 bf8d8363-e444-4af1-822f-bf190971f077 -> ../../dm-3
lrwxrwxrwx 1 root root 10 May 30 19:07 e4396be9-36c1-4684-93ed-a512b412ed80 -> ../../dm-7
lrwxrwxrwx 1 root root 10 May 30 19:07 f450752c-3ea8-4e58-aefa-ad12fa3e026d -> ../../dm-0

/dev/md:
total 0
lrwxrwxrwx 1 root root 8 Jun  4 12:32 bootraid -> ../md127
lrwxrwxrwx 1 root root 8 Jun  4 12:32 gokuraid -> ../md126

Auto-generated on Sat, 06 Jun 2015 16:24:00 -0300 by mdadm bugscript

-- System Information:
Debian Release: stretch/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  initscripts            2.88dsf-59.2
ii  libc6                  2.19-18
ii  lsb-base               4.1+Debian13+nmu1
ii  udev                   220-2

Versions of packages mdadm recommends:
ii  kmod                              20-1
ii  module-init-tools                 20-1
ii  msmtp-mta [mail-transport-agent]  1.6.2-1

mdadm suggests no packages.

-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-checkarray-use-bin-bash-instad-of-bin-sh.patch
Type: text/x-diff
Size: 559 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20150606/4588fa35/attachment-0001.patch>


More information about the pkg-mdadm-devel mailing list