Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1007922.1
Update Date:2011-01-05
Keywords:

Solution Type  Problem Resolution Sure

Solution  1007922.1 :   VxVM sets incorrect device alias when mirroring between scsi and fibre drives  


Related Items
  • Veritas Storage Foundation (VxSF) Software
  •  
  • Sun Storage S1 Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - 3xxx Arrays
  •  

PreviouslyPublishedAs
210928


Symptoms
"Can't locate boot device" errors when trying to boot the alternate boot device of a disk located in an S1 tray with the primary boot device being an internal fibre channel drive.


Resolution
When Veritas mirrors an internal fibre boot disk to an external scsi disk, it
creates an incorrect devalias. Attempts to boot the alternate boot disk will
fail due to that incorrect alias.
System was a 280R with the OS on the internal fibre disk, mirrrored to an S1
disk attached to the LVD card. They had all of the QUS drivers and patches
installed, but every time that they tried to boot from the S1 disk, they would
get errors about not finding the device. "Can't locate boot device"

The problem turned out to be that the devalias that Veritas creates when
mirroring the boot disk incorrectly assumed that the mirror would also be a
fibre disk. The incorrect alias was this:

  devalias vx-disk01 /pci@8,600000/pci@1/scsi@5/disk@2,0:a
^^^^

The correct alias that would boot the disk was this:

  devalias vx-mirror /pci@8,600000/pci@1/scsi@5/sd@2,0:a
^^

Notice that when booting from a scsi device(non fibre), you must use the "sd"
prefix. If you boot from a fibre disk, then you can use the "disk" prefix.

You can then use the "eeprom" command to create the correct alias on the fly so
that it is available on the next reboot.

For example:

eeprom nvramrc='devalias vx-mirror /pci@8,600000/pci@1/scsi@5/sd@2,0:a'
eeprom boot-device="vxrootdisk vx-mirror"

This appends the new devalias to the nvramrc string.



Product
Sun StorageTek S1 Array
VERITAS Storage Foundation 4.0 Software
VERITAS Storage Foundation 4.0 Software (Localized)
VERITAS Storage Foundation 4.1 Software

lvd, qus, boot, vxvm, mirror
Previously Published As
81090

Change History
Date: 2005-04-04
User Name: 25440
Action: Approved
Comment: Audience changed to contract per FvF http://kmo.central/howto/FvF.html
Publishing.
Version: 3
Date: 2005-04-04
User Name: 25440
Action: Accept
Comment:
Version: 0
Date: 2005-04-01
User Name: 32443
Action: Approved
Comment: Edited the title to better reflect the topic and added in the appropriate technology areas.
Product_uuid
2a6a1264-0a18-11d6-85f5-ebacf433bde4|Sun StorageTek S1 Array
aea70032-21a1-11d6-900d-e576a4de8318|Network Storage
be574c64-b5c0-11d8-ab52-080020a9ed93|VERITAS Storage Foundation 4.0 Software (Localized)

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback