Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-31 Thread JohnS
On Wed, 2010-03-31 at 14:41 +0200, Lorenzo Quatrini wrote: > JohnS ha scritto: > > --- > > scsi_dev_flags SCSI black/white list. > > scsi_dev_flags=vendor:model:flags > > This option lets the user add entries to the SCSI black/white list for > > a specific vendor and model of device. > > > > Dug

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-31 Thread Lorenzo Quatrini
JohnS ha scritto: > --- > scsi_dev_flags SCSI black/white list. > scsi_dev_flags=vendor:model:flags > This option lets the user add entries to the SCSI black/white list for > a specific vendor and model of device. > > Dug it up from my notes. This goes on the kernel boot line. > For what I unders

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-31 Thread JohnS
On Tue, 2010-03-30 at 15:58 +0200, Lorenzo Quatrini wrote: > 2010/3/30 nate : > > Lorenzo Quatrini wrote: > >> Hi all, > >> do you know if there is a way at boot time do disable specific LUN's on a > >> SCSI > >> bus of a particular controller? > > > > What do you need to do this for? > > > > How

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-30 Thread Lorenzo Quatrini
2010/3/30 nate : > Lorenzo Quatrini wrote: >> This is what I'm doing right now; but I was searching for a way of >> doing it earlier on startup. >> I'm playing with a non partitionable DS4300 FC, and I would like to >> avoid LUN contention. > > Since it appears to be a SAN of sorts, another option

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-30 Thread nate
Lorenzo Quatrini wrote: > This is what I'm doing right now; but I was searching for a way of > doing it earlier on startup. > I'm playing with a non partitionable DS4300 FC, and I would like to > avoid LUN contention. Since it appears to be a SAN of sorts, another option may be to use the blacklis

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-30 Thread Lorenzo Quatrini
2010/3/30 nate : > Lorenzo Quatrini wrote: >> Hi all, >> do you know if there is a way at boot time do disable specific LUN's on a >> SCSI >> bus of a particular controller? > > What do you need to do this for? > > How about just echoing the command to /proc/scsi/scsi > > echo "scsi remove-single-d

Re: [CentOS] Disable specific LUN on a SCSI bus

2010-03-30 Thread nate
Lorenzo Quatrini wrote: > Hi all, > do you know if there is a way at boot time do disable specific LUN's on a > SCSI > bus of a particular controller? What do you need to do this for? How about just echoing the command to /proc/scsi/scsi echo "scsi remove-single-device X X X X" >/proc/scsi/scsi