HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirror disk replacement - gone horribly wrong
Operating System - HP-UX
1840111
Members
2805
Online
110161
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-22-2007 08:53 PM
01-22-2007 08:53 PM
Hi all,
Last night we had our mirrored root disk replaced by an engineer. The process he followed was clearly wrong which involved initially replacing the disk online and then re-booting. There needed to be a step in the middle where the server was brought into single user or maintenance mode and the vgcfgrestore command ran. Ok the server did re-boot however its not in a great state now. The filesystems are mounted and application running however vgdisplay claims the replacement disk which is showing as claimed cannot be queried. I guess this is because it has no header info. Ideally it would be great if we could just get this disk out of the vg00 config but that is not possible. I am also very concerned by the vgscan -p (preview) output which claims it cannot re-create the lvmtab file so I can't re-create. It says:-
]vgscan -p
vgscan: Warning: couldn't query physical volume "/dev/dsk/c7t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c4t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c7t6d0" is already recorded in the "/etc/lvmtab" file.
Physical Volume "/dev/dsk/c5t2d0" contains no LVM information
Physical Volume "/dev/dsk/c7t6d0" contains no LVM information
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
I can't pvcreate the disk or anthing as its referenced in lvmtab.....HP are investigating but I thought I'd ask the question here as usually get a good response.
Last night we had our mirrored root disk replaced by an engineer. The process he followed was clearly wrong which involved initially replacing the disk online and then re-booting. There needed to be a step in the middle where the server was brought into single user or maintenance mode and the vgcfgrestore command ran. Ok the server did re-boot however its not in a great state now. The filesystems are mounted and application running however vgdisplay claims the replacement disk which is showing as claimed cannot be queried. I guess this is because it has no header info. Ideally it would be great if we could just get this disk out of the vg00 config but that is not possible. I am also very concerned by the vgscan -p (preview) output which claims it cannot re-create the lvmtab file so I can't re-create. It says:-
]vgscan -p
vgscan: Warning: couldn't query physical volume "/dev/dsk/c7t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c4t6d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c7t6d0" is already recorded in the "/etc/lvmtab" file.
Physical Volume "/dev/dsk/c5t2d0" contains no LVM information
Physical Volume "/dev/dsk/c7t6d0" contains no LVM information
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
I can't pvcreate the disk or anthing as its referenced in lvmtab.....HP are investigating but I thought I'd ask the question here as usually get a good response.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:36 PM
01-22-2007 09:36 PM
Solution
Shalom,
Yes a mistake was clearly made.
Try this:
mv /etc/lvmtab /etc/lvmtab.save
vgscan -a
Follow any instructions after that displayed by the utility and see if you can pvcreate after clearing the problem.
SEP
Yes a mistake was clearly made.
Try this:
mv /etc/lvmtab /etc/lvmtab.save
vgscan -a
Follow any instructions after that displayed by the utility and see if you can pvcreate after clearing the problem.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:40 PM
01-22-2007 09:40 PM
Re: mirror disk replacement - gone horribly wrong
The problem is as explained above its not letting me vgscan
vgscan -a -p
vgscan: The physical volume "/dev/dsk/c4t6d0" is already recorded in the "/etc/lvmtab " file.
vgscan: The physical volume "/dev/dsk/c7t6d0" is already recorded in the "/etc/lvmtab " file.
Physical Volume "/dev/dsk/c5t2d0" contains no LVM information
Physical Volume "/dev/dsk/c7t6d0" contains no LVM information
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.
vgscan -a -p
vgscan: The physical volume "/dev/dsk/c4t6d0" is already recorded in the "/etc/lvmtab " file.
vgscan: The physical volume "/dev/dsk/c7t6d0" is already recorded in the "/etc/lvmtab " file.
Physical Volume "/dev/dsk/c5t2d0" contains no LVM information
Physical Volume "/dev/dsk/c7t6d0" contains no LVM information
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 09:56 PM
01-22-2007 09:56 PM
Re: mirror disk replacement - gone horribly wrong
Exactly, you can't vgscan because the new disk has no LVM info. I believe you need to run your vgcfgrestore, then follow the normal steps for mirrored root disk replacement:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Pete
Pete
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Pete
Pete
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP