sistrong 发表于 2010-10-27 22:09

/dev/rdsk,/dev/md/dsk和/dev/dsk下的硬盘信息有啥区别?

本帖最后由 sistrong 于 2010-10-29 11:36 编辑

RT,给出实例如下:
sun_25k@/dev/dsk $ ls -lrt|more   
total 4464
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s0 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:a
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s1 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:b
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s2 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:c
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s3 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:d
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s4 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:e
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s0 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:a
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s1 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:b
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s2 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:c
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s3 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:d
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s4 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:e
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s5 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:f


sun_25k@/dev/rdsk $ ls -lrt|more
total 4464
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s0 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:a
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s1 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:b
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s2 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:c
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s3 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:d
lrwxrwxrwx   1 root   root          49 Apr 192007 c0t8d0s4 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:e
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s0 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:a
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s1 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:b
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s2 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:c
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s3 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:d
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s4 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:e
lrwxrwxrwx   1 root   root          63 Apr 232007 c7t60060E80045B210000005B2100000044d0s5 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:f


sun_25k@/dev/md/dsk $ ls -lrt
total 48
lrwxrwxrwx   1 root   root          36 Apr 232007 d0 -> ../../../devices/pseudo/md@0:0,0,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d2 -> ../../../devices/pseudo/md@0:0,2,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d3 -> ../../../devices/pseudo/md@0:0,3,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d5 -> ../../../devices/pseudo/md@0:0,5,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d6 -> ../../../devices/pseudo/md@0:0,6,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d8 -> ../../../devices/pseudo/md@0:0,8,blk
lrwxrwxrwx   1 root   root          36 Apr 232007 d9 -> ../../../devices/pseudo/md@0:0,9,blk
lrwxrwxrwx   1 root   root          37 Apr 232007 d11 -> ../../../devices/pseudo/md@0:0,11,blk
lrwxrwxrwx   1 root   root          37 Apr 252007 d24 -> ../../../devices/pseudo/md@0:0,24,blk
lrwxrwxrwx   1 root   root          37 Apr 252007 d25 -> ../../../devices/pseudo/md@0:0,25,blk
lrwxrwxrwx   1 root   root          37 Apr 252007 d26 -> ../../../devices/pseudo/md@0:0,26,blk

sistrong 发表于 2010-10-28 18:57

有哪位大哥给指点下?

yulemi 发表于 2010-10-29 09:56

rdsk下是裸设备、dsk下是块设备、md/dsk下是meta的设备

sistrong 发表于 2010-10-29 11:52

什么是META的设备,和裸设备有啥区别?

yulemi 发表于 2010-10-29 13:21

回复 4# sistrong


    met设备是你做了metainit后生成的设备,裸设备是没有建立文件系统的

cjl2029 发表于 2011-09-22 15:52

/dev/md下有dsk和rdsk但是md下还有shared、sx-app-dg这些目录下还有rdsk和dsk
这些都是什么意思啊?

财版 发表于 2011-09-22 17:39

rdsk是连接到dsk的,md是对这两个设备处理之后的设备符号。:em27:

yiguihuo 发表于 2011-09-22 18:14

用disksuite作一遍系统盘镜象保证你就明白了

财版 发表于 2011-09-22 18:44

楼上说的有理:em27:
页: [1]
查看完整版本: /dev/rdsk,/dev/md/dsk和/dev/dsk下的硬盘信息有啥区别?