Re: raid1 becoming raid0 when device is removed before reboot

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

 



On 07/12/2018 11:20 AM, Niklas Hambüchen wrote:
I tried this just now, but it doesn't seem to have any effect.

Another question though:

What assembles my array at boot is Debian's/Ubuntu's init mdamd script that runs

    mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog

Does this code path actually call set_array_info()?
I put a stderr print in there to print info1.array.level, but it didn't appear in the logs.

It does appear when I manually run `mdadm --assemble`.
Is it possible that `--monitor` takes a different code path?

Niklas



[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