分类:
2011-08-05 09:48:05
在Solaris平台进行测试,共享磁盘的命名经常感觉很奇怪,有些很短,比如c1t2d1s1,但是有些就很长一串,比如c3t266000C0FFF7C140d31s2。另外有些还是c1t1p2,有些磁盘可以分区的最大值是8个,但是有些是14个。最后查了资料发现其中的命名规则,记录如下,仅供参考:
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:
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