- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- should i required to /etc/lvmtab
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
тАО05-22-2003 07:54 PM
тАО05-22-2003 07:54 PM
Should I move the /etc/lvmtab file out of the way and do
a vgscan to re-create the lvmtab file?
i am very new to this . please bear with me
jerry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 08:01 PM
тАО05-22-2003 08:01 PM
Solutionthis is some thing to be under stood also.
No, although moving the /etc/lvmtab file out of the way and doing a
vgscan to re-create the lvmtab file is done by some people in any
LVM situation, this statergy is incorrect. Often these steps will
make the situation worse, as in the case of replacing a failed disk.
Generally, there are only three situations that warrant recreation
of the lvmtab file:
- the original file is corrupt.
- There is no vgcfgbackup (mostly HP-UX 9.X).
- The vgcfgbackup is corrupt.
In the case of a disk drive going bad and being replaced, it's very
important to keep the original /etc/lvmtab file intact.
Use these steps when an LVM disk fails:
1. Power system down.
2. Replace disk.
3. Boot system.
4. Restore LVM information to the new disk:
vgcfgrestore -n /dev/vg /dev/rdsk/device
5. Re-activate the VG:
vgchange -a y /dev/vg
If the drive was mirrored, then no other steps are necessary. If
it was not mirrored, then you may have to restore the filesystems
data.
Note: If you had moved the /etc/lvmtab file and created a new one
before using vgcfgrestore to restore to the new disk, then
the lvmtab file will not have the new disk, thus causing
problems.
hope this will help u.
have a nice day
radhakrishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 08:02 PM
тАО05-22-2003 08:02 PM
Re: should i required to /etc/lvmtab
To replace faulty disk.
Assume that the disk belong to vg03 and the disk is /dev/dsk/c9t9d0.
Do:
1) Halt the system
2) Replace the disk
3)boot
4) vgcfgrestore -n vg03 /dev/dsk/c9t9d0
5) vgchange -a y vg03
if you got mirror do vgsync.
note:don't do anything to your /etc/lvmtab
hope this help
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 08:12 PM
тАО05-22-2003 08:12 PM
Re: should i required to /etc/lvmtab
you just have to run vgcfgrestore after replacing disk.
SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2003 08:15 PM
тАО05-22-2003 08:15 PM
Re: should i required to /etc/lvmtab
If you have a support contract with HP then you can get a copy of the "HP-UX Software Recovery Handbook" on the ITRC. Chp 7 on LVM provides excellent procedures for replacing failed disks in all situations (eg root, mirrored, hot swappable etc).
Cheers
Con