fsck check of VxVM volume fails during boot.

This issue has been solved. See solution.
Nicolai's picture

I have a SUSE 10 SP1 running on a HP proliant DL385 (VxVM 5.0MP3) that fails fsck during startup because it can't stat /dev/vx/dsk/dsudg/lvol1. If I comment out the volume in /etc/fstab and boot  the host, I can mount the volume without any problem. None of my other 5 SUSE host have showed this issue before. I suspect VxVM isn't fully stared but I can't find the reason.

Any ideas are greatly appreciated !.

imagebrowser image

Gaurav Sangamnerkar's picture

Hello Nicolai, Was this ever

Hello Nicolai,

Was this ever working before ?

Also, was this disk encapsulated or manually added to group ?

From linux admin guide I see following:

Root disk encapsulation is only supported for devices with standard SCSI or
IDE interfaces. It is not supported for most devices with vendor-proprietary
interfaces, except the COMPAQ SMART and SMARTII controllers, which use
device names of the form /dev/ida/cXdXpX and /dev/cciss/cXdXpX.

Not sure if you are hitting the same...

Gaurav

Nicolai's picture

No encapsulation

It's a new install, so to answer you're question : no

However it's not root disk encapsulation - It's a out of the book disk group I use for disk staging in Netbackup. I have other host with the same config, but this host is the only one that bring me into Linux maintenance mode. If I in maintenance mode run /etc/init.d/vxvm-boot the /dev/vx/dsk/dsudg/lvol1 device becomes available. Also if I comment out the vxvm volume in /etc/fstab and boot into normal mode, I can mount the volume by hand without problems.

Regards

Nicolai

Gaurav Sangamnerkar's picture

hmm sounds

hmm sounds interesting...

could you paste contents of your fstab file here ?

Also, what is the filesystem on this vol ? its ext2/3 or vxfs ?

Gaurav

Nicolai's picture

it is a VxFS file syetem.

Hi again Gaurav.

It's a VxFS volume. And here the /etc/fstab

/dev/vgsystem/lvroot /                    ext3       acl,user_xattr        1 1
/dev/cciss/c0d0p1    /boot                ext3       acl,user_xattr        1 2
/dev/vgsystem/lvhome /home                ext3       acl,user_xattr        1 2
/dev/vgsystem/lvopt  /opt                 ext3       acl,user_xattr        1 2
/dev/vgsystem/lvtmp  /tmp                 ext3       acl,user_xattr        1 2
/dev/vgsystem/lvusr  /usr                 ext3       acl,user_xattr        1 2
/dev/vgsystem/lvvar  /var                 ext3       acl,user_xattr        1 2
/dev/vgsystem/lvopenv /usr/openv          ext3       acl,user_xattr        1 2
/dev/vgsystem/lvdsu   /diskstu2           ext3       acl,user_xattr        1 2
/dev/vgsystem/lvswap swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

# NOTE: When adding or modifying VxFS or VxVM entries, add '_netdev'
# to the mount options to ensure the filesystems are mounted after VxVM and
# VxFS have started.
/dev/vx/dsk/dsudg/lvol1 /diskstu2/dsu vxfs _netdev,log,mincache=closesync,largefiles 1 2
Kapalin's picture

Need to add hotplug option in fstab

Solution

Hi Nicolai,

Kindly follow the below technote to solve this issue.

http://support.veritas.com/docs/313255

Kapalin

Nicolai's picture

Today's hero.

Thanks Kaplin.

You are my hero of today. That tech note solved my problem.

Best Regards

Nicolai

Kapalin's picture

Hi

You are Welcome :)

Kapalin