HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hp-ux 10.20 Cannot remove disk from logical volume...
Operating System - HP-UX
1833151
Members
3087
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-30-2006 09:38 AM
10-30-2006 09:38 AM
hp-ux 10.20 Cannot remove disk from logical volume management
Hi All,
I am having an issue with a disk on an HP-UX 10.20 system. Before responding let me clarify that pvremove does not exist on HP-UX 10.20.
When trying to run pvcreate, I get the following:
%pvcreate /dev/rdsk/c1t1d0
pvcreate: The physical volume already belongs to a volume group
This disk was in a volume group at one time, but I believe the admin before me did not remove the volume group cleanly. This disk device is not in my /etc/lvmtab and does not show up in my "vgdisplay -v" output. I have tried all of the following:
%vgcreate -f -s 4 /dev/dsk/c1t1d0
Device busy
%rm /etc/lvmtab
%vgscan -v
%newfs /dev/rdsk/c1t1d0
vxfs mkvs: /dev/rdsk/c1t1d0 is a logical volume device, cannot mkfs
This disk is a member of a 12H RAID5 array. 12/1.x.
I am completely baffled. How can I use this disk again?
Thanks
I am having an issue with a disk on an HP-UX 10.20 system. Before responding let me clarify that pvremove does not exist on HP-UX 10.20.
When trying to run pvcreate, I get the following:
%pvcreate /dev/rdsk/c1t1d0
pvcreate: The physical volume already belongs to a volume group
This disk was in a volume group at one time, but I believe the admin before me did not remove the volume group cleanly. This disk device is not in my /etc/lvmtab and does not show up in my "vgdisplay -v" output. I have tried all of the following:
%vgcreate -f -s 4 /dev/dsk/c1t1d0
Device busy
%rm /etc/lvmtab
%vgscan -v
%newfs /dev/rdsk/c1t1d0
vxfs mkvs: /dev/rdsk/c1t1d0 is a logical volume device, cannot mkfs
This disk is a member of a 12H RAID5 array. 12/1.x.
I am completely baffled. How can I use this disk again?
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 09:45 AM
10-30-2006 09:45 AM
Re: hp-ux 10.20 Cannot remove disk from logical volume management
Nevermind. I figured it out:
%insf -e
%rm /etc/lvmtab
%vgscan -v
%vgchange -a y
%pvcreate -f /dev/rdsk/c1t1d0
%insf -e
%rm /etc/lvmtab
%vgscan -v
%vgchange -a y
%pvcreate -f /dev/rdsk/c1t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 09:46 AM
10-30-2006 09:46 AM
Re: hp-ux 10.20 Cannot remove disk from logical volume management
Dieter,
Did you try pvcreate -f /dev/dsk/c1t1d0?
The -f option forces the creation of a physical volume (thus deleting any file system or volume manager information present)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 09:53 AM
10-30-2006 09:53 AM
Re: hp-ux 10.20 Cannot remove disk from logical volume management
You just need to use 'pvcreate -f' on the disk. That will (f)orce pvcreate to create LVM areas on the disk.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP