HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing faulty disks from mirror
Operating System - HP-UX
1834156
Members
2826
Online
110064
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
09-27-2002 03:16 AM
09-27-2002 03:16 AM
Hi all,
I have an HP-UX 10.20 with mirrored disks.
A disk failed (I have no more maintenance for this host...).
I want to remove the mirror from the
logical volumes and remove the faulty disk from the Volume Group.
# strings /etc/lvmtab
/dev/vg00
cd7^
/dev/dsk/c0t6d0
/dev/dsk/c0t4d0
/dev/dsk/c0t5d0
/dev/dsk/c0t3d0
/dev/vgapp
cd7d
/dev/dsk/c3t0d1
/dev/dsk/c3t1d1
/dev/vghmi
!$7b
/dev/dsk/c3t0d2
/dev/dsk/c3t1d2
/dev/vgdb
U7]O'
/dev/dsk/c3t0d0
/dev/dsk/c3t1d0
/dev/vgoradb
U7]Oe
/dev/dsk/c3t0d3
/dev/dsk/c3t1d3
==> c0t5d0 is faulty
# lvdisplay -v /dev/vg00/lvol8
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 512
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t3d0 128 128
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 ??? 0462 stale /dev/dsk/c0t3d0 0462 current
0001 ??? 0463 stale /dev/dsk/c0t3d0 0463 current
0002 ??? 0464 stale /dev/dsk/c0t3d0 0464 current
0003 ??? 0465 stale /dev/dsk/c0t3d0 0465 current
0004 ??? 0466 stale /dev/dsk/c0t3d0 0466 current
0005 ??? 0467 stale /dev/dsk/c0t3d0 0467 current
0006 ??? 0468 stale /dev/dsk/c0t3d0 0468 current
...
When I try:
# lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c0t5d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvreduce: Warning: couldn't query all of the physical volumes.
lvreduce: Physical volume "/dev/dsk/c0t5d0" does not belong
to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol8" is not reduced.
# vgreduce /dev/vg00 /dev/dsk/c0t5d0
vgreduce: Couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
How can I remove the disk?
Thanks in advance for your help,
Kind Regards,
Rui.
I have an HP-UX 10.20 with mirrored disks.
A disk failed (I have no more maintenance for this host...).
I want to remove the mirror from the
logical volumes and remove the faulty disk from the Volume Group.
# strings /etc/lvmtab
/dev/vg00
cd7^
/dev/dsk/c0t6d0
/dev/dsk/c0t4d0
/dev/dsk/c0t5d0
/dev/dsk/c0t3d0
/dev/vgapp
cd7d
/dev/dsk/c3t0d1
/dev/dsk/c3t1d1
/dev/vghmi
!$7b
/dev/dsk/c3t0d2
/dev/dsk/c3t1d2
/dev/vgdb
U7]O'
/dev/dsk/c3t0d0
/dev/dsk/c3t1d0
/dev/vgoradb
U7]Oe
/dev/dsk/c3t0d3
/dev/dsk/c3t1d3
==> c0t5d0 is faulty
# lvdisplay -v /dev/vg00/lvol8
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 512
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t3d0 128 128
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 ??? 0462 stale /dev/dsk/c0t3d0 0462 current
0001 ??? 0463 stale /dev/dsk/c0t3d0 0463 current
0002 ??? 0464 stale /dev/dsk/c0t3d0 0464 current
0003 ??? 0465 stale /dev/dsk/c0t3d0 0465 current
0004 ??? 0466 stale /dev/dsk/c0t3d0 0466 current
0005 ??? 0467 stale /dev/dsk/c0t3d0 0467 current
0006 ??? 0468 stale /dev/dsk/c0t3d0 0468 current
...
When I try:
# lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c0t5d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
lvreduce: Warning: couldn't query all of the physical volumes.
lvreduce: Physical volume "/dev/dsk/c0t5d0" does not belong
to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol8" is not reduced.
# vgreduce /dev/vg00 /dev/dsk/c0t5d0
vgreduce: Couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
How can I remove the disk?
Thanks in advance for your help,
Kind Regards,
Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2002 03:33 AM
09-27-2002 03:33 AM
Solution
Rui
Have a look at these docs
http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063208748
http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062910934
HTH
Steve
Have a look at these docs
http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063208748
http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062910934
HTH
Steve
take your time and think things through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2002 03:37 AM
09-27-2002 03:37 AM
Re: Removing faulty disks from mirror
Hi again
Here's a link to a similar discussion
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb217543254bfd611abdb0090277a778c,00.html
HTH
Steve
Here's a link to a similar discussion
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb217543254bfd611abdb0090277a778c,00.html
HTH
Steve
take your time and think things through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2002 05:49 AM
09-27-2002 05:49 AM
Re: Removing faulty disks from mirror
Hi Steven,
Thanks a lot for the information.
Problem solved!
Best Regards,
Rui.
Thanks a lot for the information.
Problem solved!
Best Regards,
Rui.
"We should never stop learning"_________ rui.vilao@rocketmail.com
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