- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvreduce error The specified path ...
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
09-06-2001 10:45 AM
09-06-2001 10:45 AM
lvreduce error The specified path ...
I am trying to reduce the mirroring on my system disk since I'm having problems with /dev/dsk/c0t0d0.
FYI: After I reduce the mirroring I know how to re-mirror the good disk to a spare disk which is my intention.
The problem I'm having is as follows:
I tried lvreduce and received the following message:
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c0t0d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c0t0d0":
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/c0t0d0" does not belong to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol1" is not reduced.
If I do a strings on /etc/lvmtab you can see the disk c0t0d0.
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t6d0
/dev/dsk/c0t0d0
...
When I do a lvdisplay -v /dev/vg00/lvol1 I get the following:
# lvdisplay -v /dev/vg00/lvol1
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t0d0":
The specified path does not correspond to physical volume attached to this volume group
lvdisplay: Warning: couldn't query all of the physical volumes ...
and PV2 show up as questions marks (???) with all extents showing as stale.
Any suggestions on how to get rid of c0t0d0 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 11:28 AM
09-06-2001 11:28 AM
Re: lvreduce error The specified path ...
Since the disk c0t0d0 is not recognisable by system now, you will not be able to reduce it from VG. Keep copy of /etc/lvmtab and /etc/lvmconf/vg00.conf, just in case.
If you want to replace this disk do following.
1. Shutdown system
2. Replace the faulty disk.
3. Boot system in single user mode #hpux -is -lq at ipl prompt.
4. Do pvcreate on replaced disk
#pvcreate -f -B /dev/rdsk/c0t0d0
5. Restore vg information
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t0d0
6. Activate vg
#vgchange -a y /dev/vg00
7. synchronise vg
#vgsync /dev/vg00
8. Update BDRA
#lvlnboot -Rv
9. Reboot the machine.
10. Check mirror by booting from mirror disk also.
11. Once up update the diag information on disks.
mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c0t0d0
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 11:33 AM
09-06-2001 11:33 AM
Re: lvreduce error The specified path ...
Take a look at Knowledge Base document #LVMKBRC00006257 (for your convenience, see attachment if you desire).
In particular note the use of the 'disk key' option of 'lvreduce'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 12:06 PM
09-06-2001 12:06 PM
Re: lvreduce error The specified path ...
I looked at the attachment and see that part of the process is to do a vgscan
3. Further steps
Rename /etc/lvmtab
# mv /etc/lvmtab /etc/lvmtab.old
Create a new /etc/lvmtab
# vgscan ?v
From what I've seen in other threads vgscan isn't the greatest thing to do.
Are there any implications if I run vgscan ?
Is there a better way to get rid of c0t0d0 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 12:19 PM
09-06-2001 12:19 PM
Re: lvreduce error The specified path ...
I had the same problem (mirror disk failure) just day before yesterday, and I recovered it following the steps I listed in my earlier post.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 12:47 PM
09-06-2001 12:47 PM
Re: lvreduce error The specified path ...
Thanks for your answer but I don't want to shutdown the system nor do I want to use c0t0d0.
I'd prefer the solution James sent, however I just want to know if there any implications of running vgscan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2001 01:04 PM
09-06-2001 01:04 PM
Re: lvreduce error The specified path ...
With regard to 'vgscan', the man pages have the guidlines for dealing with alternate links and boot information in a rebuilt /etc/lvmtab.
Regards!
...JRF...