- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a VG
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
09-08-2000 09:23 AM
09-08-2000 09:23 AM
I'm trying to allocate more volumes to make another VG and lvol, but when I do, HPUX says those new volumes are part of an exported VG and that I should import them first.
Although it's possible that they might contain LVM data as they were probably assigned to a different server at one time, they shouldn't be a part of an exported VG on this server.
What is on them now is irrelevant, how does one make them contain no data so that I can use them?
I tried pvremove, but that's when it complains about the prior vg and suggests vgimport. Is vgexport data (even if used without a mapfile) kept on those volumes, or on the server exported from?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 09:33 AM
09-08-2000 09:33 AM
SolutionAs long as the PV's are not in use (listed in lvmtab or another system using the array) It is safe to pvcreate them. Since they may have belonged to a vg at one time you'll have to force it.
# pvcreate -f /dev/rdsk/c?t?d?
Only do this if you know they arent in use by another vg and are available to use. Are the PV's alternate path to pv's being used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 09:45 AM
09-08-2000 09:45 AM
Re: Adding a VG
I'll try the pvcreate -f thing and see if that clears them out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 09:49 AM
09-08-2000 09:49 AM
Re: Adding a VG
This other box that is connected to your EMC array.....is this EMC array also connected to your other boxes????? Are these boxes part of a MC/SG environment?
Although normally, SG and EMC will create a report that lists the disk address uniformly....I have seen it (..in fact I have this situation..) where you can have the EMC connected to multiple boxes and the same drive appears as /dev/dsk/c1t2d0 on one box but the same (..repeat the same disk) on the other box appears as c4t2d0.
This can get confusing and is very easy to 'make a major blunder' with.
Just a thought,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 10:08 AM
09-08-2000 10:08 AM
Re: Adding a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:00 AM
09-08-2000 11:00 AM
Re: Adding a VG
The possibility of stepping on another machine's mapping was one of the first things I checked out. The units I'm trying to add to this box are specifically listed as unassigned and their unit numbers don't match any of the missing ones (from HPUX's view) on the other box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:01 AM
09-08-2000 11:01 AM
Re: Adding a VG
The possibility of stepping on another machine's mapping was one of the first things I checked out. The units I'm trying to add to this box are specifically listed as unassigned and their unit numbers don't match any of the missing ones (from HPUX's view) on the other box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:03 AM
09-08-2000 11:03 AM
Re: Adding a VG
Hope this helps,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:17 AM
09-08-2000 11:17 AM
Re: Adding a VG
This would perhaps give you confidence that the data was really 'old'. You only then have to deactivate the group(s) and vgexport them to get rid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:29 AM
09-08-2000 11:29 AM
Re: Adding a VG
Following Physical Volumes belong to one volume group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c0t6d0
Only problem is, vgimport on WHAT? Why would I want to import a VG that's never been there before?
When I tried pvremove /dev/rdsk/c0t6d0, I got this:
The Physical Volume /dev/rdsk/c0t6d0 belongs to an exported Volume Group.
Couldn't remove /dev/rdsk/c0t6d0.
Where would it list exported volume groups?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:35 AM
09-08-2000 11:35 AM
Re: Adding a VG
I agree with Tim & John. I'd be very, very cautious about a forced pvcreate at this time. I have read your companion post too. In some senses, it appears that EMC "knows" how to map your disks and has a correct view of who owns what. Rather, it appears that LVM (on your other server, in your other post) has a screwy view.
You don't mention HP release and patch levels. Do you have a recent set of LVM cumulative patches in place?
Has anyone been doing any LVM maintenance lately? Any cables been replaced or are no longer properly terminated?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2000 11:55 AM
09-08-2000 11:55 AM
Re: Adding a VG
No recent cable work. In fact nothing changed on either box (or the EMC for that matter) for some time.
On the one that LVM can't see it's volumes, I just stumbled accross it when sar -d wouldn't pickup activity on the devices assigned to those data volumes.
The other box, I was trying to add another VG and assign it's volumes when I started getting the previous LVM data messages and it refused to add them.
Again, the volume IDs for the volumes that don't show up on the one box and won't add for the other are not the same. It doesn't rule out an EMC problem, but there is no indication that there is one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 09:55 AM
09-11-2000 09:55 AM
Re: Adding a VG
Thanks all.