/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 19 2007 c0t8d0s0 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:a
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s1 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:b
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s2 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:c
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s3 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:d
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s4 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:e
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s0 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:a
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s1 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:b
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s2 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:c
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s3 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:d
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s4 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:e
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s5 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:f
sun_25k@/dev/rdsk $ ls -lrt|more
total 4464
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s0 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:a
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s1 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:b
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s2 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:c
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s3 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:d
lrwxrwxrwx 1 root root 49 Apr 19 2007 c0t8d0s4 -> ../../devices/pci@7d,700000/pci@1/scsi@2/sd@8,0:e
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s0 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:a
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s1 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:b
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s2 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:c
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s3 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:d
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s4 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:e
lrwxrwxrwx 1 root root 63 Apr 23 2007 c7t60060E80045B210000005B2100000044d0s5 -> ../../devices/scsi_vhci/ssd@g60060e
80045b210000005b2100000044:f
sun_25k@/dev/md/dsk $ ls -lrt
total 48
lrwxrwxrwx 1 root root 36 Apr 23 2007 d0 -> ../../../devices/pseudo/md@0:0,0,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d2 -> ../../../devices/pseudo/md@0:0,2,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d3 -> ../../../devices/pseudo/md@0:0,3,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d5 -> ../../../devices/pseudo/md@0:0,5,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d6 -> ../../../devices/pseudo/md@0:0,6,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d8 -> ../../../devices/pseudo/md@0:0,8,blk
lrwxrwxrwx 1 root root 36 Apr 23 2007 d9 -> ../../../devices/pseudo/md@0:0,9,blk
lrwxrwxrwx 1 root root 37 Apr 23 2007 d11 -> ../../../devices/pseudo/md@0:0,11,blk
lrwxrwxrwx 1 root root 37 Apr 25 2007 d24 -> ../../../devices/pseudo/md@0:0,24,blk
lrwxrwxrwx 1 root root 37 Apr 25 2007 d25 -> ../../../devices/pseudo/md@0:0,25,blk
lrwxrwxrwx 1 root root 37 Apr 25 2007 d26 -> ../../../devices/pseudo/md@0:0,26,blk
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
楼上说的有理
用disksuite作一遍系统盘镜象保证你就明白了
rdsk是连接到dsk的,md是对这两个设备处理之后的设备符号。
/dev/md下有dsk和rdsk但是md下还有shared、sx-app-dg 这些目录下还有rdsk和dsk
这些都是什么意思啊?
回复 4# sistrong
met设备是你做了metainit后生成的设备,裸设备是没有建立文件系统的
什么是META的设备,和裸设备有啥区别?
rdsk下是裸设备、dsk下是块设备、md/dsk下是meta的设备
有哪位大哥给指点下?