- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I can't increase my logical vloume
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
Forums
Discussions
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
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-28-2001 12:14 AM
05-28-2001 12:14 AM
I can't increase my logical vloume
2.i have this volume group:
--- Volume groups ---
VG Name /dev/vgom
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 1024
VGDA 12
PE Size (Mbytes) 4
Total PE 6138
Alloc PE 3784
Free PE 2354
Total PVG 0
i have free PE 2354
3.lvdisplay /dev/vgom/lvom
--- Logical volumes ---
LV Name /dev/vgom/lvom
VG Name /dev/vgom
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 7168
Current LE 1792
Allocated PE 3584
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
4.But i can't increase space for lvom.
thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 12:45 AM
05-28-2001 12:45 AM
Re: I can't increase my logical vloume
can you give us the exact error message?
I can imagine a few problems:
- you are mirroring lvom, maybe there is no free space enough on one disk for mirroring.
- maybye lvom is in use, and cannot be unmounted
...
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 12:55 AM
05-28-2001 12:55 AM
Re: I can't increase my logical vloume
Regards.,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 12:58 AM
05-28-2001 12:58 AM
Re: I can't increase my logical vloume
yes,lvom is mirror.
but i have two 4G disk free.
I can't increase only 100M space.
sorry my poor english.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 01:17 AM
05-28-2001 01:17 AM
Re: I can't increase my logical vloume
which command r u using for this ?.
lvextend -L ABCD /dev/vgXX/lvolYY
where ABCD is the expected size pf the lvol.
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 01:17 AM
05-28-2001 01:17 AM
Re: I can't increase my logical vloume
You might want to use lvchange to set the allocation policy from "PVG-strict" to "strict".
Hope this helps.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 01:59 AM
05-28-2001 01:59 AM
Re: I can't increase my logical vloume
without error message it is difficult to say
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 11:42 AM
05-28-2001 11:42 AM
Re: I can't increase my logical vloume
Vincet seems to be close to the right answer.
But why I answer close to be right?
What is strange for me is that you have mirrored LV with PVG-strict allocation policy and there is no physical volume groups defined. At least this results from the info
in your question.
So try to change your allocation policy running
lvchange -s y /dev/vgom/lvom
to change allocation policy into strict.
If needed and reasonable can use -s n
This allows mirrored copies are on the same disk.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 04:18 PM
05-28-2001 04:18 PM
Re: I can't increase my logical vloume
I will try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 07:29 PM
05-28-2001 07:29 PM
Re: I can't increase my logical vloume
the following is steps and error messages when we try to increase volume size:
#cmhaltpkg openmail
//umount filesystem on vgom
# vgchange -c n vgom
Performed Configuration change.
Volume group "vgom" has been successfully changed.
# vgchange -a y vgom
Volume group "vgom" has been successfully changed.
# lvextend -L 8000 /dev/vgom/lvom
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgom/lvom" could not be extended.
what's wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 10:24 PM
05-28-2001 10:24 PM
Re: I can't increase my logical vloume
"lvextend: Not enough free physical extents available."
check both disks for free space:
pvdisplay /dev/dsk/cxtxd0
and check "Free PE"; you will need space on both disk as you are using mirroring.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 11:05 PM
05-28-2001 11:05 PM
Re: I can't increase my logical vloume
All the steps are correct. But, As vincent said you can only increase the lv by 1177PE (2234/2), i.e., 4708MB (1177*4), because you have mirrored your logical volumes and you can use only half of the available PE.
But, you are trying to increase by 8000 MB(8 GB), you need to add anothe 4GB disk to your VG to do it.
Hope it is clear.
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 04:07 PM
05-29-2001 04:07 PM
Re: I can't increase my logical vloume
now we have extended lv successfully without umounting filesystems on vgom
as app on vgom is very important, will can't umount until this weekend
by the way, should we have to backup the whole things in vgom before we extending filsystem? It may take considerable time, but we hope we can make it as soon as possible