Lost partition table after reboot on Linux

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.
 

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)