- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: *WEIRD* LVM problem...
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
Forums
Discussions
Discussions
Discussions
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
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
02-18-2005 03:22 AM
02-18-2005 03:22 AM
*WEIRD* LVM problem...
We've managed to "un-fubar" the system (I'm imagining it wouldn't reboot correctly) by creating a new lvmtab file (via vgscan) and doing some selective vgexport/vgimports on problem VG's. The original /etc/lvmtab file (or at least strings of it) was:
[/] root@rockwall #strings /etc/lvmtab.orig
/dev/vg00
/dev/dsk/c0t0d0
/dev/dsk/c0t2d0
/dev/dsk/c1t0d0
/dev/dsk/c1t2d0
/dev/vgRABlog1
/dev/dsk/c2t8d0
/dev/vgRABlog2
/dev/dsk/c2t8d1
/dev/vgRABother
/dev/dsk/c2t8d2
/dev/dsk/c4t8d2
And the "new" lvmtab file looks like:
[/var/adm/syslog] root@rockwall #strings /etc/lvmtab
/dev/vg00
/dev/dsk/c4t0d0
/dev/dsk/c4t2d0
/dev/dsk/c5t0d0
/dev/dsk/c5t2d0
/dev/vgRABlog1
/dev/dsk/c0t8d0
/dev/dsk/c2t8d0
/dev/vgRABlog2
/dev/dsk/c0t8d1
/dev/dsk/c2t8d1
/dev/vgRABother
/dev/dsk/c0t8d2
/dev/dsk/c2t8d2
Now we've got the problem fixed, but the important question is... what can cause this to happen? I've checked the /stand/ioconfig and /etc/ioconfig files, and they were last modified on Feb 6th (the last time the system was rebooted), but I am assured that nobody explicitly removed them (the only way I can think of that this would happen). Is there any way of determining the *create* time of a file (as opposed to the last modification time)? Any ideas/suggestions on how this could have happened?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 03:33 AM
02-18-2005 03:33 AM
Re: *WEIRD* LVM problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 03:41 AM
02-18-2005 03:41 AM
Re: *WEIRD* LVM problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 03:47 AM
02-18-2005 03:47 AM
Re: *WEIRD* LVM problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 03:48 AM
02-18-2005 03:48 AM
Re: *WEIRD* LVM problem...
I have heard of this type of isue occurring when WWN changes happen, and also one model of array I seem to recall could occasionally "hiccup" and do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 03:55 AM
02-18-2005 03:55 AM
Re: *WEIRD* LVM problem...
Again, my primary concern are the disks for vg00 -- how the heck can these guys "flip-flop".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 06:28 AM
02-18-2005 06:28 AM
Re: *WEIRD* LVM problem...
vgcfgrestore -f /etc/lvmconf/vg00.conf -l
vgcfgrestore -f /etc/lvmconf/vg00.conf.old -l
thanks,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 06:58 AM
02-18-2005 06:58 AM
Re: *WEIRD* LVM problem...
Volume Group Configuration information in "./vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 4 ----
/dev/rdsk/c4t0d0 (Bootable)
/dev/rdsk/c4t2d0 (Non-bootable)
/dev/rdsk/c5t0d0 (Bootable)
/dev/rdsk/c5t2d0 (Bootable)
[/etc/lvmconf] root@rockwall #vgcfgrestore -f ./vg00.conf.old -l
Volume Group Configuration information in "./vg00.conf.old"
VG Name /dev/vg00
---- Physical volumes : 4 ----
/dev/rdsk/c0t0d0 (Bootable)
/dev/rdsk/c0t2d0 (Non-bootable)
/dev/rdsk/c1t0d0 (Bootable)
/dev/rdsk/c1t2d0 (Bootable)
And no, c5t2d0/c1t2d0 should not *really* be bootable, but we had a rookie admin in here who, while he was mirroring the root disks, decided to pvcreate -B everything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 09:23 AM
02-18-2005 09:23 AM
Re: *WEIRD* LVM problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 10:15 AM
02-18-2005 10:15 AM
Re: *WEIRD* LVM problem...
Yeah, I had figured that the most likely culprit was that both /stand/ioconfig and /etc/ioconfig got nuked somehow, but I'm *pretty* certain nobody intentionally nuked it.
Do you know of any other way this could have happened, or if there are any processes/jobs that are known to nuke the ioconfig files?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2005 05:43 AM
02-19-2005 05:43 AM
Re: *WEIRD* LVM problem...
I have some boxes connected via Dual MacData switches to our SAN (IBM). A zoneing change on the switch would/could/might cause this problem.
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2005 07:42 PM
02-19-2005 07:42 PM
Re: *WEIRD* LVM problem...
Well disk device file names are complety based on hardware paths, so another possibility rather than iosconfig being reconstructed is that something changed in the hardware paths. As parts of the hardware path are based on FCIDs in SANs, these *can* change... can you post an ioscan -fn output?
(preferably as an attachment - that way it won't lose its formatting)
HTH
Duncan
I am an HPE Employee
