How to delay resume after suspend to get disks ready, using kernel command line switch?
- Date: Fri, 2 Jun 2017 18:33:48 -0500
- From: Ram Ramesh <rramesh2400@xxxxxxxxx>
- Subject: How to delay resume after suspend to get disks ready, using kernel command line switch?
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.
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?