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

Re: How to delay resume after suspend to get disks ready, using kernel command line switch?



Ram Ramesh wrote:

> Problem:
> 
> I am having a problem with ubuntu 14.04 resume from suspend. I suspect a
> race condition in boot process. I have a mpt2sas (LSISAS2008:
> FWVersion(20.00.07.00)) host adapter to which several of my disks are
> attached. On occasions, there is a delay before these devices become
> available. However, kernel tries to assemble RAID6 that includes these
> disks before they become available. As a result the array gets assembled
> in a degraded mode.
> 
> My question:
> 
> I like to tell kernel to delay resume until LSI card finishes its card
> identifying devices. Can I use resumedelay/rootdelay switches in
> grub.cfg to accomplish this? If so, which one I should use?
> 
> Ramesh

I also have mpt2sas and it is slow in disk initialization but I never use
suspend/resume. I only use shutdown/reboot. I use rootdelay=15. 


Reply to: