- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to make use of LVM disk under VxVM?
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
03-15-2004 07:15 AM
03-15-2004 07:15 AM
lab001:root:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t2d0 simple - - LVM
c0t5d0 simple rootdisk01 rootdg online
# vxdisk -f init c0t2d0
vxvm:vxdisk: ERROR: Device c0t2d0 is already in use by LVM.
How to get over this?
There is no longer group info for c0t2d0, and I don't care the content on the disk, and just want it to be online.
Jun
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 07:24 AM
03-15-2004 07:24 AM
Re: How to make use of LVM disk under VxVM?
# pvremove /dev/rdsk/c0t2d0
You should then be able to add it to a VxVM disk group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 07:26 AM
03-15-2004 07:26 AM
Re: How to make use of LVM disk under VxVM?
pvremove: /etc/lvmtab: No such file or directory
"/etc/lvmtab" could not be read into memory.
Jun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 07:32 AM
03-15-2004 07:32 AM
Re: How to make use of LVM disk under VxVM?
Run
# vgscan -av
followed by pvremove.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 07:43 AM
03-15-2004 07:43 AM
Re: How to make use of LVM disk under VxVM?
# vgscan -av
Creating "/etc/lvmtab".
Physical Volume "/dev/dsk/c0t5d0" contains no LVM information
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/c0t2d0
# pvremove /dev/rdsk/c0t2d0
pvremove: The physical volume "/dev/rdsk/c0t2d0" belongs to an exported volume g
roup.
pvremove: Couldn't remove physical volume "/dev/rdsk/c0t2d0".
The lvmtab is empty. What is the way I use the vgimport to get this disk under some vg? and will that work?
Jun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 07:55 AM
03-15-2004 07:55 AM
Re: How to make use of LVM disk under VxVM?
# pvdisplay /dev/dsk/c0t2d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t2d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t2d0".
Jun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 08:01 AM
03-15-2004 08:01 AM
Solution# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000
# vgimport vg00 /dev/dsk/c0t2d0
# vgremove vg00
# pvremove /dev/rdsk/c0t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 08:21 AM
03-15-2004 08:21 AM
Re: How to make use of LVM disk under VxVM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 01:29 AM
03-16-2004 01:29 AM
Re: How to make use of LVM disk under VxVM?
/etc/vx/bin/vxdestroy_lvmroot c0t2d0
target device (c0t2d0) is not a valid LVM root disk
Do you want this device destroyed anyway? [y/n]
y