Lost partition table after reboot on Linux

Article:TECH69216  |  Created: 2009-01-29  |  Updated: 2013-07-05  |  Article URL http://www.symantec.com/docs/TECH69216
Article Type
Technical Solution


Environment

Issue



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.
 


Legacy ID



321729


Article URL http://www.symantec.com/docs/TECH69216


Terms of use for this information are found in Legal Notices