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-19-2000 04:04 PM
07-19-2000 04:04 PM
pvcreate /dev/rdsk/c0t15d0
I get the message:
pvcreate: The physical volume already belongs to a volume group.
The disk pointed to by c0t15d0 is blank and about to be setup so its a mirror of another.
How do I find out which volume group its in ?
And how do I remove it from the volume group its in.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 04:16 PM
07-19-2000 04:16 PM
Re: pvcreate
vgdisplay -v
if your disk is not part of that list, it might be an old o/s on that disk, with a vg setup
you can handle with
pvcreate -f /dev/dsk/c0t5do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 04:40 PM
07-19-2000 04:40 PM
Re: pvcreate
strings /etc/lvmtab | more
and make sure the disk is really not known to LVM.
Make sure you have a valid copy of /etc/lvmtab when you do this. Believe me, it can be wrong! If you are uncertain, run the vgscan command. You can use preview mode (-p -v) option to view the scan but not make any changes. If you see differences and decide that a new lvmtab must be generated, run the command with (-a -v) to rebuild the lvmtab file. Before you do this, move the old one out of place. If anything strange occurs with the new lvmtab file, move the old one back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 04:47 PM
07-19-2000 04:47 PM
Re: pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 04:54 PM
07-19-2000 04:54 PM
Re: pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 07:50 PM
07-19-2000 07:50 PM
Re: pvcreate
The other comments in this thead are valid. There are a number of patches out there for LVM and it is not that unusual to find the lvmtab to be in error.
By chance, is this a drive that is part of an EMC array? The device number that you are using is very commonly used with an EMC as the gatekeeper device. Just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 07:55 PM
07-19-2000 07:55 PM
SolutionThere are a few questions that need to be answered.
1. run ioscan -fnC disk. Is it your disk claimed? Is the device file as /dev/dsk/c0t15d0?
2.run pvdisplay -v /dev/dsk/c0t15d0 is it shown as part of any vg? (what is the output?)
3. Is this disk an independent disk or the device is part of an array?
4. Follow Anthony suggestion vgscan -p -v. Is this disk part of any vg?
5. if run pvcreate -f /dev/rdsk/c0t15d0 (use raw device). What is the output?
6. If you can see the disk claimed, is not part of any vgs, and using pvcreate on raw device is not working, check if you have the following patches:
s700_800 11.00 cumulative SAM/ObAM patch(PHCO_19047)
s700_800 11.00 LVM commands cumulative patch(PHCO_20870)
s700_800 11.00 autox0 cumulative patch(PHKL_15955)
s700_800 11.00 fix race conditions in UP emulation(PHKL_16209)
s700_800 11.00 Invalid I/O sizes from JFS causes hangs(PHKL_18452)
s700_800 11.00 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch(PHKL_18543)
s700_800 11.00 Fibre Channel Mass Storage Driver Patch(PHKL_20207)
s700_800 11.00 LVM Cumulative patch(PHKL_20419)
Hope this helps. If not, come back with details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2000 01:32 AM
07-22-2000 01:32 AM
Re: pvcreate
# strings /etc/lvmtab --> shows all VG's entry along with thier PV. If you saw the entry like,
/dev/vgXX
/dev/dsk/c0t15d0
then PV /dev/dsk/c0t1d0 is a part of vgXX.
To remove physical volume /dev/dsk/c0t1d5 from volume group /dev/vgXX:
# vgreduce /dev/vgXX /dev/dsk/c0t1d5
Now try,
# pvcreate -f /dev/rdsk/c0t1d5
I think this should solve your problem.
Good luck.