
To see a list of logical device names for the disks connected to a SPARC system, execute a long listing on the /dev/dsk directory as follows: # ls -l /dev/dskPlatform(s): Solaris SPARC, Solaris x86 Java version(s): 8.0. Both SPARC and x86 systems use logical device names, but they differ slightly on each platform. The final stage of the autoconfiguration process involves the creation of the logical device name to reflect the new set of devices on the system. This document is showing ways to find processor information in Solaris and on Service Processsor. Solaris Operating System - Version 8 and later Oracle Solaris on x86-64 (64-bit) Oracle Solaris on SPARC (64-bit) Oracle Solaris on SPARC (32-bit) Oracle Solaris on x86 (32-bit) Checked for relevance on 1 Purpose.

Some external disk drives have an address switch located on the rear panel. Target number ( t#): Target numbers, such as t0, t1, t2, and t3 correspond to a unique hardware address that is assigned to each disk, tape, or DVD-ROM. The controller number is assigned in sequential order, such as c0, c1, c2, and so on. Controller number ( c#): Identifies the host bus adapter, which controls communications between the system and disk unit. There are On the second line of output from the ls -l command, notice that the logical device name c1t0d0s0 is linked to the physical device name, as shown in the following: SPARC systems, you’ll see an eight-string logical device name ( c#t#d#s#) for each disk slice that contains the following:
Slice number ( s#): A slice number ranging from 0 to 7.On the x86 platform, IDE and SATA disk drives do not use target controllers. The disk number is always set to 0 on embedded SCSI controllers. This number reflects the number of disks at the target location. Disk number ( d#): The disk number is also known as the logical unit number (LUN).
t1: Slave device on the primary IDE bus t0: Master device on the primary IDE bus Target values on these systems are as follows: Because IDE disks do not use target controllers, these disks use a t# value to represent the identity of the disks on its primary and secondary IDE buses.
This was done to allow Oracle Solaris to coexist with other x86-based OSs, such as for dual-boot configurations.This difference in slicing brings some differences in the naming of disk devices on an x86-based system. On Oracle Solaris for SPARC, slices and partitions are one and the same on Oracle Solaris for x86, slices are “subpartitions” of a fixed disk ( fdisk) partition table. Disk partitioning on Oracle Solaris for the x86 platform has one more level than that of Oracle Solaris for SPARC. t3: Slave device on the secondary IDE busThe following is an example of IDE disks on an x86-based server: # ls -l /dev/dskLrwxrwxrwx 1 root root 45 Jan 23 18:11 c0t0d0s0 -> 1 root root 45 Jan 23 18:11 c0t0d0s1 -> 1 root root 44 Jan 23 18:11 c1t1d0s0 -> 1 root root 44 Jan 23 18:11 c1t1d0s1 -> Oracle Solaris systems have a different disk-naming convention, but before describing the logical device name for a disk on an x86-based system, it’s worth pointing out a fundamental difference between disk slicing on a SPARC system and disk slicing on an x86-based system.
Oracle Solaris X86 Code And Contains
GRUB is described in Chapter 3. On the x86 system, slice 8 is used to hold boot code and contains the GRUB stage1 program in sector 0, the disk label, the VTOC in sectors 1 and 2, and GRUB stage2 program beginning at sector 50. To support the x86 environment, the format utility also has an added command called fdisk to deal with the fdisk partitions.Oracle Solaris x86-based systems have 16 slices (numbered 0-15) versus 8 for SPARC. The entire drive is named c#t#d0p0, and the fdisk partitions (maximum of 4) are c#t#d0p1 through c#t#d0p4. However, because slices are within an fdisk partition table, the x86 partitions have their own device names.
s is the slice number ranging from 0 to 15. The major differences between the logical device names used on SPARC-based systems versus x86-based systems are as follows: Higher slices are available for use but are not supported by format at this time, and the format utility will only allow you to modify slices 0–7.
c1d0p0: An IDE disk name on an x86-based system that specifies controller 1, disk 0, and fdisk partition 0 c1t0d0s0: A SCSI, SAS, or SATA disk device name that specifies controller 1, target 0, disk 0, and slice 0 For example, two controllers are installed on an x86 PC:On an x86-based system, the following devices are listed in the /dev/dsk directory for a SATA disk, target 0: c1t0d0p0 c1t0d0s1 c1t0d0s15 c1t0d0s7Examples of logical device names are the following: P0 represents the entire disk.If an IDE drive is used, d is used to determine MASTER or SLAVE, and the t is not used for IDE drives. This number ranges from p0 to p4.
Move a disk from one system to another. Logical device names are used to access disk devices if you do any of the following: c3t266000C0FFF7C140d31s2: A Fibre Channel attached LUN name that specifies controller 3, WWN 266000C0FFF7C140, LUN 31, and slice 2On both SPARC-based and x86-based systems, the logical device name is the name that the system administrator uses to refer to a particular device when running various file system commands.For example, if running the mount command, use the logical device name /dev/dsk/c0t0d0s7 to mount the file system /home: # mount /dev/dsk/c0t0d0s7 /homeLogical device files in the /dev directory are symbolically linked to physical device files in the /devices directory. c2t11d0s0: A SCSI, SAS, or SATA disk device name that specifies controller 2, target 11, disk 0, and slice 0 c2t11d0p0: A SCSI, SAS, or SATA disk device name on an x86 system that specifies controller 2, target 11, disk 0, and fdisk partition 0
Please note that other Pearson websites and online products and services have their own separate privacy policies. Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. The “r” in rdsk stands for “raw.” You may even hear these devices referred to as “cooked” and “uncooked” devices.The /dev/dsk directory contains the disk entries for the block device nodes in /devices, as shown in the following command output: # ls -l /dev/dskThe /dev/rdsk directory contains the disk entries for the character device nodes in /devices, as shown in the following command: # ls –l /dev/rdskLrwxrwxrwx 1 root root 58 Jan 21 07:59 c1t0d0s0 -> 1 root root 58 Jan 21 07:59 c1t0d0s1 -> 1 root root 58 Jan 21 07:59 c1t0d0s2 -> 1 root root 58 Jan 21 07:59 c1t0d0s3 ->. The /dsk directory refers to the block or buffered device file, and the /rdsk directory refers to the character or raw device file. Table 4-2 Device DirectoriesRaw or character interface to disk devicesMetadevices managed by Oracle Solaris Volume Manager (SVM)Disk drives have an entry under both the /dev/dsk and /dev/rdsk directories.
