[OpenIndiana-discuss] zpool status rpool not consistent with diskinfo

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Sep 20 13:23:02 UTC 2023


On 20/09/2023 14:57, Stephan Althaus wrote:
> On 9/20/23 13:59, Toomas Soome via openindiana-discuss wrote:
>> You can try 'zpool reopen’, if that will not help, remove
>> /etc/zfs/zpool.cache. There is some issue that information in zpool.cache is
>> not updated…
>>
>> rgds,
>> toomas
>>
>>> On 20. Sep 2023, at 14:14, Stephan Althaus <Stephan.Althaus at Duedinghausen.eu>
>>> wrote:
>>>
>>> Hello!
>>>
>>> I swapped 2 of 3 root-pool drives (after power off)
>>> to different controllers, (with power-off-saving battery pack)
>>> and now the device names are inconsistent - the device names in the pool
>>> context have not been not updated.
>>>
>>> Boot message was shown: "NOTICE: Performing full ZFS device scan!"
>>>
>>> Messages regarding the move where also in the logs:
>>>
>>> messages:923126:Sep 20 09:24:21 oi genunix: [ID 176336 kern.notice] devid
>>> register: devid for
>>> /pci at 0,0/pci8086,c05 at 1,1/pci1028,1f1c at 0/iport at 20/disk at p5,0 does not match.
>>> stored:
>>> id1,sd at TATA_____Patriot_P220_1TB________________________P220HBCB230710002657,
>>> new:
>>> id1,sd at TATA_____EMTEC_X150_480GB________________________511200729140001240__.
>>> messages:923339:Sep 20 09:24:32 oi zfs: [ID 101897 kern.notice] NOTICE:
>>> vdev_disk_open /dev/dsk/c3t2d0s0: update devid from
>>> 'id1,sd at SATA_____EMTEC_X150_480GB__511200729140001240/a' to
>>> 'id1,sd at TATA_____EMTEC_X150_480GB________________________511200729140001240__/a'
>>>
>>> ... but not for the "SCSI" ones (sata disks on SAS controller LSIxxxx JOBD,
>>> driver mpt_sas i believe)
>>>
>>> Pool status is ok.
>>>
>>> Is there a command to update this info?
>>>
>>> Reboot did not change the drive info.
>>>
>>> Importing/exporting the rpool via OI-USB-live-boot-stick would help, do i
>>> really have to do so ?
>>>
>>>
>>> # diskinfo
>>> TYPE    DISK                    VID      PID SIZE          RMV SSD
>>> SCSI    c7t5d0                  EMTEC    X150 480GB        447.13 GiB   no  yes
>>> SCSI    c8t4d0                  Patriot  P220 1TB          953.87 GiB   no  yes
>>> SATA    c3t3d0                  EMTEC    X150 480GB        447.13 GiB   no  yes
>>>
>>> $ zpool status
>>>    pool: rpool1
>>>   state: ONLINE
>>>    scan: resilvered 381G in 0 days 00:51:40 with 0 errors on Tue Sep 12
>>> 16:36:55 2023
>>> config:
>>>
>>>          NAME          STATE     READ WRITE CKSUM
>>>          rpool1        ONLINE       0     0     0
>>>            mirror-0    ONLINE       0     0     0
>>>              c3t2d0s0  ONLINE       0     0     0
>>>              c3t3d0s0  ONLINE       0     0     0
>>>              c7t5d0s0  ONLINE       0     0     0
>>>
>>>
>>> Regards,
>>>
>>> Stephan
>>>
>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
> Hello!
>
> Thanks for the hints, but no change with
>
> touch /reconfigure
>
> zpool reopen
>
> rm /etc/zfs/zpool.cache
>
>
> should i try to "zpool offline -t c3t2d0s0" one device and reboot?


It could also be that the label entry is not updated.
zdb -l /dev/dsk/cxtyd0s0 should show the correct one
at least in the first label. I once had such a case,
and had to boot into an older openindiana version to
get that fixed, but that depends of course on the
available and activated pool features.

-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list