- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New disks and volume groups
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-05-2005 10:21 PM
07-05-2005 10:21 PM
After having tried to add a few new disks to an HP9000 D380, I am trying to configure 3 old, functioning disks in an external HP box.
The problem comes out creating the new volume groups: I have 2 "old" disks on this machine, namely /dev/vg00 and /dev/vg01.
The /etc/lvmtab file has this devices:
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t5d0
/dev/vg01
/dev/dsk/c0t9d0
/dev/vg02
/dev/dsk/c1t3d0
If I try to create /dev/vg02, the system answers with "existing device".
If I try to remove /dev/vg02, I obtain
# vgremove /dev/vg02
vgremove: Volume group not activated.
If I try to activate /dev/vg02, I obtain an error since the device doesn't exhist anymore.
At last, I tried to create /dev/vg03, obtaining a new error:
vgcreate: Minor number of /dev/vg03/group is not unique.
/dev/vg04/group has the same minor number.
Can anybody please give me a suggestion on how to delete safely a volume group ?
Please help
Thank you
Enrico
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 10:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 10:25 PM
07-05-2005 10:25 PM
Re: New disks and volume groups
# vgexport /dev/vg02
will remove the volume group.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 10:26 PM
07-05-2005 10:26 PM
Re: New disks and volume groups
Try the vgexport command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 10:35 PM
07-05-2005 10:35 PM
Re: New disks and volume groups
Do a ll /dev/vg*/group to see all the used minor number.
crw-r----- 1 root sys 64 0x000000 Jul 4 11:09 /dev/vg00/group
crw-rw-rw- 1 root sys 64 0x010000 Jul 5 06:50 /dev/vg01/group
crw-rw-rw- 1 root sys 64 0x020000 Jul 6 11:13 /dev/vg02/group
Sixth column show the minor number.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 10:40 PM
07-05-2005 10:40 PM
Re: New disks and volume groups
You can use vgexport to remove a volumegroup when the disk is not present. Other command like vgremove will not work as the physical disk is not there.
If you have reduced the VG from those disk which you have removed, you should have removed the vg directory from the /dev directory
Eg: #rm -ir /dev/vg01
So please check is there any VG directory present in /dev directory other than VG00.
hope this may help
Jino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2005 11:41 PM
07-05-2005 11:41 PM
Re: New disks and volume groups
Use vgexport to remove the desired volume group
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 12:20 AM
07-06-2005 12:20 AM
Re: New disks and volume groups
Problem solved, after removing the /dev/vg02 group all of the VG creations have been done.
Enrico