- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror disk replacement
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
07-03-2008 03:25 PM
07-03-2008 03:25 PM
Basically we are trying to replace a failed mirror drive, but there're a couple of things that are happening.
Look.
lvlnboot -v it's showing nothing, after a lvnlboot -Rv it shows some info, but we get errors about this other disk everywhere.
look.
root@hawk:~ > lvlnboot -Rv /dev/vg00
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
No Boot Logical Volume configured
Root: lvol3 on: /dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 1 disks for "/dev/vg00"; /etc/lvmtab has 2 disks.
Cannot proceed with backup
In other areas like vgdisplay shows..
vgdisplay -v
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
{..here continues the output ..}
Any recommendation will be really appreciated.
Regards,
Marc'0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 03:52 PM
07-03-2008 03:52 PM
Re: Mirror disk replacement
check vgdisplay o/p for the following:
Cur PV 2
Act PV 2
I am quite sure that both the above values will not match. Does it show the dailed disk in vgdisplay -v o/p ??
Have you replaced the failed disk and after that you started getting above error messages?? If so then try restoring the vg configuration on the replaced disk using vgcfgrestore -n vg00
After this execute vgchange -a y vg00.
I hope you are following all the steps for mirroring the root disk. Refer the following doc for more details on replacing a mirror disk:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 03:59 PM
07-03-2008 03:59 PM
Re: Mirror disk replacement
diskinfo -v /dev/rdsk/c2t2d0
SCSI describe of /dev/rdsk/c2t2d0:
vendor: FUJITSU
product id: MAJ3182MC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
rev level: HP07
blocks per disk: 35566480
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
-*/-*/-*/-*/
My curPV & Act.
Cur PV 2
Act PV 1
I need I must run a vgcfgrestore to this dist to avoid those errors, then proceed to remove the disk - replace the disk
Marc'0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 04:05 PM
07-03-2008 04:05 PM
Re: Mirror disk replacement
There is a possibility that only LVM header information is corrupt and that may get resolved after doing vgcfgrestore and vgchange.
If that doesn't resolves the problem then do the following:
1. Rename the lvmtab file.
mv /etc/lvmtab /etc/lvmtab.20080704
2. run vgscan
vgscan -av
3. Take vgcfgbackup
This will populate the lvmtab with current information and there won't be any error message.
Then later on you can proceed with adding mirror disk as a fresh task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2008 04:21 PM
07-03-2008 04:21 PM