Re: mdadm shutdown question

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

 



On Thursday March 23, frido@xxxxxxxxxx wrote:
> Hi,
> 
> This question is mainly about the following error during shutdown on my 
> gentoo system:
> 
> mdadm: fail to stop array /dev/md1: Device or resource busy
> 
> (full raid1, root is on /dev/md1)
> 
> After searching bugzilla I found:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=119380
> 
> However there's no agreement on if / how mdadm should stop the rootfs 
> during a shutdown sequence. Can anyone enlight me on a good way to
> proceed in this ?

There is no need to stop the root md, or in fact any md, at shutdown.
The shutdown process in the kernel will switch any active md arrays to
read-only, which is effectively the same as shutting them down.

It doesn't hurt to do
  mdadm -Ss
but it isn't really needed and you can ignore any errors.

NeilBrown

> 
> Regards,
> 
> 		-- Frido Ferdinand
> -
> 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
-
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