Re: partition naming - newbie



Hi, i hope so that this knowledge will be helpful for you:

Disk Slice Naming Convention Slice Name Component Description
Controller number

Identifies the host bus adapter (HBA), which controls communications
between the system and disk unit. The HBA takes care of sending and
receiving both commands and data to the device. The controller number
is assigned in sequential order, such as c0, c1, c2, and so on.
Target number

Target numbers, such as t0, t1, t2, and t3, correspond to a unique
hardware address that is assigned to each 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.
Disk number

The disk number is also known as the logical unit number (LUN). This
number reflects the number of disks at the target location.
Slice number

A slice number ranging from 0 to 7.




------------------------------------------
Logical device names are symbolic links stored in the /dev directory.
Physical device names are kept in the /devices directory; they identify
hardware device locations.


----------------------------------------
nstance Names


Instance names are abbreviated names assigned by the kernel for each
device on the system.

An instance name is a shortened name for the physical device name. Two
examples are shown:

* sdn

where sd is the disk name and n is the number, such as sd0 for the
first SCSI disk device.

* dadn

where dad (direct access device) is the disk name and n is the
number, such as dad0 for the first IDE disk device.


n the Solaris OS, there are several ways to list a system's devices,
including:

* Using the /etc/path_to_inst file
* Using the prtconf command
* Using the format command
********************************************************************
The following example is an /etc/path_to_inst file with an FC-AL entry:

"/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020375b9ab6,0" 0 "ssd"
--------------------------------------------------------------------

# prtconf | grep -v not

The devfsadm command attempts to load every driver in the system and
attach all possible device instances. It then creates the device files
in the /devices directory and the logical links in the /dev directory.
In addition to managing these directories, the devfsadm command also
maintains the /etc/path_to_inst file.

# devfsadm

To restrict the operation of the devfsadm command to a specific device
class, use the -c option.

devfsadm -c device_class

The values for device_class include disk, tape, port, audio, and
pseudo. For example, to restrict the devfsadm command to the disk
device class, perform the command:

# devfsadm -c disk

Use the -c option more than once on the command line to specify
multiple device classes. For example, to specify the disk, tape, and
audio device classes, perform the command:

# devfsadm -c disk -c tape -c audio

To restrict the use of the devfsadm command to configure only devices
for a named driver, use the -i option.

devfsadm -i driver_name

The following examples use the -i option.

* To configure only those disks supported by the dad driver,
perform the command:

# devfsadm -i dad

* To configure only those disks supported by the sd driver, perform
the command:

# devfsadm -i sd

* To configure devices supported by the st driver, perform the
command:

# devfsadm -i st

For a verbose output of changes to the device tree, perform the
command:

# devfsadm -v

To invoke cleanup routines that remove unreferenced symbolic links for
devices, perform the command:

# devfsadm -C
-------------------------------------------------------------------------------------------------
Disk-based file systems are found on hard disks, CD-ROMs, diskettes,
and DVDs. The following are examples of disk-based file systems:

* ufs - The UNIX file system in the Solaris OS is based on the
Berkeley fast file system. Enhancements in the Solaris 10 OS allow the
ufs to grow to multiple terabytes in size.
* hsfs - The High Sierra file system is a special-purpose file
system developed for use on CD-ROM media.
* pcfs - The PC file system is a UNIX implementation of the disk
operating system (DOS) file allocation table (FAT32) file system. The
pcfs file system allows the Solaris OS to access PC-DOS formatted file
systems. Users can use UNIX commands for direct read and write access
to PC-DOS files.
* udfs - The Universal Disk Format file system is used for optical
storage targeted at DVD and CD-ROM media. The UDF file system allows
universal data exchange and supports read and write operations.
------------------------------------------------------------------------------------------------------
Distributed file systems provide network access to file system
resources.

* NFS - The network file system allows users to share files among
many types of systems on the network. The NFS file system makes part of
a file system on one system appear as though it were part of the local
directory tree.



-------------------
Andrzej Skar¿ycki wrote:
could you tell me something about partition devices in solaris, i am
accustomed to /dev/hd* under linux,
and i don't know what does /dev/dsk/some_strange_letters_and_digits mean.

.



Relevant Pages

  • Re: CORRUPTED HARD DRIVE
    ... You can run a windows command from a command prompt to turn off the check. ... you need to be aware this just turns off the boot time check and if the disk ... > indicate what is actually wrong, if anything, with the file system on C:). ...
    (microsoft.public.windowsxp.hardware)
  • Re: [SLE] Disk full
    ... It seems like all my deleted files are still there and I am unable ... There is a command line utility called du. ... utility to determine why your disk is full. ... is your /home directory a mounted file system or is it part of the ...
    (SuSE)
  • Re: [SLE] Disk full
    ... remove the files with the rm command and rm -r for folders. ... > utility to determine why your disk is full. ... is your /home directory a mounted file system or is it part of the ...
    (SuSE)
  • Re: Want to Add Hard Drives to E3500 On-the-Fly
    ... Do I have to run luxadm or ... > any other command before or after installation of the new hard drive? ... devfsadm to see the new disk. ...
    (comp.sys.sun.hardware)
  • Disk error
    ... I get the following error when I execute the command ... dump: Date of last level 0 dump: the start of the epoch ... Bad file system specification or bad file system. ... It seems that the disk is having HW problems. ...
    (Tru64-UNIX-Managers)