- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help with LVM
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
Discussions
Discussions
Forums
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
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
тАО02-28-2007 08:57 AM
тАО02-28-2007 08:57 AM
i am getting this error
root@host:/etc>pvcreate -f /dev/rdsk/ch5t0d2
pvcreate: The physical volume "/dev/dsk/ch5t0d2" is already recorded in the "/etc/lvmtab" file.
now, i can see it in lvmtab but this is just a remnant from a previous botched LVM. I tried vgremove, and vgexport, neither worked to remove it from lvmtab. Can anyone tell me how to remove from lvmtab so it lets me create this disk?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 09:02 AM
тАО02-28-2007 09:02 AM
Re: Help with LVM
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a
Note that /dev/rdsk/ch5t0d2 is a rather unusual device node name but that may be a typo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 09:03 AM
тАО02-28-2007 09:03 AM
Re: Help with LVM
Find out the VG it seems to "belong" in /etc/lvmtab, then run vgexport /dev/vgname. This will remove the volumgroup entry from /etc/lvmtab.
Ofcourse, the Volume group should be deactivated before you can export.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 09:08 AM
тАО02-28-2007 09:08 AM
SolutionYou can use 'vgscan' to recreate your '/etc/lvmtab'. Rename the old file first:
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -a -v
# vgchange -a y
# lvlnboot -R
...and then use 'vgreduce' and 'vgextend' as necessary to promote secondary 'pvlinks' to primary ones if you need to reorder alternate LVM links for high-availablity.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2007 09:08 AM
тАО02-28-2007 09:08 AM