- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can not remove group
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
11-25-2002 02:49 AM
11-25-2002 02:49 AM
I want to remove group, when i use vgremove i got message: Volume group not activated. When i try vgchange -a y vg02 i got message: Couldn't attach to the volume group physical volume "/dev/dsk/vg02": Cross-device link.
First i've tried vgimport two times, first without mapfile, and later with mapfile.
How can i remove volume and group when i remove disk from system.
Best regards
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 02:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 02:54 AM
11-25-2002 02:54 AM
Re: Can not remove group
should not be there.. that's quite strange.
In /dev/dsk/ device files look like cXtYd0
the LVM device files should be located in /dev/vg02
strings /etc/lvmtab to verify the vg definition.
vgexport vg02
should work, then examine /dev/dsk/vg00 directory and remove it..
recreate the vg properly.
mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000
note the 0x020000
should not be present in the ouput of
ll /dev/*/group
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:04 AM
11-25-2002 03:04 AM
Re: Can not remove group
strings /etc/lvmtab shows me:
/dev/vg00
wo>U1
/dev/dsk/c3t5d0
/dev/vg01
wo>U=6fE
/dev/dsk/c3t9d0
I thnik something is wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:07 AM
11-25-2002 03:07 AM
Re: Can not remove group
#vgreduce -f /dev/vg02
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:12 AM
11-25-2002 03:12 AM
Re: Can not remove group
vexport will not works because it's not in the /etc/lvmtab.
whats in /etc/fstab ?
are you trying to vgimport or remove??
I'm sorry but I don't see exactly the problem.
Anything in the syslog?
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:17 AM
11-25-2002 03:17 AM
Re: Can not remove group
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:23 AM
11-25-2002 03:23 AM
Re: Can not remove group
since you have executed vgremove it might have remove vg02 entry in lvmtab file.
#mv /etc/lvmtab /etc/lvmtab.old
#vgscan
now you should be able to see vg02 in lvmtab if you are lucky.
pls post the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 03:37 AM
11-25-2002 03:37 AM
Re: Can not remove group
I'm trying to remove group and logical volume from an old server (i've remove a disk): lvremove -f /dev/vg02/lvol1, and i got message: The supplied lv number refers to a non-existent logical volume.
strings /etc/lvmtab shows me:
/dev/vg00
wo>U1
/dev/dsk/c3t5d0
/dev/vg01
wo>U=6fE
/dev/dsk/c3t9d0
/dev/vg02
wo>U=
/dev/dsk/c3t8d0
You think it's OK? (i mean wo>....)
I have made vgscan -a:
Creating "/etc/lvmtab".
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
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/c3t10d0
The c3t10d0 is an empty disk, c1t2d0 is a cdrom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 05:41 AM
11-25-2002 05:41 AM
Re: Can not remove group
you have to vgimport for the missing volumes.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065255412
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 06:37 AM
11-25-2002 06:37 AM
Re: Can not remove group
Don't worry about the wo>U=
in the lvmtab file. It's not a text file. Strings finds the printable characters in the file, so hence sometimes you get odd characters.
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 06:57 AM
11-25-2002 06:57 AM
Re: Can not remove group
Thanks for help
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2002 07:14 AM
11-25-2002 07:14 AM
Re: Can not remove group
It appears that you *don't* want /dev/dsk/dev/dsk/c3t10d0 and that you incorrectly "destroyed" its LVM information. If this is correct, do:
# pvcreate -f /dev/rdsk/c3t10d0
This will erase existing LVM headers from the device.
In the future, use 'lvremove' to remove a logical volume; use 'vgreduce' and 'vgremove' to remove volume groups; and/or use 'vgexport' to quicky remove a whole volume group; its logical volumes; and '/dev/' structures. I suggest your review these man pages ('man 7 lvm') and read the chapter on disk and filesystem maintenance in "Managing Systems and Workgroups: A Guide for HP-UX System Administrators":
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Regards!
...JRF...