Re: MD array keeps resyncing after rebooting

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

 



On Thu, Jul 25, 2013 at 9:06 PM, Martin Wilck <mwilck@xxxxxxxx> wrote:
> On 07/25/2013 08:58 PM, Martin Wilck wrote:
>
>> Thinking about it - you did some coding of your own to start mdmon in
>> the initrd, right? Do you also make sure that mdadm -Ss is called after
>> umounting the file systems, but before shutdown? If not, an inconsistent
>> state might result.
>
> I forgot - mdadm -Ss needs to be run after unmounting file systems,
> killing logical volumes, etc, but before killing mdmon.
>
> This can be bit tricky.
> However if your distro supports md with IMSM, the code should be in place.

I need to check how systemd shutdown the service related to DM devices.

I'll keep you informed.

Thanks.
-- 
Francis
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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