1752797 Members
5803 Online
108789 Solutions
New Discussion юеВ

LVM problem

 
SOLVED
Go to solution
Duffs
Regular Advisor

LVM problem

Hi,

After a reboot on a rx8620 I noticed that one of our lv's can not be mounted. The disk which it belongs to appears fine in the ioscan and other lv's are mounted that also use the same disk. the lvdisplay provides the following:

--- Logical extents ---
LE PV1 PE1 Status 1
00000 ??? 00632 current
00001 ??? 00633 current
00002 ??? 00634 current
00003 ??? 00635 current
00004 ??? 00636 current
00005 ??? 00637 current
00006 ??? 00638 current
00007 /dev/dsk/c19t1d1 00000 current

I have tried vgscan and recreating the lvmtab, fsck'ing the lv, and umounting the filesystem and remounting it etc - nothing appears to be working!

R,
D.
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: LVM problem

Shalom,

The disk these PE's are sitting on is bad nor not present.

You need to build a new logical volume, format a filesystem if necessary and restore the files from backup.

Its possible a hot plug disk is offline. Check dmesg for that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sandman!
Honored Contributor

Re: LVM problem

Most likely one of the PV(s) on which that lvol resides has gone bad. Are there any lbolt or SCSI messages in the syslog? What about any EMS events in the resmon logfile? Could you attach the output of lvdisplay on that particular lvol:

# lvdisplay -v /dev/vg??/lvol??

~thanks
Duffs
Regular Advisor

Re: LVM problem

Sandman,

There are no lbolt errors in the syslog nor are there any EMS alerts in resmon.

The lvdisplay output is enclosed.

R,
D.
Torsten.
Acclaimed Contributor

Re: LVM problem

There is something really wrong with your LUNs:

/dev/dsk/c19t1d1 12798 12798
/dev/dsk/c19t1d2 12798 12798
/dev/dsk/c19t1d3 12791 12791

add the PEs and you get
38387

But you should have
Current LE 38394
Allocated PE 38394

7 PEs are missing.

That are exactly the 7x ??? entries.

Based on this they should be on

/dev/dsk/c19t1d3

What is "pvdisplay -v" for this device is telling you?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Duffs
Regular Advisor

Re: LVM problem

Thanks for the feedback!

Issue is now resolved. I had to create a new vg and lv and reassign the fileystem to it before restoring the data to the new location.

Regards,
Duffs