VMware Cloud Community
Schorschi
Expert
Expert

Determine If Boot-From-SAN in %Pre Script? Old Question Looking For New Answer

Is there a /dev or /proc way to determine if boot-from-san is used? Maybe something to query for? Against the HBAs? Looking for SDA device or any SD device is not conclusive. Although for HP blades, it is one step closer given that HP cciss is often the local storage array, so that if SDA is a disk, beyond size of a flash drive, but still not conclusive. Just wondering if anyone has tried to do this. Like the subject line says... Old Question Looking For New Answer. Trying to figure out way to determine if boot-from-san in %pre script context, since we setup partititions different if boot-from-SAN versus using local DASD for ESM OS landing zone.

Tags (2)
0 Kudos
1 Reply
mcowger
Immortal
Immortal

Take a look at /proc/scsi/scsi, which is available during %pre.

Check the VENDOR and MODEL values for some relevant information.

For our machines, for example, our local drives look like:

Host: scsi1 Channel: 00 Id: 00 Lun: 00

Vendor: SEAGATE Model: ST936751SS Rev: SM04

Type: Direct-Access ANSI SCSI revision: 05

whereas our SAN luns look like:

Host: scsi2 Channel: 00 Id: 00 Lun: 01

Vendor: HITACHI Model: OPEN-V*16 Rev: 5009

Type: Direct-Access ANSI SCSI revision: 02

or

Host: scsi1 Channel: 00 Id: 00 Lun: 02

Vendor: 3PARdata Model: VV Rev: 0000

Type: Direct-Access ANSI SCSI revision: 05

HTH....

--Matt

--Matt VCDX #52 blog.cowger.us
0 Kudos