Which SAN disk is which?

Really simple one this : SAN disk provided, but you don’t know which one is which and you don’t yet have any details from your storage team of LUN device numbers that you might be able to look up. Some, or all of the disks need to be left raw, i.e. not added to a volume group.

Assuming the disks provided are different sizes, you might get some indication using something like:

for i in $(lspv | awk '{print $1}')
   echo $i : $(getconf DISK_SIZE /dev/$i)

Hopefully, that will give you a clue.


I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.


This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: