- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A twister
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
04-08-2002 10:32 AM
04-08-2002 10:32 AM
Both machines can see all drives in both units, with the same device file names. However, I was able to create a volume group with two drives on one of the node's that are being used in VG's on the 2nd node.
The question is: Why wasn't my pvcreate on one the disk devices halted since they are indicated to be in use, and, why was I subsequently able to create a vg, with the two of these disks in a pvg and create lv's (five) and mount them on filesystems?
I just finished running some dd's on all of the drives in each cabinet, and both systems identify the same devices with the same device names.
The only solution I can think of is, the particular device names I used were not shown to be in an active vg in /etc/lvmtab, but then, what happened to the structures on the disk? I went to the other system and verified that the file systems were intact.. (i.e. cluster is still up and app is still running)
Mike-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 10:40 AM
04-08-2002 10:40 AM
Re: A twister
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:17 AM
04-08-2002 11:17 AM
Re: A twister
In order not to confuse, let's say system1 has disk1 and disk2 configured into vg01. system2 can see disk1 and disk2. If you use pvcreate -f on disk1 and disk2, it is going to erase the VGID on these disks. If there is no data and if the file systems are mounted on system1, you will not see any errors for sometime. After vg02 up and running on system2 with disk1 and disk2, unmount the filesystems on system1, do a vgchange -a n and vgchange -a y, then it is going to bomb out. Or a reboot of system1 will prove it.
If you have data on system1 on these disks, you are going to lose it. If you just did pvcreate -f on these disks on system1 and didn't write any data into the filesystems, then you can recover these disks on system1 by using vgcfgrestore command. You will need to vgexport the volume groups on system2 before doing this ofcourse.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:25 AM
04-08-2002 11:25 AM
Re: A twister
If you are sure of the disk path tehn use pvcreate -f option to initialise the disk , there may be some resident old lvm information which will not allow you to run pvcreate by itself.
Manoj Srivastava.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:27 AM
04-08-2002 11:27 AM
Re: A twister
However, I never wrote any data to the filesystems on system2, nor did I deactivate the vg on system1. What I did do was to unmount fs, lvreduce, lvremove, vgreduce and vgremove on system2 to eliminate this vg.
I went to system1 and did a lvdisplay and it looks ok...
Is the vgcfgrestore I need to do, or is it even necessary?
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:38 AM
04-08-2002 11:38 AM
Re: A twister
but in syslog you can read scsi reset?
when you mount a filesystem on system1 and than you mount a file system on system2, you must wait for some minute?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:47 AM
04-08-2002 11:47 AM
SolutionTo create the problem, unmount all the filesystems on system1, then do a vgchange -a n and vgchange -a y (if it is part of MC/ServiceGuard then vgchange -a n and vgchange -a e). vgchange -a e|y should fail. Also if you do a vgdisplay, you should see errors like "disk doesn't correspond to volume group" etc., This is exactly what is going to happen when you reboot the system next time or bring up MC/ServiceGuard package. If you have data, you will definitely see read and I/O errors.
Yes. You need to export the volume group on system2 and do a vgcfgrestore on all the disks followed by vgchange -a y.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 04:23 AM
04-09-2002 04:23 AM
Re: A twister
I went ahead and removed the new lv structures that I created and removed the vg/pvg.. Also did a vgcfgrestore on the disks affected. However, I did it with the vg still activated so there was no need to do a vgchange -a y
Thanx for your help.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 05:43 AM
04-09-2002 05:43 AM
Re: A twister
-Sri