- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot pvremove on symmetrix disk that is exported
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-04-2007 06:57 AM
04-04-2007 06:57 AM
# pvremove /dev/rdsk/c11t0d0
pvremove: The physical volume "/dev/rdsk/c11t0d0" belongs to an exported volume group.
pvremove: Couldn't remove physical volume "/dev/rdsk/c11t0d0".
# xd -An -j8200 -N16 -td /dev/dsk/c11t0d0
27637323 1174588932 27637323 1134569648
# xd -An -j8192 -N8 -tc /dev/dsk/c11t0d0
L V M R E C 0 1
As you can see, I can't pvremove to get rid of LVM structures not I have a way to bring it backinto VG. I tries creating a test VG and tried to add into it.
# vgcreate -f vgOT /dev/dsk/c11t0d0
vgcreate: Volume group "/dev/vgOT" could not be created:
Device busy
#
I tried vgcreate with and without -f option, with no change.
Is there anyway to get rid of LVM structures on this disk or anyway I can put this into some test VG.
Thanks you all for your replies.
Rajos
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 07:08 AM
04-04-2007 07:08 AM
Solutiondd if=/dev/zero bs=64k count=128 of=/dev/rdsk/c11t0d0
Be very careful using pvcreate -f or dd in this context because you may be clobbering an LVM disk on another box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 07:11 AM
04-04-2007 07:11 AM
Re: Cannot pvremove on symmetrix disk that is exported
You can do one of two things to erase the LVM information:
# /sbin/pvremove /dev/dsk/c11t0d0
(or):
# dd if-/dev/zero of=/dev/rdsk/c11t0d0 bs=64k count=100
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 08:13 AM
04-04-2007 08:13 AM
Re: Cannot pvremove on symmetrix disk that is exported
The /dev/zero file is there. This is a test server, so not much worry. The ps -aef|grep dd shows the pid and I tried kill pid and kill -9 pid. Both could not work. When I exited the shell, this was handed to init, so now it is zombie. I cannot kill it at all.
Any suggestions, how to get rid off it.
Thank you.
Rajos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 08:23 AM
04-04-2007 08:23 AM
Re: Cannot pvremove on symmetrix disk that is exported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 08:01 PM
04-04-2007 08:01 PM
Re: Cannot pvremove on symmetrix disk that is exported
# /sbin/pvremove /dev/dsk/c11t0d0
(or):
# dd if-/dev/zero of=/dev/rdsk/c11t0d0 bs=64k count=100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:40 AM
04-05-2007 03:40 AM