Linux system may become unbootable if root partition is configured in OS raw partition and others system partitions are configured in LVM

book

Article ID: 100026916

calendar_today

Updated On:

Description

Error Message

   

Error message during system boot:  


fsck.ext3: No such file or directory while trying to open /dev/vg00/lv00_var
/dev/vg00/lv00_var:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an fsck with an alternate superblock:
             e2fsck -b 8193

 

Cause

This issue occurs in case of LVM special configuration on boot disk, that is root partition is NOT in LVM but others are.

The problem occurs under following circumstances.

1) Configure partitions like /var, /opt, etc. as LVM volumes.
2) Leave the / on OS raw partition.
3) Open / Enable dmp native support
4) Reboot system.
5) System may become unbootable.

Currently DMP native support does not support above configuration.

The enhancement to make this configuration supportable is tracked via Symantec internal incident # 2726148.

Resolution

This enhancement would be included in the following patch releases:

5.1SP1RP3 and 6.0SP1

The workaround until a fix is released / applied is to use one of the following options:

1) Put all partitions including root partition (/) into LVM control, so through this way dmp root support will create a new initrd image which would prevent system boot issue

2) Disable dmp native support

# vxdmpadm settune dmp_native_support=off

 

 

Applies To

This issue is applicable only under following conditions:

- Linux system running Veritas Volume Manager (VxVM) 5.1, 5.1SP1 or 6.0.5

- Root partition (/) is configured under OS raw partition and other system partitions such as /var, /opt configured under LVM control

- DMP native support is enabled

# vxdmpadm gettune dmp_native_support
            Tunable               Current Value  Default Value
------------------------------    -------------  -------------
dmp_native_support                      on              off
#

Issue/Introduction

Linux system may become unbootable if root partition is configured in Operating System (OS) raw partition and others system partitions are configured in Logical Volume Manager (LVM). Sample /etc/fstab entry where some of the partitions are under LVM control and root partition is in OS raw partition: /dev/vg00/lv00_swap01 swap swap defaults 0 0
/dev/disk/by-id/scsi-3600508e00000000036ff7e3fb6992d08-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-3600508e00000000036ff7e3fb6992d08-part1 /boot ext3 acl,user_xattr 1 2
/dev/vg00/lv00_home /home ext3 acl,user_xattr 1 2
/dev/vg00/lv00_opt /opt ext3 acl,user_xattr 1 2
/dev/vg00/lv00_tmp /tmp ext3 acl,user_xattr 1 2
/dev/vg00/lv00_usr /usr ext3 acl,user_xattr 1 2
/dev/vg00/lv00_var /var ext3 acl,user_xattr 1 2
/dev/vg00/lv00_audit /var/log/audit ext3 acl,user_xattr 1 2

Additional Information

ETrack: 2726148