ZFS-8000-8A: assistance needed

Maurizio Vairani maurizio.vairani at cloverinformatica.it
Thu Sep 8 14:01:05 UTC 2016


Il 08/09/2016 15:16, Ruslan Makhmatkhanov ha scritto:
> Maurizio Vairani wrote on 09/08/2016 15:55:
>> Il 08/09/2016 13:46, Ruslan Makhmatkhanov ha scritto:
>>> Maurizio, much thanks for your answers. It made some things clearer,
>>> but some are still isn't. Please see my comments inline:
>>>
>>> I checked the disks with that labels and all of them seems ok:
>>>
>>> gpart show excerpt:
>>> """
>>> Geom name: mfid2
>>> 1. Name: mfid2p1
>>>    label: drive-07
>>> Geom name: mfid3
>>> 1. Name: mfid3p1
>>>    label: drive-08
>>> Geom name: mfid4
>>> 1. Name: mfid4p1
>>>    label: drive-09
>>> """
>>>
>>> I checked them all with smartctl -a -d sat /dev/pass2[3,4] and got
>>>
>>> """
>>> SMART Status not supported: ATA return descriptor not supported by
>>> controller firmware
>>> SMART overall-health self-assessment test result: PASSED
>>> """
>>>
>>> And they also seems ok in mfiutil:
>>> root:~ # mfiutil show volumes
>>> mfi0 Volumes:
>>>   Id     Size    Level   Stripe  State   Cache   Name
>>>  mfid0 (  838G) RAID-0     256K OPTIMAL Disabled
>>>  mfid1 (  838G) RAID-0     256K OPTIMAL Disabled
>>>  mfid2 (  476G) RAID-0     256K OPTIMAL Disabled
>>>  mfid3 (  476G) RAID-0     256K OPTIMAL Disabled
>>>  mfid4 (  476G) RAID-0     256K OPTIMAL Disabled
>>>  mfid5 (  167G) RAID-0      64K OPTIMAL Writes
>>>  mfid6 (  167G) RAID-0      64K OPTIMAL Writes
>>>  mfid7 (  476G) RAID-0      64K OPTIMAL Writes
>>>
>>> I only wasn't able to read the smart status of mfid0/mfid1 (they are
>>> SCSI-6 drives according to mfiutil):
>>>
>>> smartctl -d scsi -a /dev/pass0[1]
>>> Standard Inquiry (36 bytes) failed [Input/output error]
>>> Retrying with a 64 byte Standard Inquiry
>>> Standard Inquiry (64 bytes) failed [Input/output error]
>>>
>>> But I'm not sure if I'm using correct type in -d switch (tried all of
>>> them). This drives doesn't seems participate in that zpool, but I'm
>>> interested in checking them too.
>>>
>> I don't know  the  LSI MegaRAID SAS controller but  according to
>> https://www.smartmontools.org/wiki/Supported_RAID-Controllers
>> seems it is supported in FreeBSD. But what is the output of the command
>> "smartctl --scan" ?
>>
>> Regards,
>> Maurizio
>
> Sure, it is supported.
>
> root@:/var/log# smartctl --scan
> /dev/ses0 -d atacam # /dev/ses0, ATA device
> /dev/pass1 -d scsi # /dev/pass1, SCSI device
> /dev/pass2 -d scsi # /dev/pass2, SCSI device
> /dev/pass3 -d scsi # /dev/pass3, SCSI device
> /dev/pass4 -d scsi # /dev/pass4, SCSI device
> /dev/pass5 -d scsi # /dev/pass5, SCSI device
> /dev/pass6 -d scsi # /dev/pass6, SCSI device
> /dev/pass7 -d scsi # /dev/pass7, SCSI device
> /dev/pass8 -d scsi # /dev/pass8, SCSI device
>
> While
> root@:/var/log# ls -1 /dev/ | grep pass
> pass0
> pass1
> pass2
> pass3
> pass4
> pass5
> pass6
> pass7
> pass8
>
> root@:/var/log# ls -1 /dev/| grep mfid
> mfid0
> mfid0p1
> mfid0p2
> mfid0p3
> mfid1
> mfid1p1
> mfid1p2
> mfid1p3
> mfid2
> mfid2p1
> mfid3
> mfid3p1
> mfid4
> mfid4p1
> mfid5
> mfid6
> mfid7
> mfid7p1
>
> So it looks like mfid0 != pass0. And actually pass1 is an interface 
> for mfid0? Right?
>
Yes, seems to me too.

But, unfortunately, "mrsas (4) does not allow smartctl to access 
S.M.A.R.T data from physical drive hidden under /dev/daX"

bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212211

Maurizio





More information about the freebsd-fs mailing list