- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LV extend fails
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-24-2001 03:47 AM
09-24-2001 03:47 AM
Im kindda new to hpux, so extending the LV is best to do with SAM util.
My current lv is 200MB, when i tried to put a new value to 512MB, the error message as below appeared.
"Not enough free physical extents available. Logical volume /dev/vg00/lvol3 could not be extended."
"Failure possible caused by contiguous allocation policy."
"Failure possible caused by strict allocation policy"
I already do 'vgdisplay -v vg00' and there is 386 Free PE.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 03:54 AM
09-24-2001 03:54 AM
Re: LV extend fails
lvol3 is / which is a contiguous filesystem so you will not be able to extend it very easily at all. The best way to extend it is to install HP's free software called IGNITE, make a backup of all of vg00 to DDS/DAT tape, then boot from the tape and use an interactive menu to set the size of lvol3 to your new size, then it will reload all of vg00 with the new sizes. Still - its a big job to make an ignite tape and restore from it if youre not familiar with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 04:00 AM
09-24-2001 04:00 AM
Re: LV extend fails
http://forums.itrc.hp.com:80/cm/QuestionAnswer/1,1150,0x77a8e7613948d5118fef0090279cd0f9,00.html
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 04:10 AM
09-24-2001 04:10 AM
Re: LV extend fails
200MB for / filesystem is normally enough, looks like you have other files/directories which are taking up lot of space, if i were you i would see if i can move some of those directories to a different filesystem before increasing /. You could use "du -x / | sort -n" to see the disk usage for files/dirs in /.
Now / has to be a contiguous and cannot be increased using SAM.
To increase / or /stand, the general consensus and a tested procedure is to install ignite/UX (free software from HP) from
http://www.software.hp.com/products/IUX/download.html
create a disaster recovery tape (ignite image) of your system using make_tape_recovery or make_recovery
boot the server using the ignite tape/image - and interrupt it before it starts restoring.
go to advanced installation and choose your new sizes for your filesystems
This will rebuild the system with the new size for /, increase /stand if necessary
You might want to look at the thread
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x377dabe92dabd5118ff10090279cd0f9,00.html
for more information on ignite/UX, refer to
http://www.software.hp.com/products/IUX/docs.html
But if i were you, i would see why is / (200 MB) has such a high usage and if possible move non-os related data to a different filesystem.
Also read up ignite/UX, since it would be helpful for you in the future.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 05:06 AM
09-24-2001 05:06 AM
Re: LV extend fails
you cannot increase the size of /dev/vg00/lvol3 as this is the root volume. To increase the size of this volume, you have to reinstall the OS. At the time of reinstallation you can decide to resize your volumes. you can take a ignite backup of your OS ans reinstall the OS using that backup.
the benefit of using ignite is that you won't have to reinstall the other application, patches that you already have on the system.
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 05:37 AM
09-24-2001 05:37 AM
Re: LV extend fails
The usual suspect for filling up / is mis-typing a device file for a tape drive so that you get a file in /dev/rmt called 'om' or 'omn' rather than the usual 0m or 0mn.
I would look for the reason / is filling up before extending it so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 05:36 PM
09-24-2001 05:36 PM
Re: LV extend fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 09:08 PM
09-24-2001 09:08 PM
SolutionExtending root is not so risky, If U have free space just after lvol3. If U have lvol4 created after lvol3, then U can't.
To achive this I will give U one procedure, If it is acceptable to U, then proceed with this.
First take the backup of lvol4. Then reboot the system. Go to ISL prompt and type like this
ISL>hpux -lm
Now system will come to LVM maintanence mode.
Now we are going to remove lvol4.
#lvremove /dev/vg00/lvol4 (I mean by lvol4 is the lvol just after root)
#lvextend -L 512 /dev/vg00/lvol3
#extendfs /dev/vg00/rlvol3
I hope U have enough space in vg00. Now create lvol4
#lvcreate -L
#newfs -F vxfs /dev/vg00/rlvol4
#vgchange -a y vg00
#bdf
Checkup the size of each volumes
Now restore the backup of lvol4.
Best of luck
Shahul
Restart the machine