- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with extending and wrong mirror
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
05-23-2006 11:39 PM
05-23-2006 11:39 PM
This is the scenario:
I have a server, which for some reason has one internal root disk and one external both of completely different sizes. I need to extend /var, the internal root disk is full so even though loads of space on the external disk because vg00 is mirrored, of course I couldn't extend. I found the other internal disk and because we have no other solution I have had to use that.
I pvcreated the disk and vgextended it into vg00. Then I lvextended using the new disk name and it didn't work, so I tried lvextending using both the new disk and the external - figuring it must need both specified in order to create the mirror copy. Problem is I've just checked in lvdisplay -v and my new extents are the wrong way around, so the mirror copy is on the new disk not the external. Not sure what to do! Don't think I can pvmove them because I have no other disks to move to... Bit worried about using lvreduce. I have online jfs and could do without shutting down the box if possible because I have users on it.
Any quick solutions/advise would be greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 11:45 PM
05-23-2006 11:45 PM
Re: problem with extending and wrong mirror
First split the mirror.
Than see what is the situation with lvdisplay.
After that try to reconfigure the logical volumes.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 11:48 PM
05-23-2006 11:48 PM
Re: problem with extending and wrong mirror
du -kx /var | sort -nk1
Post results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2006 11:53 PM
05-23-2006 11:53 PM
Re: problem with extending and wrong mirror
could you post or attach
# bdf
# vgdisplay -v vg00
# lvdisplay -v /dev/vg00/lvol7
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 12:10 AM
05-24-2006 12:10 AM
Re: problem with extending and wrong mirror
With this is mind, here is the other info requested:
vgdisplay:
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 750
Used PV 3
--- Physical volumes ---
PV name /dev/dsk/c0t6d0
PV Status available
Total PE 1023
Free PE 9
Autoswitch On
PV name /dev/dsk/c10t4d1
PV Status available
Total PE 2231
Free PE 992
Autoswitch On
PVName /dev/dsk/c0t5d0
PV Status available
Total PE 250
Free PE 25
Autoswitch On
bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol6 614400 586902 26331 96% /var
As you can see from above I haven't extended it using onlinejfs yet.
lvdisplay /dev/vg00/lvol6
--- Logical volumes ---
LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 750
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Thanks for the speedy replies...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 12:41 AM
05-24-2006 12:41 AM
Re: problem with extending and wrong mirror
You bdf shows nothing has been extended as per your posting, so you can do a lvreduce and do it correctly.
Hope this helps
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 12:50 AM
05-24-2006 12:50 AM
Re: problem with extending and wrong mirror
Can you send us the following to understand what the current issue is
# strings /etc/lvmtab
# vgdisplay -v vg00
# lvdisplay -v /dev/vg00/
# bdf
regards
albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 12:59 AM
05-24-2006 12:59 AM
SolutionSo now you can
1. lvreduce to original size
2. reduce mirror to remove mirrored vol from external disk
3. extend volume to required size on 2nd internal disk
4. lvextend to mirror volume on external disk.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 01:03 AM
05-24-2006 01:03 AM