Lost partition table after reboot on Linux

Article: 100020605
Last Published: 2013-07-05
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Problem

Lost partition table after reboot on Linux

Solution

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 <disk> puboffset=<size> 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.
 

Was this content helpful?