- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvmtab file
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
08-09-2004 02:45 AM
08-09-2004 02:45 AM
Maybe I'm going about this the wrong way. Any help would be greatly appreciated. BTW, I'm running 11.0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 02:48 AM
08-09-2004 02:48 AM
Re: lvmtab file
Try copying the lvmtab file to lvmtab.bak and then re-create it with vgscan -a.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 02:53 AM
08-09-2004 02:53 AM
Re: lvmtab file
vgreduce should help
see man page examples
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 02:54 AM
08-09-2004 02:54 AM
SolutionPull the bad disk
Insert the new disk
# ioscan -fnC disk
to make sure the new disk is available
# vgchange -a y vg00
# vgcfgrestore -n vg00 /dev/dsk/c?t?d0
# vgsync vg00
And that does it.
A good reference for replaceing disks:
HP Software Recovery Handbook - Chapter 16 - LVM
http://www1.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C16%7C11
Look for the section on replacing disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 02:54 AM
08-09-2004 02:54 AM
Re: lvmtab file
This should set it up readsy again, then use vgsync to synchronise the mirrors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 02:57 AM
08-09-2004 02:57 AM
Re: lvmtab file
Else, pvcreate the disk, then try to add it.
If not, then you may need to remove the mirror then add the disk to the VG then restablish the mirrors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:01 AM
08-09-2004 03:01 AM
Re: lvmtab file
use vgrestore, if you didn't change the default, you should have a backup of vg configuration. The command vgrestore will restore the tables needed by LVM on the new disk
Let's say c0t6d0 is the disk replaced and vg00 is the name of your vg
first
pvcreate -B /dev/rdsk/c6t0d0
mkboot /dev/rdsk/c6t0d0
vgrestore vg00 /dev/dsk/c6t0d0
After this you should have the vg restored.
Try vgdisplay to see if both disks are seen
All you have to do is a vgsync to resync the lv copies
Maybe some commands need raw device instead of block device or viceversa, anyway the command will tell you. Only be sure to use the correct special file !!!
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:10 AM
08-09-2004 03:10 AM
Re: lvmtab file
vgcfgrestore, not vgrestore
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:16 AM
08-09-2004 03:16 AM
Re: lvmtab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:19 AM
08-09-2004 03:19 AM
Re: lvmtab file
What did you do?
No points please.