- 论坛徽章:
- 0
|
Logical Device Name
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. 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:
total 96
lrwxrwxrwx 1 root root 42 Jan 10 00:16 c0t6d0s0 ->
[email=../../devices/pci@8,700000/scsi@1/sd@6,0:a]../../devices/pci@8,700000/scsi@1/sd@6,0:a[/email]
lrwxrwxrwx 1 root root 42 Jan 10 00:16 c0t6d0s1 ->
[email=../../devices/pci@8,700000/scsi@1/sd@6,0:b]../../devices/pci@8,700000/scsi@1/sd@6,0:b[/email]
lrwxrwxrwx 1 root root 42 Jan 10 00:16 c0t6d0s2 ->
[email=../../devices/pci@8,700000/scsi@1/sd@6,0:c]../../devices/pci@8,700000/scsi@1/sd@6,0:c[/email]
lrwxrwxrwx 1 root root 42 Jan 10 00:16 c0t6d0s3 ->
[email=../../devices/pci@8,700000/scsi@1/sd@6,0:d]../../devices/pci@8,700000/scsi@1/sd@6,0:d[/email]
lrwxrwxrwx 1 root root 42 Jan 10 00:16 c0t6d0s4 1
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf789b9d,0:h]0:h[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s0 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:a]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:a[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s1 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:b]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:b[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s2 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:c]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:c[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s3 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:d]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:d[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s4 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:e]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:e[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s5 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:f]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:f[/email]
lrwxrwxrwx 1 root root 70 Feb 17 06:27 c1t3d0s6 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:g]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f89ca1,0:g[/email]
.
.
* output has been truncated
on the second line of output from the ls -l command,ntice that the logical device name c1t4d0s4 is linked to the physical device name, as shown in the
bash-3.00# ls -l /dev/dsk |grep c1t4d0s4
lrwxrwxrwx 1 root root 70 Jan 10 00:16 c1t4d0s4 ->
[email=../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf789761]../../devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf789761[/email]
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/9710/showart_102101.html |
|