From the sample output, the SCSI ID is 0x111ca and the LUN is 1. The LUN is derived from the LUN ID, by right-shifting it 48 bit.
右移48bit,但是怎么从"0x1000000000000"到1
我还是没搞明白!作者: hovercat 时间: 2009-05-07 12:00
操作系统和带库型号报上来,大家看看。作者: xzc999 时间: 2009-05-07 12:28
Index DriveName DrivePath Type Shared Status
***** ********* ********** **** ****** ******
0 IBMDDSGen51 /dev/rmt0.1 pcd No DOWN
1 IBMULT3580-TD30 /dev/rmt1.1 hcart3 No UP
TLD(0) Definition DRIVE=1
Currently defined robotics are:
TLD(0) robot control host = backup
volume database host = backup
Standalone drive volume database host = backup
Press any key to continue
root@a:/veritas/openv/volmgr/bin#./robtest
No locally-controlled robots with test utilities are configured
root@a:/veritas/openv/volmgr/bin#lsdev -Cs fcp
dac0 Available 04-08-02 1722-600 (600) Disk Array Controller
dac1 Available 05-08-02 1722-600 (600) Disk Array Controller
rmt1 Defined 05-08-02 IBM 3580 Ultrium Tape Drive (FCP)
smc0 Defined 05-08-02 IBM 3582 Library Medium Changer (FCP)
root@a:/veritas/openv/volmgr/bin#lsdev -Cs scsi
hdisk0 Available 09-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 09-08-00-8,0 16 Bit LVD SCSI Disk Drive
rmt0 Available 09-08-00-6,0 LVD SCSI 4mm Tape Drive
ses0 Available 09-08-00-15,0 SCSI Enclosure Services Device
root@a:/veritas/openv/volmgr/bin#lsdev -C |grep SCSI
fscsi0 Available 04-08-02 FC SCSI I/O Controller Protocol Device
fscsi1 Available 05-08-02 FC SCSI I/O Controller Protocol Device
hdisk0 Available 09-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 09-08-00-8,0 16 Bit LVD SCSI Disk Drive
iscsi0 Available iSCSI Protocol Device
rmt0 Available 09-08-00-6,0 LVD SCSI 4mm Tape Drive
scsi0 Available 09-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi1 Available 09-08-01 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses0 Available 09-08-00-15,0 SCSI Enclosure Services Device
sisscsia0 Available 09-08 PCI-X Dual Channel Ultra320 SCSI Adapter作者: 无牙 时间: 2009-05-07 15:53
用odmget 看一下smc0的值,再建就行了。创建前要把smc0先删除了。作者: wolfheader 时间: 2009-05-07 16:05
看我的blog,哈哈
In the hexadecimal, binary, and octal number systems, Calculator displays only the lower digits of an answer when the result has more digits than your display size allows. This behavior mimics the way calculations work in computers.
For the hexadecimal number system, QWORD results can contain up to 16 digits (64 bits), DWORD results can contain up to eight digits (32 bits), Word results can contain up to four digits (16 bits), and Byte results can contain up to two digits (8 bits).
For example, using the hexadecimal number system displayed as Word, the largest result you can generate is FFFF (equal to 65535 in decimal). If you double that number (FFFFx2), the answer is 1FFFE. This contains five digits, so Calculator will display only the lower four digits of the answer: FFFE.
For the decimal number system, the three display sizes available are Degrees, Radians, and Grads.