lsblk full disk id output column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need a tool that makes it simple to correlate disk device names with
their ids, as can be seen under . The main reason for this is when
administrating ZFS (replacing failed disks etc)  it doesn't deal with
device names (sda, sdb etc) but uses disk id's instead and I often
struggle to marry them up.

I know lsblk already has the "-o model" output column which prints
part of the disk id but I want to see the full disk id (the full
device name, with or without its /dev/disk/by-id prefix) printed under
a column called ID, DISKID or similar.

Thanks



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux