Package: mdadm
Version: 4.1-1
Severity: minor
Dear Maintainer,
there seem to be inconsistencies between the man page and the help
output
The 'man mdadm' prints out
mdadm [mode] <raiddevice> [options] <component-devices>
but
'mdadm --manage -h'
says
Usage: mdadm arraydevice options component devices...
Shouldn't the later say
Usage: mdadm mode arraydevice options component devices...
What's the right and/or 'official' sequence of options and parameters?
Greetings
Tobias
-- Package-specific info:
WARNING:
the following output was not generated by the root user. If you can,
please
replace the following up until "-- System Information:" with the
output of
/usr/share/bug/mdadm/script 3>&1
run as root. Thanks!
--- mdadm.conf
HOMEHOST <system>
MAILADDR root
--- /etc/default/mdadm
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0]
[raid1] [raid10]
md0 : active (auto-read-only) raid6 sdf1[4] sdb1[0] sdc1[1] sde1[3] sdd1[2]
15713280 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5]
[UUUUU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 16 5242880 sdb
8 17 5241856 sdb1
8 0 41943040 sda
8 1 38964224 sda1
8 2 2976768 sda2
8 32 5242880 sdc
8 33 5241856 sdc1
8 48 5242880 sdd
8 49 5241856 sdd1
8 64 5242880 sde
8 65 5241856 sde1
8 80 5242880 sdf
8 81 5241856 sdf1
8 96 5242880 sdg
11 0 1048575 sr0
9 0 15713280 md0
--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=488608k,nr_inodes=122152,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,noexec,relatime,size=101088k,mode=755)
/dev/sda1 on / type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
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)
cgroup2 on /sys/fs/cgroup/unified type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup
(rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup
(rw,nosuid,nodev,noexec,relatime,pids)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=44,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10720)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=101084k,mode=700,uid=1000,gid=1000)
--- initrd.img-4.19.0-5-amd64:
195171 blocks
7ebb8eb7e3f9227c7b180c2680fcfb46 ./etc/mdadm/mdadm.conf
7ebb8eb7e3f9227c7b180c2680fcfb46 ./etc/mdadm/mdadm.conf.tmp
d3be82c0f275d6c25b04d388baf9e836 ./etc/modprobe.d/mdadm.conf
f3b648ca1c912da30940f0b821b7e9e6 ./scripts/local-block/mdadm
192ccafcfe38eabf0f5184786764c4a9 ./scripts/local-bottom/mdadm
c07c941ec997cf1cf40e05ed6dce1905
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-bio-prison.ko
0115bc54a7dff03fb9db9fc8d58679be
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-bufio.ko
5abda0095cfeade8bda0165bba1621d5
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-cache.ko
9ed8e7b29c00ee8a18a5d06b5cd21902
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-log.ko
d897dda8a2ab5d946f42cd48247754d9
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-mirror.ko
676fb57f9599d5f21554a6a24bc3021d
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-mod.ko
585fa1204adf750bbd08b4f75da4ce16
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-raid.ko
3fb829de2bf8a0ded22b6e1951da40b7
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-region-hash.ko
13c994d47e80075f46ca649e693c4e1a
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-snapshot.ko
5f16c2ac36437cbc70d86ee2dcbdc49c
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/dm-thin-pool.ko
f9b559be3a8a47439b3a2cc31f27f945
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/linear.ko
8c27e0501d11bcdd1ef6c76a3dd8f720
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/md-mod.ko
83d09d0877bff7d7890936079211b08d
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/multipath.ko
aa217febcd7560c003f78498abd02415
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/persistent-data/dm-persistent-data.ko
2070241839cbf1ba317415dea3308d5b
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/raid0.ko
f9af22fb3f485cfe9dc1e08cad7c7fdc
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/raid1.ko
17d1884bbc19271b4c31fd2454c97c2b
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/raid10.ko
4ee425de4e6402fe70a0614f234e6010
./usr/lib/modules/4.19.0-5-amd64/kernel/drivers/md/raid456.ko
d325a636dd5d9c95289b6653eb1fb070 ./usr/sbin/mdadm
--- initrd's /conf/conf.d/md:
no conf/md file.
--- /proc/modules:
raid10 57344 0 - Live 0x0000000000000000
raid1 45056 0 - Live 0x0000000000000000
raid0 20480 0 - Live 0x0000000000000000
multipath 16384 0 - Live 0x0000000000000000
linear 16384 0 - Live 0x0000000000000000
raid456 172032 1 - Live 0x0000000000000000
async_raid6_recov 20480 1 raid456, Live 0x0000000000000000
async_memcpy 16384 2 raid456,async_raid6_recov, Live 0x0000000000000000
async_pq 16384 2 raid456,async_raid6_recov, Live 0x0000000000000000
async_xor 16384 3 raid456,async_raid6_recov,async_pq, Live
0x0000000000000000
async_tx 16384 5
raid456,async_raid6_recov,async_memcpy,async_pq,async_xor, Live
0x0000000000000000
raid6_pq 122880 4 btrfs,raid456,async_raid6_recov,async_pq, Live
0x0000000000000000
libcrc32c 16384 2 btrfs,raid456, Live 0x0000000000000000
md_mod 167936 6 raid10,raid1,raid0,multipath,linear,raid456, Live
0x0000000000000000
syslog not readable by user.
--- volume detail:
/dev/sda not readable by user.
/dev/sda1 not readable by user.
/dev/sda2 not readable by user.
/dev/sdb not readable by user.
/dev/sdb1 not readable by user.
/dev/sdc not readable by user.
/dev/sdc1 not readable by user.
/dev/sdd not readable by user.
/dev/sdd1 not readable by user.
/dev/sde not readable by user.
/dev/sde1 not readable by user.
/dev/sdf not readable by user.
/dev/sdf1 not readable by user.
/dev/sdg not readable by user.
--- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro quiet
--- grub2:
set root='hd0,msdos1'
set root='hd0,msdos1'
linux /boot/vmlinuz-4.19.0-5-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro quiet
set root='hd0,msdos1'
linux /boot/vmlinuz-4.19.0-5-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro quiet
set root='hd0,msdos1'
linux /boot/vmlinuz-4.19.0-5-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro single
set root='hd0,msdos1'
linux /boot/vmlinuz-4.9.0-9-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro quiet
set root='hd0,msdos1'
linux /boot/vmlinuz-4.9.0-9-amd64
root=UUID=38919cd1-7d8b-4201-a0f0-9e411987eb71 ro single
--- udev:
ii udev 241-5 amd64 /dev/ and hotplug
management daemon
9d7dfcdc58fa54941f8d28f6094a7a5b
/lib/udev/rules.d/01-md-raid-creating.rules
aa83f41de49462d05e446cfc5e14e74b /lib/udev/rules.d/63-md-raid-arrays.rules
904bb2cce2cfd4a2c94aa957e7968e16
/lib/udev/rules.d/64-md-raid-assembly.rules
ba1d376ca9b7364576f950d06ba18207
/lib/udev/rules.d/69-md-clustered-confirm-device.rules
745ed418fa58498790836a08c627e1ca /lib/udev/rules.d/99-systemd.rules
--- /dev:
brw-rw---- 1 root disk 9, 0 Jul 22 14:07 /dev/md0
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Jul 22 14:07 ata-QEMU_DVD-ROM_QM00003 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jul 22 14:07 md-name-lpic:0 -> ../../md0
lrwxrwxrwx 1 root root 9 Jul 22 14:07
md-uuid-fce473c1:053d2352:a7a30f3c:88a34835 -> ../../md0
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi1 -> ../../sdg
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi2 -> ../../sdf
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi2-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi3 -> ../../sde
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi3-part1 -> ../../sde1
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 -> ../../sdd
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi4-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi5 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi5-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi6 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 22 14:07
scsi-0QEMU_QEMU_HARDDISK_drive-scsi6-part1 -> ../../sdb1
/dev/disk/by-partuuid:
total 0
lrwxrwxrwx 1 root root 10 Jul 22 14:07 1b6a4d3f-01 -> ../../sde1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 253b2b65-01 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 65ae41b0-01 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 876bf42f-01 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 b8844777-01 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 bf1a7e60-01 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 22 14:07 bf1a7e60-02 -> ../../sda2
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:01.1-ata-2 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:0 ->
../../sda
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:1 ->
../../sdg
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:2 ->
../../sdf
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:2-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:3 ->
../../sde
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:3-part1 -> ../../sde1
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:4 ->
../../sdd
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:4-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:5 ->
../../sdc
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:5-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 Jul 22 14:07 pci-0000:00:05.0-scsi-0:0:0:6 ->
../../sdb
lrwxrwxrwx 1 root root 10 Jul 22 14:07
pci-0000:00:05.0-scsi-0:0:0:6-part1 -> ../../sdb1
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Jul 22 14:07
38919cd1-7d8b-4201-a0f0-9e411987eb71 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 22 14:07
bfda3b9d-a23d-4b96-a58f-fd0fa0898c95 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 22 14:07
e84c7080-1ae0-48c3-b50e-a96c6ab6ea1d -> ../../sdg
/dev/md:
total 0
lrwxrwxrwx 1 root root 6 Jul 22 14:07 0 -> ../md0
Auto-generated on Tue, 23 Jul 2019 11:40:31 +0200 by mdadm bugscript
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
total 0
lrwxrwxrwx 1 root root 10 Jul 22 14:07
38919cd1-7d8b-4201-a0f0-9e411987eb71 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 22 14:07
bfda3b9d-a23d-4b96-a58f-fd0fa0898c95 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 22 14:07
e84c7080-1ae0-48c3-b50e-a96c6ab6ea1d -> ../../sdg
/dev/md:
total 0
lrwxrwxrwx 1 root root 6 Jul 22 14:07 0 -> ../md0
Auto-generated on Tue, 23 Jul 2019 11:40:31 +0200 by mdadm bugscript
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mdadm depends on:
ii debconf [debconf-2.0] 1.5.71
ii libc6 2.28-10
ii lsb-base 10.2019051400
ii udev 241-5
Versions of packages mdadm recommends:
ii kmod 26-1
ii postfix [mail-transport-agent] 3.4.5-1
Versions of packages mdadm suggests:
pn dracut-core <none>
-- debconf information:
mdadm/autocheck: true
mdadm/mail_to: root
mdadm/start_daemon: true