磁盘管理与文件系统管理.docx

  1. 1、本文档共14页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
磁盘管理和文件系统管理--------------段承龙5月4日第一部分磁盘结构扇区磁道柱面片逻辑上划分为slices,以柱面为基础。A disk under the Solaris OE can be divided into eight slices that arelabeled Slice 0 through Slice 7.(划分到0-7,一共8个slices)下图是柱面和slices的关系图:默认的片划分规则磁盘的命名规则/dev/[r]dsk/cwtxdysz 例子:/dev/dsk/c0t3d0s0 Cn:controller number 控制器号,标识被硬盘控制的加到系统上的逻辑顺序. c0代表第一个硬盘控制器,c1代表第二个硬盘控制器,类推. Tn:target number 目标号,是位于控制器内的地址,通常在外围设备的背面能找到目标号. 对SCSI硬盘,tx又称为“SCSI标识符“,控制器(cx)通过这个磁盘号对每个磁盘/硬盘独立寻址对磁盘阵列中,一组磁盘被模拟成单独的磁盘(一组磁盘看成一个磁盘),也用tx标识对IDE磁盘而言,tx只有0,1两个地址,master盘的tx是0,slave盘的tx是1Dn:disk number 硬盘号,代表连在目标上的设备的逻辑单位号.d0代表第一个硬盘,d1代表第二个硬盘,依次类推.对嵌入式SCSI控制器,硬盘驱动号总是0. Sn:slice or portition numer 片或分区号,标识硬盘的分区.设备名主要看cxtx两个数t 是target number,对于SCSI设备,就是对应的SCSI地址。一般SCSI硬盘都靠t来区分(因为c控制器,d lun, 经常是相同的,而s slice对硬盘来说都是0)c0t0d0s0?? ?第1硬盘c0t1d0s0?? ?第2个硬盘c0t6d0s0?? ?是内部光驱(SCSI光驱的SCSI地址经常6)ultra 5/10 的ATA硬盘(IDE接口)完全违背了上边的定义ultra5/10是IDE 接口,其设备号是光驱:第二通道 master c0t2d0硬盘:第二通道 slave c0t3d0违背了:应该:通道1是 c0,通道2是c2但ultra 的第2通道并不是c1,还是c0 应该:t代表scsi接口硬盘,对ide硬盘只有t0(master),t1(slave)但ultra 用t2,t3标识第二通道的IDE硬盘总之,utra 把IDE硬盘模拟成SCSI硬盘关系图(分两种)列出设备三种方法列出设备Using the /etc/path_to_inst ?le Using the prtconf command Using the format command/etc/pasth_to_inst注意:The /etc/path_to_inst ?le is maintained by the kernel, and it isgenerally not necessary, nor is it advisable, for the system administrator tochange this ?le.prtconf使用prtconf | grep -v not查看formatUse the format command to display both logical and physical devicenames for all currently available disks. To view the logical and physicaldevices for currently available disks,perform the command:# formatSearching for disks...doneAVAILABLE DISK SELECTIONS:0. c0t0d0 SUN4.2G cyl 3880 alt 2 hd 16 sec 135/pci@1f,0/pci@1,1/ide@e/dad@0,01. c1t0d0 SUN4.2G cyl 3880 alt 2 hd 16 sec 135/pci@if,0/pci@1/SUNW,isptwo@4/sd@3,0Specify disk (enter its number):识别设备使用devfsadmThe devfsadm command performs the device recon?guration process andupdates the /etc/path_to_inst ?le and the /dev and /devicesdirectories during recon?guration events.(实质

文档评论(0)

xiaofei2001129 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档