Solaris File System Management

Source: Internet
Author: User
Tags file system naming convention dmesg

(i) hard disk and file resources

The hard disk and CD-ROM devices use a block device interface. The hard disk device files are stored in the/dev directory.

The character device file is stored in the Rdsk subdirectory, and the block device file exists under the DSK subdirectory.

1. Logical hard disk device naming convention

/dev/[r]dsk/cwtxdysz

Example:

/dev/dsk/c0t3d0s0

Cn:controller number

The controller number that identifies the logical order on the system that is controlled by the hard drive.

C0 represents the first hard disk controller, C1 represents the second hard disk controller, and so on.

Tn:target number

The target number, which is located within the controller, is usually on the back of the peripheral device

Locate the target number.

Dn:disk number

The hard drive number that represents the logical unit number of the device attached to the target. D0 represents the first

Hard drive, D1 represents the second hard drive, and so on. For embedded SCSI controllers,

The hard drive number is always 0.

Sn:slice or Portition Numer

Slice or section number that identifies the partition of the hard disk.

2. DMESG command

The DMESG command identifies the device attached to the system with the instance name and the physical name. DMESG command also displays the system

Diagnostic information, operating system version number, size of physical memory, and other information.

Example:

The output information below is extracted from the output information of the previous DMESG example, and is identified to the system

Hard drive devices.

For each hard disk device, output three lines of information, respectively, indicating:

The instance name of the hard disk.

The physical device name of the hard disk.

The market name of the hard disk and the appearance information characteristics of the hard disk.

The logical device name of the hard disk is a symbolic connection to the physical device name of the hard disk. The instance name of the hard disk is the physical device life

The initials of the kernel. The Solaris command does not use this to represent the hard disk.

3.showrev command

(ii) hard disk partitions

The hard drive is accessed using character device files and block device files in the device directory. However, the hard drive does not

is accessed directly by the user, is accessed through the partition, the partition is the device file under the device directory to

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.