--detail --export doesn't show all properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an example of the --export output:

# mdadm --detail --export /dev/md127
MD_DEVICES=3
MD_METADATA=1.2
MD_UUID=70bc1acd:f879f9cd:dca76d79:d9ce624a
MD_DEVNAME=debian:R5
MD_NAME=debian:R5
MD_DEVICE_dev_sdc_ROLE=spare
MD_DEVICE_dev_sdc_DEV=/dev/sdc
MD_DEVICE_dev_sdd_ROLE=spare
MD_DEVICE_dev_sdd_DEV=/dev/sdd
MD_DEVICE_dev_sdb_ROLE=spare
MD_DEVICE_dev_sdb_DEV=/dev/sdb

This is the same command in "normal" format-output:

# mdadm --detail /dev/md127
/dev/md127:
           Version : 1.2
        Raid Level : raid5
     Total Devices : 3
       Persistence : Superblock is persistent
             State : inactive
   Working Devices : 3
              Name : debian:R5
              UUID : 70bc1acd:f879f9cd:dca76d79:d9ce624a
            Events : 358
    Number   Major   Minor   RaidDevice
       -       8       32        -        /dev/sdc
       -       8       48        -        /dev/sdd
       -       8       16        -        /dev/sdb


It would be nice if the --export included the properties "Raid Level",
"State", "Persistence" (the first two most important).

Another thing, is it correct that "MD_DEVNAME" and "MD_NAME" should be the same?
Or perhaps "MD_NAME" should show the kernel/Device-Mapper name e.g.
"md127", that would be helpful (by the way, what do you call this mdxx
name?)

Thanks
Brian, Denmark



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux