Le 06/12/2022 à 17:51, Nicolas C. a écrit :
Reply to myself: using "serial" instead of "wwn" in lsblk does the
trick. I'm still unable to display a serial/wwn with a compiled lsblk
but in the worst case I can use jc:
lsblk -o +serial | jc --lsblk | jq .
Well, it turns out that this is not a
Le 06/12/2022 à 16:53, Nicolas C. a écrit :
Hello,
On RHEL7, can anyone explain why WWN are trucated with the "lsblk"
command compared to "lsscsi"?
[root@xxx ~]# lsblk -o +wwn --raw | awk '$6 == "disk"'
sda 8:0 0 512M 0 disk 0x6000c295b23ff650
sdb 8:16 0 10G 0 disk 0x6000c292620bb0eb
sdc 8:
Hello,
On RHEL7, can anyone explain why WWN are trucated with the "lsblk"
command compared to "lsscsi"?
[root@xxx ~]# lsblk -o +wwn --raw | awk '$6 == "disk"'
sda 8:0 0 512M 0 disk 0x6000c295b23ff650
sdb 8:16 0 10G 0 disk 0x6000c292620bb0eb
sdc 8:32 0 16G 0 disk 0x6000c295aa065200
sdd 8:48