- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error reducing a mirror with lvreduce command
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
Discussions
Discussions
Forums
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
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
тАО06-21-2006 12:32 AM
тАО06-21-2006 12:32 AM
Error reducing a mirror with lvreduce command
jaipur:root:/>lvreduce -m 0 /dev/vgemc00/emclvol01 /dev/dsk/c4t0d1 /dev/dsk/c4t2d3 /dev/dsk/c4t2d5
lvreduce: Couldn't reduce the logical volume:
No such file or directory
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vgemc00/emclvol01".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 12:39 AM
тАО06-21-2006 12:39 AM
Re: Error reducing a mirror with lvreduce command
Put you output of,
# lvdisplay -v /dev/vgemc00/emclvol01
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 12:48 AM
тАО06-21-2006 12:48 AM
Re: Error reducing a mirror with lvreduce command
jaipur:root:/>lvdisplay -v /dev/vgemc00/emclvol01|pg
--- Logical volumes ---
LV Name /dev/vgemc00/emclvol01
VG Name /dev/vgemc00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 262000
Current LE 65500
Allocated PE 131000
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t0d1 60650 93418
/dev/dsk/c4t2d3 4850 4850
/dev/dsk/c11t1d3 27882 27882
/dev/dsk/c11t1d4 4850 4850
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 12:53 AM
тАО06-21-2006 12:53 AM
Re: Error reducing a mirror with lvreduce command
The PV c4t2d5 is not in LVOL
Disks in LVOL:
/dev/dsk/c4t0d1
/dev/dsk/c4t2d3
/dev/dsk/c11t1d3
/dev/dsk/c11t1d4
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 12:56 AM
тАО06-21-2006 12:56 AM
Re: Error reducing a mirror with lvreduce command
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 01:19 AM
тАО06-21-2006 01:19 AM
Re: Error reducing a mirror with lvreduce command
If I try to reduce with the lvreduce -m 0 /dev/vgemc00/emclvol01 I get the same error. Any idea to recover?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 01:35 AM
тАО06-21-2006 01:35 AM
Re: Error reducing a mirror with lvreduce command
What does a vgdisplay -v show? is /dev/dsk/c4t2d5 showing up as part of the vg?
try lvreduce -m 0 /dev/vgemc00/emclvol01 /dev/dsk/c4t0d1 /dev/dsk/c4t2d3 to reduce off of the two known disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 01:58 AM
тАО06-21-2006 01:58 AM
Re: Error reducing a mirror with lvreduce command
Here is the output from the vgdisplay. I think the Used PV = 4 is strange. The table shows that all 6 PV's are in use:
VG Name /dev/vgemc00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 27887
VGDA 12
PE Size (Mbytes) 4
Total PE 139408
Alloc PE 131000
Free PE 8408
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgemc00/emclvol01
LV Status available/syncd
LV Size (Mbytes) 262000
Current LE 65500
Allocated PE 131000
Used PV 4
--- Physical volumes ---
PV Name /dev/dsk/c4t0d1
PV Status available
Total PE 27882
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t2d3
PV Status available
Total PE 27882
Free PE 0
Autoswitch On
PV Name /dev/dsk/c4t2d5
PV Status available
Total PE 13940
Free PE 4204
Autoswitch On
PV Name /dev/dsk/c11t1d3
PV Status available
Total PE 27882
Free PE 0
Autoswitch On
PV Name /dev/dsk/c11t1d4
PV Status available
Total PE 27882
Free PE 0
Autoswitch On
PV Name /dev/dsk/c11t1d5
PV Status available
Total PE 13940
Free PE 4204
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 02:15 AM
тАО06-21-2006 02:15 AM
Re: Error reducing a mirror with lvreduce command
let's go back to the original message:
lvreduce: Couldn't reduce the logical volume:
No such file or directory
Do the following files exist?
/dev/vgemc00/emclvol01
/dev/dsk/c4t0d1
/dev/dsk/c4t2d3
/dev/dsk/c4t2d5
Does an ioscan of the system show all hardware devices claimed?
does vgscan -pv show any error messages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 02:21 AM
тАО06-21-2006 02:21 AM
Re: Error reducing a mirror with lvreduce command
I would agree with DCE with the lvreduce.