- 论坛徽章:
- 0
|
10可用积分
在linux 下,经常是服务器重启后,机子的设备号就变了.请问大家有没有绑定设备号的工具,或方法?
重启前是这样的
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST3160815AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 03
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 04
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 05
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 06
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 07
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 00
Vendor: ADIC Model: Scalar 100 Rev: 2.62
Type: Medium Changer ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 01
Vendor: IBM Model: ULTRIUM-TD2 Rev: 333K
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 02
Vendor: IBM Model: ULTRIUM-TD2 Rev: 333K
Type: Sequential-Access ANSI SCSI revision: 03
重启后就可能是这样
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST3160815AS Rev: 3.AA
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 03
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 04
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 05
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 00
Vendor: ADIC Model: Scalar 100 Rev: 2.62
Type: Medium Changer ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 01
Vendor: IBM Model: ULTRIUM-TD2 Rev: 333K
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 01 Lun: 02
Vendor: IBM Model: ULTRIUM-TD2 Rev: 333K
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 06
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi4 Channel: 00 Id: 00 Lun: 07
Vendor: WA12FR Model: WA12FR Rev: 342I
Type: Direct-Access ANSI SCSI revision: 03
[ 本帖最后由 luoweiwei456 于 2009-2-20 15:26 编辑 ] |
|