vxdisksetup fails in labelling EFI disk

book

Article ID: 100021035

calendar_today

Updated On:

Resolution

vxdisksetup and vxdiskunsetup fails occasionally with error "error writing EFI partitions." An EFI disk in Solaris typically has a partition 8:

format -e /dev/rdsk/c2t50060E80004372C0d4
partition> p
Current partition table (original):
Total disk sectors available: 3132382 + 16384 (reserved sectors)

Part Tag Flag First Sector Size Last Sector
0 unassigned wm 0 0 0
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
7 unassigned wm 0 0 0
8 reserved wm 3132382 8.00MB 3148765


Executing a 'vxdisksetup -i' when partitions 0-7 are zeroed out will work but can sometimes fail due to how vxpartrm and vxpartrmall work in concert with fmthard.

Workaround #1: Using Solaris format, zero out partitions 0 thru 7 and then initialize with /etc/vx/bin/vxdisksetup

Workaround #2: Create LUNs less that 1TB in size.

A fix is tentatively set for SF 5.0MP3RP2.

 

Issue/Introduction

vxdisksetup fails in labelling EFI disk