- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VxVM vxdisk ERROR
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
06-13-2007 07:29 AM
06-13-2007 07:29 AM
# /etc/vx/bin/vxdisksetup -i c1t0d0
VxVM vxdisk ERROR V-5-1-3421 Device c1t0d0 is already in use by LVM.
# /etc/vx/bin/vxdisksetup -if c1t0d0
VxVM vxdisk ERROR V-5-1-3421 Device c1t0d0 is already in use by LVM.
# ls -ld /etc/lvmtab
/etc/lvmtab not found
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0 auto:LVM - - LVM
c1t1d0s2 auto:hpdisk rootdisk01 rootdg online
How do I initialise this disk ? I am not using this disk for LVM.
Regards,
Kaps
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:32 AM
06-13-2007 07:32 AM
Solutionmight try
# pvremove /dev/rdsk/c1t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:33 AM
06-13-2007 07:33 AM
Re: VxVM vxdisk ERROR
pvremove: /etc/lvmtab: No such file or directory
"/etc/lvmtab" could not be read into memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:38 AM
06-13-2007 07:38 AM
Re: VxVM vxdisk ERROR
# pvcreate -f /dev/rdsk/c1t0d0
This will remove LVM header. Then use vxdisksetup to use the disk with VxVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:40 AM
06-13-2007 07:40 AM
Re: VxVM vxdisk ERROR
Regards, Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:42 AM
06-13-2007 07:42 AM
Re: VxVM vxdisk ERROR
If you are sure that you want to erase any information on the physical disk, do:
# dd if=/dev/zero of=/dev/rdsk/c1t0d0 bs=1024k count=10
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 07:59 AM
06-13-2007 07:59 AM
Re: VxVM vxdisk ERROR
The command "pvcreate" does make the disk device as "physical volume" to make it usable for LVM.
I should have given more clarification before. By running "pvcreate -f" you are removing the filesystem and LVM info like VGID etc. forcibly. Unless you get rid of this information which VxVM does check before using the disk, you can't initialise the disk under VxVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 08:10 AM
06-13-2007 08:10 AM
Re: VxVM vxdisk ERROR
Creating "/etc/lvmtab".
Physical volume "/dev/rdsk/c1t0d0" has been successfully created.
# /etc/vx/bin/vxdisksetup -i c1t0d0
VxVM vxdisk ERROR V-5-1-3421 Device c1t0d0 is already in use by LVM.
# /etc/vx/bin/vxdisksetup -if c1t0d0
VxVM vxdisk ERROR V-5-1-3421 Device c1t0d0 is already in use by LVM.
I have not tried the dd option, will do if nothing works.
Regards,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 08:22 AM
06-13-2007 08:22 AM
Re: VxVM vxdisk ERROR
I did a pvcreate followed by pvremove and then vxdisksetup worked.
Thanks for the help ..
Regards,
Kaps