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

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Wed Sep 20 12:57:18 UTC 2023


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?

Regards,
Stephan




More information about the openindiana-discuss mailing list