- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increasing the size of /tmp... /dev/vg00/lvol4
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
11-05-2008 01:27 PM
11-05-2008 01:27 PM
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1285385
my lvdisplay looks like below
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 512
Current LE 64
Allocated PE 64
Stripes 2
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t1d0s2 32 32
/dev/dsk/c0t0d0 32 32
--- Logical extents ---
LE PV1 PE1 Status 1
# vgdisplay -v /dev/vg00 | grep -i free
Free PE 1597
Free PE 1590
Free PE 7
#
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 5016
VGDA 2
PE Size (Mbytes) 8
Total PE 5006
Alloc PE 4824
Free PE 182
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
how to increase lvol4 to may be 10GB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 02:36 PM
11-05-2008 02:36 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
# lvextend -l 1527 /dev/vg00/lvol4
Warning: rounding up logical volume size to extent boundary at size "12224" MB f
or striping.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol4" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Failure possibly caused by strict allocation policy
# lvextend -L 1527 /dev/vg00/lvol4
Warning: rounding up logical volume size to extent boundary at size "1528" MB.
Warning: rounding up logical volume size to extent boundary at size "1536" MB fo
r striping.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol4" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Failure possibly caused by strict allocation policy
#
# lvremove /dev/vg00/lvol4
The logical volume "/dev/vg00/lvol4" is not empty;
do you really want to delete the logical volume (y/n) : y
lvremove: Couldn't delete logical volume "/dev/vg00/lvol4":
The specified logical volume is open, or
a sparing operation is in progress.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
Could u gurus give me the exact steps to increase /tmp... I need to increase /tmp on 6 of my servers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 02:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 02:54 PM
11-05-2008 02:54 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
Free PE 1597
Free PE 1590
Free PE 7
1590 * 8 = 12720 MB = 12.42 GB is the total space left here....
You got confused with my previous thread....
Let us solve this first and then I will explain about the second one... it is a different issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 03:00 PM
11-05-2008 03:00 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
<<
lvextend -L
Online - JFS .? if not
need to go to single user mode do
extendfs -F vxfs /dev/vg00/rlvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 03:04 PM
11-05-2008 03:04 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 03:50 PM
11-05-2008 03:50 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
Regrads!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 09:52 PM
11-05-2008 09:52 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
Your lvol4 is striped and has a strict allocation policy set, with number of stripes = 2.
Means the current size, which is 512 MB is allocated from the 2 Physical volumes in your /dev/vg00 (/dev/dsk/c0t1d0s2 & /dev/dsk/c0t0d0) with 256 MB allocated from each PV - see the 32 PE on PV in your lvdisplay output.
Now when you want to extend the lvol4 by say 10 GB, then there should be 5 GB space free available on 2 disks/PVs in your /dev/vg00, only then you will be able to extend the lvol4.
see man page of lvcreate and read the section for option -s (strict allocation policy) for striping - which will help you understand better.
You can also post the output of vgdisplay -v /dev/vg00 - where you would be able to see how many PEs are free in each of the PV (disk) in /dev/vg00.
Hope this clarifies.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2008 10:05 PM
11-05-2008 10:05 PM
Re: increasing the size of /tmp... /dev/vg00/lvol4
I told you the same in the original thread already.
The lvol4 is striped, so you need the same amount of free space on **both** disks.
You may consider to go into single user mode, lvremove lvol4 (/tmp) and re-create it without striping.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 08:30 AM
11-06-2008 08:30 AM