- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Invalid LVMREC on replaced disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 08:57 AM
тАО11-04-2002 08:57 AM
The steps all seemed to go OK. Now, however, I'm trying to add /depot to vg02. It seems to work, but I get these errors:
vgcfgbackup: Unable to read the physical volume: I/O error
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c3t15d0
c3t15d0 is the new disk.
There are 3 logical volumes that are supposed to have extents on c3t15d0 (not including opt2 and depot): lvol1, lvol2, and lvol3.
I've run string on /etc/lvmtab and it looks fine, as does /etc/lvmconf/vg02.conf. I ran
vgdisplay -v /dev/vg02, and lvol1 and lvol2 are fine. lvol3, however, shows as stale. There are indeed stale extents on c3t15d0 for lvol3. The PV Status on c3t15d0 shows "unavailable", and I *cannot* get a dd copy (to /dev/null) to work; I get this:
dd read error: I/O error
0+0 records in
0+0 records out
That would seem to indicate the disk is physically not working right, but it shows up correctly in "ioscan -fnC disk" and in "lssf /dev/dsk/c3t15d0"
I checked syslog.log, and there is a bad message from 1:55 this morning:
SCSI: unrecoverred deferred error (dev = 0x1f03f000, lba = 0x84d).
I don't know what this error means, but it certainly doesn't sound good.
I'm baffled how the disk can look fine in some commands, but then fail in dd, and how some extents can be "current" (for lvol1 and lvol2) but for lvol3, all the extents be "stale".
What should I do?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 09:25 AM
тАО11-04-2002 09:25 AM
SolutionHow did you add the disk to the new volume group ?
It looks as though there is either 'no' or 'corrupt' header information on the disk
If you can see the disk in lvmtab then vgreduce the volume
vgreduce /dev/vg02 /dev/dsk/c3t15d0
Then
pvcreate -f /dev/rdsk/c3t15d0
Then extend back into the volume group
vgextend /dev/vg02 /dev/dsk/c3t15d0
De activate the volume group
vgchange -a n /dev/vg02
Restore the lvm information back to the disk
Then vgcfgrestore -n /dev/vg02 /dev/dsk/c3t15d0
Re activate the volume group
vgchange -a y /dev/vg02
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 10:16 AM
тАО11-04-2002 10:16 AM
Re: Invalid LVMREC on replaced disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 11:05 AM
тАО11-04-2002 11:05 AM
Re: Invalid LVMREC on replaced disk
unmount the mirrored lvol for eg lvol4
Split the mirror of lvol14 to create lvol4 and lvol4b1.
lvsplit /dev/vg02/lvol4
Verify the disks you want to reduce out of the VG are associated with lvol1b by doing a:
lvdisplay -v /dev/vg02/lvol4b.
Remove the old mirror of lvol14:
lvremove -f /dev/vg02/lvol4b
Reduce out the disks from the VG:
vgreduce /dev/vg02 /dev/dsk/c3t15d0
Then follow procedure to pvcreate and re add to volume group and extend back onto mirror
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 11:13 AM
тАО11-04-2002 11:13 AM
Re: Invalid LVMREC on replaced disk
What other choices do I have but to shut down, pull the drive, turn it on (making it fail and look like a bad disk), and then start over?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 11:51 AM
тАО11-04-2002 11:51 AM
Re: Invalid LVMREC on replaced disk
Physical Volume /dev/dsk/c3t15d0 cannot be accessed - Aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 11:53 AM
тАО11-04-2002 11:53 AM
Re: Invalid LVMREC on replaced disk
You can't do that as you will effectively have a ghost disk in your lvol that will have to be reduced.
Whats the message when you attempt to split the lvol ?
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 12:10 PM
тАО11-04-2002 12:10 PM
Re: Invalid LVMREC on replaced disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2002 12:26 PM
тАО11-04-2002 12:26 PM
Re: Invalid LVMREC on replaced disk
Yes I suppose it is
Remove it then follow this doc
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011474
HTH
Steve