Timeline for How to skip/exclude one SCSI bus from scanning during boot?
Current License: CC BY-SA 3.0
        7 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 16, 2012 at 9:55 | vote | accept | Pro Backup | ||
| Nov 16, 2012 at 9:11 | answer | added | user | timeline score: 2 | |
| Nov 15, 2012 at 20:15 | comment | added | Pro Backup | 
        
            
    @derobert Indeed after update-initramfs -u and reboot the drives on the mpt2sas bus are no longer detected during boot.
        
     | 
|
| Nov 15, 2012 at 19:47 | comment | added | derobert | 
        
            
    @ProBackup you probably need to run update-initramfs -u after creating that file.
        
     | 
|
| Nov 15, 2012 at 19:43 | comment | added | Pro Backup | 
        
            
    There is a file /lib/modules/3.2.0-0.bpo.3-amd64/kernel/drivers/scsi/mpt2sas/mpt2sas.koa, so this looks like it is compiled as a module. After blacklisting using echo 'blacklist mpt2sas' >> /etc/modprobe.d/mpt2sas.conf the drive do still spin up during boot. Am I not blacklisting correctly or isn't mpt2sas a module?
        
     | 
|
| Nov 15, 2012 at 19:31 | comment | added | user | 
        
            
    Did you consider trying to add the mpt2sas module to the modules blacklist (assuming that it is compiled as a module), then modprobe it from /etc/rc.local? That should at least delay the probing until everything else has started, at the obvious expense of those drives not being available during the boot sequence. Depending on your needs (and assuming nothing critical is on that bus) this may be an acceptable tradeoff.
        
     | 
|
| Nov 15, 2012 at 19:25 | history | asked | Pro Backup | CC BY-SA 3.0 |