HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to replace this pv under lvmpvg configurat...
Operating System - HP-UX
1833187
Members
3128
Online
110051
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
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
10-24-2005 01:30 PM
10-24-2005 01:30 PM
how to replace this pv under lvmpvg configuration ?
Hi,
One pv(c3t13d0) in vg02 had missing.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t13d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
In vg02,the c3t13d0 has a mirror relationship with c0t13d0.
LV Name /dev/vg02/lvol2
VG Name /dev/vg02
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 1776
Current LE 444
Allocated PE 888
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t13d0 444 444
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
/dev/dsk/c0t13d0 0000 current ??? 0000 stale
0001 /dev/dsk/c0t13d0 0001 current ??? 0001 stale
0002 /dev/dsk/c0t13d0 0002 current ??? 0002 stale
0003 /dev/dsk/c0t13d0 0003 current ??? 0003 stale
0004 /dev/dsk/c0t13d0 0004 current ??? 0004 stale
0005 /dev/dsk/c0t13d0 0005 current ??? 0005 stale
0006 /dev/dsk/c0t13d0 0006 current ??? 0006 stale
And there is a lvmpvg config in lvmpvg file
@/etc#strings lvmtpvg
VG /dev/vg00
PVG rootscsi1
/dev/dsk/c0t5d0
/dev/dsk/c0t15d0
PVG rootscsi2
/dev/dsk/c3t5d0
/dev/dsk/c3t15d0
VG /dev/vg02
PVG scsibus1
/dev/dsk/c0t13d0
/dev/dsk/c0t12d0
PVG scsibus2
/dev/dsk/c3t13d0
/dev/dsk/c3t12d0
VG /dev/vg03
PVG scsi1
/dev/dsk/c0t10d0
/dev/dsk/c0t11d0
PVG scsi2
/dev/dsk/c3t10d0
/dev/dsk/c3t11d0
How to replace the failed PV online under lvmpvg configuraton
Thanks for your help
BR
One pv(c3t13d0) in vg02 had missing.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t13d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
In vg02,the c3t13d0 has a mirror relationship with c0t13d0.
LV Name /dev/vg02/lvol2
VG Name /dev/vg02
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 1776
Current LE 444
Allocated PE 888
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t13d0 444 444
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
/dev/dsk/c0t13d0 0000 current ??? 0000 stale
0001 /dev/dsk/c0t13d0 0001 current ??? 0001 stale
0002 /dev/dsk/c0t13d0 0002 current ??? 0002 stale
0003 /dev/dsk/c0t13d0 0003 current ??? 0003 stale
0004 /dev/dsk/c0t13d0 0004 current ??? 0004 stale
0005 /dev/dsk/c0t13d0 0005 current ??? 0005 stale
0006 /dev/dsk/c0t13d0 0006 current ??? 0006 stale
And there is a lvmpvg config in lvmpvg file
@/etc#strings lvmtpvg
VG /dev/vg00
PVG rootscsi1
/dev/dsk/c0t5d0
/dev/dsk/c0t15d0
PVG rootscsi2
/dev/dsk/c3t5d0
/dev/dsk/c3t15d0
VG /dev/vg02
PVG scsibus1
/dev/dsk/c0t13d0
/dev/dsk/c0t12d0
PVG scsibus2
/dev/dsk/c3t13d0
/dev/dsk/c3t12d0
VG /dev/vg03
PVG scsi1
/dev/dsk/c0t10d0
/dev/dsk/c0t11d0
PVG scsi2
/dev/dsk/c3t10d0
/dev/dsk/c3t11d0
How to replace the failed PV online under lvmpvg configuraton
Thanks for your help
BR
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2005 02:09 PM
10-24-2005 02:09 PM
Re: how to replace this pv under lvmpvg configuration ?
Hi RAMBO
1. Reduce mirrored data on failed disk
#lvreduce /dev/vg02/lvxxxx /dev/dsk/c3t13d0
(reduce all lv in vg02 that mirrored to c3t13d0)
2, reduce c3t13d0 from vg02
#vgreduce -f vg02
3,update lvmtab, lvmpvg
#mv /etc/lvmtab /etc/lvmtab.bak
#mv /etc/lvmpvg /etc/lvmpvg.bak
#vgscan -a
That 's all
HTH
tienna
1. Reduce mirrored data on failed disk
#lvreduce /dev/vg02/lvxxxx /dev/dsk/c3t13d0
(reduce all lv in vg02 that mirrored to c3t13d0)
2, reduce c3t13d0 from vg02
#vgreduce -f vg02
3,update lvmtab, lvmpvg
#mv /etc/lvmtab /etc/lvmtab.bak
#mv /etc/lvmpvg /etc/lvmpvg.bak
#vgscan -a
That 's all
HTH
tienna
HP is simple
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2005 05:58 PM
10-24-2005 05:58 PM
Re: how to replace this pv under lvmpvg configuration ?
Hello.
1.Replace missing disk with good one.
2. # vgcfgrestore -n /dev/vg02 /dev/rdsk/c3t13d0
3. # vgsync /dev/vg02
man vgcfgrestore(1m) and vgsync(1m) for further info.
1.Replace missing disk with good one.
2. # vgcfgrestore -n /dev/vg02 /dev/rdsk/c3t13d0
3. # vgsync /dev/vg02
man vgcfgrestore(1m) and vgsync(1m) for further info.
"Intel inside" is not a label, it's a warning.
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