mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
Mark raid array as clean at shutdown
This commit is contained in:
parent
d060b33545
commit
68e4fd59b2
@ -1,3 +1,8 @@
|
||||
2022-07-23 Thomas Trepl <thomas@linuxfromscratch.org>
|
||||
* Mark an raid array clean when root (/) has been remounted
|
||||
r/o when system goes down. Otherwise, array does remain
|
||||
always 'dirty', causing a resync at next boot.
|
||||
|
||||
2022-03-24 Pierre Labastie <pierre dot labastie at neuf dot fr>
|
||||
* New semantics for K and S scripts:
|
||||
- S scripts only started if not already marked S in the previous runlevel
|
||||
|
@ -67,6 +67,11 @@ case "${1}" in
|
||||
# Make all LVM volume groups unavailable, if appropriate
|
||||
# This fails if swap or / are on an LVM partition
|
||||
#if [ -x /sbin/vgchange ]; then /sbin/vgchange -an > /dev/null; fi
|
||||
if [ -r /etc/mdadm.conf ]; then
|
||||
log_info_msg "Mark arrays as clean..."
|
||||
mdadm --wait-clean --scan
|
||||
evaluate_retval
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user