Operating System - HP-UX
1827809 Members
1986 Online
109969 Solutions
New Discussion

Re: file system file data read error

 
SOLVED
Go to solution
uniuser1
New Member

file system file data read error

I have the following error /dev/vg00/lvol8 file system file data read error.

I have tried to split it but get:-

The command used to split logical volumes /usr/sbin/lvsplit, has
failed. The stderr output from the command is shown below.
The logical volume has not been split.


lvsplit: Couldn't split the logical volume.
Synchronize the stale extents in the logical volume by running lvsync
Before lvsplit or one of the physical volumes is not responding.


So I then did an
lvsync /dev/vg00/lvol8
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvsync: Couldn't resynchronize logical volume "/dev/vg00/lvol8".

Logical Volume Volume Group Use Mbytes Copies Directory
lvol8 vg00 VxFS 512 1 /var

so I then ran lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c1t6d0

Where do I go from here ?

Any help would be appreciated
8 REPLIES 8
RAC_1
Honored Contributor

Re: file system file data read error

Looks like you have stale pes on lvol8 and a s a result you can split r lvsync it. I think do as follows.

lvdisplay -vk /dev/vgxx/lvol8
Note down pv number and using that lvreduce lvol's mirror copy. Then check disks involved.

lvreduce -m 0 -k /dev/vgxx/lvol8 /dev/dsk/cxtxdx
There is no substitute to HARDWORK
m saravanan
Valued Contributor

Re: file system file data read error

Have u tried to mount the Lvol after u did a "lvreduce"..? Still is it showing the same error message..? Pls brief.

check is there any stale PEs are there,
# lvdisplay -v /dev/vg00/lvol8|grep stale

see which PV is having the stale PE.
Still if u r facing problem, tru to boot the system throgh Alt. boot disk.

Otherwise u can try the following steps, if you have latest Ignite tape backup.

# lvremove /dev/vg00/lvol8
# lvcreate -L /dev/vg00
# newfs -F vxfs -o largefiles /dev/vg00/rlvol8
# mount /var

Put the Ignite tape in the tape drive
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0mn /var

Hope it will help u.


Regds,
Saravanan

uniuser1
New Member

Re: file system file data read error

lvdisplay -v /dev/vg00/lvol8|grep stale
LV Status available/stale
0047 /dev/dsk/c0t6d0 0722 current /dev/dsk/c1t6d0 0722 stale

AwadheshPandey
Honored Contributor

Re: file system file data read error

Put a dd command on that disk where lvol8 is for any i/o error.
dd if=/dev/dsk/c#t#d# of=/dev/null bs=1024

Regards,

Awadhesh
It's kind of fun to do the impossible
m saravanan
Valued Contributor

Re: file system file data read error

as RAC told, just run the command,
# lvdisplay -vk /dev/vg00/lvol8

see the PV Key of /dev/dsk/c1t6d0. I hope the PV key will be "1" only. Then reduce LV using the PV key,

# lvreduce -k -m 0 /dev/vg00/lvol8 1

then u try to mount the /var.

Regds,
saravanan

uniuser1
New Member

Re: file system file data read error

got the folloiwing error:
Physical extents on remaining physical volumes are stale or
Remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vg00/lvol8"
RAC_1
Honored Contributor
Solution

Re: file system file data read error

What commands did you use?
There is no substitute to HARDWORK
uniuser1
New Member

Re: file system file data read error

lvreduce -k 1 -m 0 /dev/vg00/lvol8