Lost partition table after reboot on Linux

book

Article ID: 100020605

calendar_today

Updated On:

Resolution

This behavior would be specific on Linux platform.
 
if disks became "online invalid", and unable to see any diskgroup name like below:
#vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
sda auto:none - - online invalid
sdb auto:none - - online invalid
sdc auto:none - - online invalid
 
then, unable to see any partition from below command:
# fdisk -l /dev/sdb
No paritions.
 
You could try below to fix the issue.
# /etc/vx/bin/vxdisksetup puboffset= format=sliced|cdsdisk
# vxdctl enable
 
*** Be careful!!.  the above command will recreate partition with initialize contents, so if private region size and format type is not default, then you could corrupt the user data, so please check previous configuration in /etc/vx/cbr/bk before execute command.  
 
then, see if disks could be seen as "online", and Diskgroup was imported.
For Linux, vxdisksetup command will create partition with whole disk size, and create priv/pub region. if not use -i option, then it would not initialize VM configuration, so old configuration will be preserved.
 

Issue/Introduction

Lost partition table after reboot on Linux