- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr 98% full
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
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
тАО12-15-2004 02:33 AM
тАО12-15-2004 02:33 AM
Re: /usr 98% full
First suppress unwanted package before you go into increasing size.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 02:39 AM
тАО12-15-2004 02:39 AM
Re: /usr 98% full
I also would like to know something about extending mount points and all that. How do I know (what commands) how much space is available for each volume group etc? Is there a doc. that has some basic information along these lines?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 02:50 AM
тАО12-15-2004 02:50 AM
Re: /usr 98% full
The lvextend -L is in MB so your syntax is fine: # /sbin/lvextend -L 1572864 /dev/vg00/lvol7
To find the space available, look at the volume group itself with vgdisplay. You'll see several PE lines - total, alloc and free. The Free PE multiplied by the PE size tells you how much space you have.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 02:57 AM
тАО12-15-2004 02:57 AM
Re: /usr 98% full
-b option of fsadm uses KB.
extendfs without option grows to the max.
I think that specifying M isn't supported.
To see space left in VG :
vgdisplay -v vgname gives you 2 lines like the following
PE Size (Mbytes) 8
Free PE 4594
To see free space in FS, you can use bdf which output has a column for available space.
To see free space left in LV, you have to substract FS size (given by bdf) to LV size (given by lvdisplay). But this is generally 0, as long as you extend fs each time you extend LV.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 02:59 AM
тАО12-15-2004 02:59 AM
Re: /usr 98% full
use "vgdisplay" without -v option
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 03:03 AM
тАО12-15-2004 03:03 AM
Re: /usr 98% full
Look at:
Free PE 3670
My:
PE Size (Mbytes) 8
So I have 29360 MB avail (but I mirror - so only half).
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 04:56 AM
тАО12-15-2004 04:56 AM
Re: /usr 98% full
# vgdisplay vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:02 AM
тАО12-15-2004 05:02 AM
Re: /usr 98% full
The lvextend command is with the figure of 1572864, I'm confused now...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:08 AM
тАО12-15-2004 05:08 AM
Re: /usr 98% full
you have 2136 X 8 = 17088 mb free space left in vg00.
below is the output from bdf of your system.
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 1261568 1236384 25120 98% /usr
why would you extend your filesystem with 15 GB ?
I would add a gyg, maybe 1 1/2 GB.
lvextend -L 3000
extendfs ...
Just my 2 cents.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:08 AM
тАО12-15-2004 05:08 AM
Re: /usr 98% full
So command will be
lvextend -L 1536 /dev/vg00/lvol7
extendfs -F vxfs /usr
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:10 AM
тАО12-15-2004 05:10 AM
Re: /usr 98% full
Wouldnt 2Gb be enough?
-L 2000 ...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:10 AM
тАО12-15-2004 05:10 AM
Re: /usr 98% full
You're looking to increase it about .5 GB and you have 17 BG free - No Problem!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:15 AM
тАО12-15-2004 05:15 AM
Re: /usr 98% full
I personally would do this:
lvdisplay /dev/vg00/lvol7 (assumes this is /usr
I'd want to extend the logicaol volume to provide for it being say 80% full.
Lets say /usr /dev/vg00/lvol7 is currently 2000 units. I tend to use -l
In this example:
lvextend -l 2500 /dev/vg00/lvol7 /dev/dsk/c1t1d0
You have to use a real disk device btw.
That will put you at what I consider optimal, /usr 80% full with plenty of room for growth.
Every admin has his own formula and some may find my policyto be wasteful. I'm currently running /usr at 96% on my rp5450 servers but I pretty much have all the software on them that I need to reach replacement in 2006.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 05:17 AM
тАО12-15-2004 05:17 AM
Re: /usr 98% full
Cheers!
- « Previous
-
- 1
- 2
- Next »