On Thu, Sep 12, 2019 at 8:37 PM Andrey Melnikov <temnota.am@xxxxxxxxx> wrote: > > чт, 12 сент. 2019 г. в 07:56, Zhong Li <lizhongfs@xxxxxxxxx>: > > > > > > > On Aug 29, 2019, at 11:49 PM, Andrey Melnikov <temnota.am@xxxxxxxxx> wrote: > > > > > > Hello. > > > > > > This patch break exposing individual RAID disks from adaptec raid > > > controller. I need access to this disc's for S.M.A.R.T monitoring. > > > > Hello Andrey, > > > > Do you have any more details about how/why it is broken? > > adaptec report hidden luns with PQ=1, PDT=0 - now it skipped. It seems to expose these "hidden" disks, we have to revert this patch. Don't have such raid controller, do these "hidden" disks have any differences from the normal ones? However, from the spec, Qualifier 001b An addressed logical unit having the indicated device type is not accessible, at this time, to the task router (see SAM-5) contained in the SCSI target port that received this INQUIRY command. However, the task router is capable of accessing the addressed logical unit from this SCSI target port. I still think it makes more sense to skip adding the device at the time of the scan. And for disks behind the RAID controller, does it make more sense to access their information through the controller, than exposing it directly to the OS? Thanks, Zhong > > [ 32.609143] scsi host6: aacraid > [ 32.609566] scsi 6:0:0:0: Direct-Access Adaptec srv > V1.0 PQ: 0 ANSI: 2 > [ 32.609881] scsi 6:0:1:0: Direct-Access Adaptec zbx > V1.0 PQ: 0 ANSI: 2 > [ 32.639942] scsi 6:1:4:0: Direct-Access ATA WDC > WD2003FZEX-0 01.0 PQ: 1 ANSI: 5 > [ 32.640810] scsi 6:1:5:0: Direct-Access ATA WDC > WD2003FZEX-0 01.0 PQ: 1 ANSI: 5 > [ 32.641559] scsi 6:1:6:0: Direct-Access ATA WDC > WD2003FZEX-0 01.0 PQ: 1 ANSI: 5 > [ 32.642266] scsi 6:1:7:0: Direct-Access ATA WDC > WD2003FZEX-0 01.0 PQ: 1 ANSI: 5 > > > > > Please find other way to workaround bugs in IBM/2145 controller. > >