metadevices

All posts tagged metadevices

In order to convert the Solaris ssd naming from sd# to c#t#d#, very useful as in the log files will be showed only the sd# naming, we can use the next simple set of commands to convert them. # paste -d= <(iostat -x | awk 'NR>2{print $1}') <(iostat -nx | awk 'NR>2{print "/dev/dsk/"$11}') this the output for some disks: sd0=/dev/dsk/c0t5000CCA0164B7CDCd0 sd1=/dev/dsk/c0t5000CCA0164BD734d0 sd4=/dev/dsk/c1t0d0 ssd0=/dev/dsk/c4t5000097500015190d6 ssd1=/dev/dsk/c4t5000097500015190d5 If Read more...