- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM information dissappearing from 11i v1.6 host
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
07-05-2004 07:53 AM
07-05-2004 07:53 AM
LVM information dissappearing from 11i v1.6 host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 10:49 AM - last edited on 09-16-2024 02:20 AM by support_s
07-05-2004 10:49 AM - last edited on 09-16-2024 02:20 AM by support_s
Re: LVM information dissappearing from 11i v1.6 host
When you say that vgdisplay -v returns same information you mean on both systems at the same time?
I'm asking you this because sharing a VG between two hosts should be done really carefully. For instance the creation of the VG must be done following fixed steps
Most important: YOU CANT see the same time th VG from both hosts, it means you haven to change the booting scripts in order to avoid activating of VG on both systems.
On one host do vgchange -a y, on the other do nothing or vgchange -a s (the value for sharing , i'm not sure it is s, see man vgchange)
Anyway you will see all VG info only on a host, to chaneg the host you must do vgchange -a n on the first one and vgchange -a y on the other
Alse creating the VG you must be sure that the ID are taken from the tables on disks so create the VG on one host, vgexport -p -s -m /tmp/lvmap /dev/vgXX, copy the file /tmp/lvmap on host 2 and run vgimport -s -m /tmp/lvmap /dev/vgXX
Hope this helps
- Tags:
- storage controller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 02:16 PM
07-05-2004 02:16 PM
Re: LVM information dissappearing from 11i v1.6 host
But, you do risk what is commonly called dual brain syndrome. But you will need to use raw volumes not file systems or the data stored within will be corrupted.
If that doesn't work, then I'd suspect the software you are using for arbitration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 08:28 AM
07-08-2004 08:28 AM
Re: LVM information dissappearing from 11i v1.6 host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 11:07 AM
07-08-2004 11:07 AM
Re: LVM information dissappearing from 11i v1.6 host
Even SG does not open both in writing mode:
the primary node for the package (sofware configured to swicth between 2 or more nodes through SG) does a vgchange -a y, the other nodes do nothing on that vg. When SG feels that the primary node is done, start the package on a secondary node doing, execing first of all a vgchange -a y.
I made some tries on scratch vg and what i found is that the two hosts doesn't understand the other is using the vg, what is really happening is that both of them change the file system tables destroying the file system itself.
If you want to have both of them using the vg in writing mode it's really a though work because you have to sync the writings operation on both nodes being sure that before one starts writing and modifying the tables, the other has synced all modifications made to superblock, inode table or whatever: i would avoid that !!!
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 08:51 PM
07-08-2004 08:51 PM
Re: LVM information dissappearing from 11i v1.6 host
marking the VG cluster-aware (-c y) and activating it exclusively (-a e) is only possible if Serviceguard cluster services are running on the system. Part of these services are cmcld and cmlvmd which ensure that the VG is only active on one node of the cluster then.
As others already mentioned, you *MUST* ensure that the VG is *NOT* activated r/w on more than one system.
However, you are talking about 11.22... I remember a similar problem where some EFI (backup) structures were left at the end of one of those affected disks. During bootup EFI found the backup copy and restored the EFI header at the begining of the disk... and consequently wiped out the LVM header. :-(
Could it be possible that the disks in question were boot disks for some OS in the past? In this case you could try to completely erase them before re-creating the VG.
Just a guess...
Dietmar.