Operating System - HP-UX
1830410 Members
2439 Online
110002 Solutions
New Discussion

vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

 
SOLVED
Go to solution
Syedfurquan
Trusted Contributor

vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Hello Expert,

 

I have 1 bl860c server running hp-ux 11.31 on it. Server get rebooted on its own and after that soem of the FS related to Oracle DB is not able to mount. 

From mount -a o/p it shows soem LV for the same VG is mounting while other 7 LV of that VG is not able to mount. Below is the mount -a o/p. Any help how to fix this issue?

 

# mount -a
mount: scrbfilbhbah101:/navisbackup is already mounted on /NavisBackup
mount: /dev/dbbkpvg/lv_nfsback is already mounted on /NFSback
mount: /dev/oracledg/lvol10 is already mounted on /archivelog
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_back failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u07 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u06 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u05 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u04 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u03 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u02 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_u01 failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
mount: /dev/vx/dsk/rootdg/usrvol is already mounted on /usr
mount: /dev/vx/dsk/rootdg/optvol is already mounted on /opt
UX:vxfs mount: ERROR: V-3-20005: read of super-block on /dev/oracledg/lv_oracle failed: I/O error
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
mount: /dev/vx/dsk/rootdg/varvol is already mounted on /var
mount: /dev/vx/dsk/rootdg/tmpvol is already mounted on /tmp
mount: /dev/vx/dsk/rootdg/homevol is already mounted on /home
mount: /dev/oracledg/lvol11 is already mounted on /home/express
mount: /dev/vx/dsk/rootdg/standvol is already mounted on /stand

 

 

Thanks in advance for any help.

 

Regards

Regards,
Syed
10 REPLIES 10
Robert_Jewell
Honored Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Show the output of the following:

 

# vgdisplay -v /dev/oracledg

 

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Syedfurquan
Trusted Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

HI Bob,

 

Thanks for the reply. Please find the requested o/p in the attachment.

 

I tried doing vgscan as belows but no result:

 

# mv /etc/lvmtab /etc/lvmtab.old

# vgscan -v

Creating "/etc/lvmtab".

vgscan: Couldn't access the list of physical volumes for volume group "/dev/oracledg".

vgscan: Couldn't access the list of physical volumes for volume group "/dev/dbbkpvg".

 

/dev/dbbkpvg

/dev/dsk/c2t1d0

 

vgscan:  has no corresponding valid raw device file under /dev/rdsk.

Verification of unique LVM disk id on each disk in the volume group /dev/oracledg failed.

 

Scan of Physical Volumes Complete.

*** LVMTAB has been created successfully.

*** Do the following to resync the information on the disk.

*** #1.  vgchange -a y

*** #2.  lvlnboot -R

Couldn't stat physical volume "/dev/dsk/c0t0d0s2": Invalid argument

Couldn't stat physical volume "/dev/dsk/c2t0d3": Invalid argument

Scan of Physical Volumes Complete.

 

after vgscan only 1pv is showing. Rest all pv for /dev/oracledg gone.

lvmtab o/p after vgscan chnages and shown below:

# strings /etc/lvmtab
/dev/dbbkpvg
/dev/dsk/c2t1d0

 

Regards,

Regards,
Syed
Syedfurquan
Trusted Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Hi Bob,

 

After doing vgscan vgdisplay o/p changed as follows:

 

# vgdisplay -v /dev/oracledg
vgdisplay: Volume group "/dev/oracledg" does not exist in the "/etc/lvmtab" file.
vgdisplay: Volume group "/dev/oracledg" does not exist in the "/etc/lvmtab_p" file.
vgdisplay: Cannot display volume group "/dev/oracledg".
# ll /dev/dsk
total 0
brw-r-----   1 bin        sys         31 0x000000 Jun 25  2012 c0t0d0
brw-r-----   1 bin        sys         31 0x000001 Jun 25  2012 c0t0d0s1
brw-r-----   1 bin        sys         31 0x000002 Jun 25  2012 c0t0d0s2
brw-r-----   1 bin        sys         31 0x000003 Jun 25  2012 c0t0d0s3
brw-r-----   1 bin        sys         31 0x020300 Jun 27  2012 c2t0d3
brw-r-----   1 bin        sys         31 0x021000 Jul 11  2012 c2t1d0
brw-r-----   1 bin        sys         31 0x021200 Jan  9  2013 c2t1d2
brw-r-----   1 bin        sys         31 0x021300 Jan  9  2013 c2t1d

 

Please help how to fix this issue.

 

Regards,

Syed

Regards,
Syed
Syedfurquan
Trusted Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Hi All,

 

Any help on this. Need to fix this issue ASAP.

Regards,
Syed
Robert_Jewell
Honored Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Couple things....

 

First off you should not have run vgscan when you were not sure of the situation.  At least running 'vgscan -p'  (preview) would have allowed you to see what the command was going to do.   Good thing you did save your original /etc/lvmtab file.   Move that back into place and try to activate the VG again.

 

From the vgdisplay you have a physical volume that is not accessible:

 

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d3"

 

There are a couple of logical volumes that are reporting that they are using zero PV (likely originally using c2t0d3):

 

 

LV Name                     /dev/oracledg/lv_u01
   LV Status                   available/syncd
   LV Size (Mbytes)            51200
   Current LE                  3200
   Allocated PE                3200
   Used PV                     0

   LV Name                     /dev/oracledg/lv_back
   LV Status                   available/syncd
   LV Size (Mbytes)            51200
   Current LE                  3200
   Allocated PE                3200
   Used PV                     0

 

 

First thing to do is get the device c2t0d3 back into the VG.  If the missing PV is a LUN on a disk array, perhaps you can recover it and gain your data back.   If not then you may have lost data in lv_back and lv_u01.

 

-Bob

 

 

 
----------------
Was this helpful? Like this post by giving me a thumbs up below!
Syedfurquan
Trusted Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Hi BOB,

 

As per your sggestion I moved /etc/lvmtab.old to /etc/lvmtab. Now I am able to see vgdisplay o/p with same warnings

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.

 

But in ioscan o/p all the disk are in CLAIMED:

# ioscan -fnC disk
Class     I  H/W Path       Driver S/W State   H/W Type     Description
=======================================================================
disk      0  0/2/1/0.0.0.0.0  sdisk   CLAIMED     DEVICE       HP      IR Volume
                           /dev/dsk/c0t0d0     /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0    /dev/rdsk/c0t0d0s2
                           /dev/dsk/c0t0d0s1   /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s1  /dev/rdsk/c0t0d0s3
disk      2  255/0/0.0.0.3  sdisk   CLAIMED     DEVICE       HP      HSV300
                           /dev/dsk/c2t0d3   /dev/rdsk/c2t0d3
disk      5  255/0/0.0.1.0  sdisk   CLAIMED     DEVICE       HP      HSV300
                           /dev/dsk/c2t1d0   /dev/rdsk/c2t1d0
disk      3  255/0/0.0.1.2  sdisk   CLAIMED     DEVICE       HP      HSV300
                           /dev/dsk/c2t1d2   /dev/rdsk/c2t1d2
disk      7  255/0/0.0.1.3  sdisk   CLAIMED     DEVICE       HP      HSV300
                           /dev/dsk/c2t1d3   /dev/rdsk/c2t1d3
#

 

If only 2 of the LV's are showing 0pv why I am not able to mount all other LV's in the same vg.

 

And "strings /etc/lvmtab" doesn't define about the root disk and lvlnboot o/p also failed:

 

# strings /etc/lvmtab
/dev/oracledg
/dev/dsk/c2t0d3
/dev/dsk/c2t1d2
/dev/dsk/c2t1d3
/dev/dbbkpvg
/dev/dsk/c2t1d0

 

# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c2t0d3":
The specified path does not correspond to physical volume attached to
this volume group
#

 

# diskinfo /dev/rdsk/c2t1d3
SCSI describe of /dev/rdsk/c2t1d3:
             vendor: HP
         product id: HSV300
               type: direct access
               size: 157286400 Kbytes
   bytes per sector: 512

# diskinfo /dev/rdsk/c2t0d3
diskinfo: can't open /dev/rdsk/c2t0d3: Device busy

 

How to fix my issue now, please suggest

 

Regards,

Syed

 

Regards,
Syed
Matti_Kurkela
Honored Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

From the ioscan output, it appears that c2t0d3 is a LUN from an external storage device... a HP EVA storage array, I think.

 

Even the diskinfo command fails with that LUN: it looks like the LUN is visible but not accessible. That probably means there is a major problem in the storage array. An EVA array has a built-in controller, which can be accessible in various ways, depending on the exact model of the array.

 

You should find a way to access the EVA array controller in some way: it might have its own dedicated management IP address in your network, or you might have to plug a serial cable to the array to access its management menus. If the array is managed by another person, contact him/her as soon as possible. Check the status of the EVA and its logs: you may find that multiple physical disks of the EVA have failed.

 

By presenting a non-functional LUN to the server, the array is effectively saying: "I have more failed disks than my RAID configuration can handle, I may or may not have already lost some of your data located on this LUN, HELP ME!!!"

MK
Bill Hassell
Honored Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Actually, the real problem is in the first lines shown from syslog:

 

>> read of super-block on /dev/oracledg/lv_back failed: I/O error

 

There is nothing else to do at this point but to replace the defective disk(s). I/O error is a hardware problem and no amount of fsck or mount options will fix it. If this is a LUN presented by an array controller (internal or external), then look at the logs to see what has failed.



Bill Hassell, sysadmin
Syedfurquan
Trusted Contributor

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Dear All,

 

We have replaced the failed disk  on storage end and and then storage admin created a new LUN on the disk mapped with this server. But when I do ioscan it doesn't show the new disk. It still shows only 3 disk. Is something I am missing at server end or storage admin is missing.

 We are not able to see the new disk.

 

Also guide me the steps to add the new disk in the same VG .

I tried vgreduce -f /dev/oracledg /dev/dsk/c2t0d3 but the command failed.

 

 

Thanks for all support in advance.

 

Regards

Regards,
Syed
Syedfurquan
Trusted Contributor
Solution

Re: vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

Hello Experts,

 

I was not able to see the new disk with ioscan o/p, then lastly I thought to reboot. I was very much sure that reboot will not make any change but to my surprise after reboot I am able to see the new disk with same LUN path.

 

Then I tried,

vgcfgrestore -n /dev/oracledg /dev/rdisk/c2t0d3

pvchange -a y /dev/disk/c2t0d3 

vgchange -a y /dev/oracledg

 

After this I am able to see the /dev/oracledg volume group without any error.

Then I created:

newfs -F vxfs /dev/oracledg/lv_u01

 

Hence resolved this issue and all file system are mounted properly. But I lost all data on the lv

 

Thanks all expert for your support to resolve this issue.

 

Regards,

 

Regards,
Syed