I am trying to map the devices I get from sar -d to actual file drives. The systems are raid 5. So far I can take the device number that I get from sar -d and map it more than one file drive in my vfstab or df -k.
i.e. sar -d gives me:
device (sd77), (sd77,a), (sd77,b)…(sd77,h)
grep " 77 " /etc/path_to_inst | grep "\"sd\"" gives me:
/pci@6,4000/scsi@4,1/sd@2,0 77 "sd
grep "/pci@6,4000/scsi@4,1/sd@2,0" from output of the format command gives me:
Ct22d0s0 /pci@6,4000/scsi@4,1/sd@2,0
grep ct2d20s0 /etc/vfstab gives me:
/dev/dsk/c2t2d0s0 /dev/rdsk/c2t2d0s0 /lv11 ufs 2 yes -
/dev/dsk/c2t2d0s1 /dev/rdsk/c2t2d0s1 /lv12 ufs 2 yes -
/dev/dsk/c2t2d0s3 /dev/rdsk/c2t2d0s3 /lv13 ufs 2 yes -
/dev/dsk/c2t2d0s5 /dev/rdsk/c2t2d0s5 /lv15 ufs 2 yes -
/dev/dsk/c2t2d0s6 /dev/rdsk/c2t2d0s6 /lv16 ufs 2 yes -
/dev/dsk/c2t2d0s7 /dev/rdsk/c2t2d0s7 /lv17 ufs 2 yes
Is there some way to map the a~h to the lv11~lv17. What is the difference between the one without a letter and those with?
Please help.
S.Hronek
i.e. sar -d gives me:
device (sd77), (sd77,a), (sd77,b)…(sd77,h)
grep " 77 " /etc/path_to_inst | grep "\"sd\"" gives me:
/pci@6,4000/scsi@4,1/sd@2,0 77 "sd
grep "/pci@6,4000/scsi@4,1/sd@2,0" from output of the format command gives me:
Ct22d0s0 /pci@6,4000/scsi@4,1/sd@2,0
grep ct2d20s0 /etc/vfstab gives me:
/dev/dsk/c2t2d0s0 /dev/rdsk/c2t2d0s0 /lv11 ufs 2 yes -
/dev/dsk/c2t2d0s1 /dev/rdsk/c2t2d0s1 /lv12 ufs 2 yes -
/dev/dsk/c2t2d0s3 /dev/rdsk/c2t2d0s3 /lv13 ufs 2 yes -
/dev/dsk/c2t2d0s5 /dev/rdsk/c2t2d0s5 /lv15 ufs 2 yes -
/dev/dsk/c2t2d0s6 /dev/rdsk/c2t2d0s6 /lv16 ufs 2 yes -
/dev/dsk/c2t2d0s7 /dev/rdsk/c2t2d0s7 /lv17 ufs 2 yes
Is there some way to map the a~h to the lv11~lv17. What is the difference between the one without a letter and those with?
Please help.
S.Hronek