ITPub博客

首页 > Linux操作系统 > Linux操作系统 > solaris磁盘命名规则

solaris磁盘命名规则

原创 Linux操作系统 作者:dalian2012 时间:2011-05-22 20:38:26 0 删除 编辑

solaris磁盘命名规则

Oracle Solaris OS systems use a standard naming convention to identify disk devices. Disk
device names identify a series of components that together specify a particular disk device.
The disk device name includes the controller, target, disk (or LUN), fdisk partition, and slice
that a particular disk device uses.
Examples of disk device names include the following:

  • c1t0d0s0: A SCSI disk device name that specifies controller 1, target 0, disk 0, and slice 0
  • c1d0p0: An IDE or SATA disk name on an x86/x64 system that specifies controller 1, disk 0, and fdisk partition 0
  • c1d0s0: An IDE or SATA disk name that specifies controller 1, disk 0, and slice 0
  • c5t12d0p0: A SCSI disk device name on an x86/x64 system that specifies controller 5, target 12, disk 0, and fdisk partition 0
  • c5t12d0s0: A SCSI disk device name that specifies controller 5, target 12, disk 0, and slice 0
  • c3t266000C0FFF7C140d31s2: A Fibre Channel attached LUN name that specifies controller 3, WWN 266000C0FFF7C140, LUN 31, and slice 2

These names identify the following components:

* Controller number: Identifies the host bus adapter (HBA), which controls communication between the system and disk unit. The HBA takes care of transferring both commands and data to and from the device. Controller numbers are assigned in sequential order, such as c0, c1, c2, and so on.

* Target number: Target numbers (such as t0, t1, t2, and t3) identify a unique hardware address assigned to the SCSI target controller of a disk, tape, or CD-ROM. Some external disk drives have an address switch located on the rear panel. Some internal disks have address pins that are jumpered to assign that disk’s target number. Names for IDE or SATA disks typically do not use target numbers, although on some systems they do. Fibre Channel attached disks may use a World Wide Name (WWN) instead of a target number.

* Disk number: The disk number is also known as the logical unit number (LUN). This number may vary from d0 if more than one disk can be attached at the target location.

* fdisk partition number: The fdisk partition number ranging from p0 to p4. The number p0 represents the whole physical disk. Device names that include fdisk partition IDs are found only on x86/x64 systems.

* Slice number: A slice number ranging from s0 to s7 on SPARC systems, and from s0 to s15 on x86/x64 systems

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24491349/viewspace-696001/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2011-05-12

  • 博文量
    2
  • 访问量
    4563