- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can I increase LV - /var ? it is 90%, please h...
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
10-27-2003 10:25 PM
10-27-2003 10:25 PM
The problem is - while trying to increase /var - obviously it cant unmount (since "sam" is located there ...),
how can I do it ? (increase the LV I am working on ....), please note, I tried also to do it without "sam" using extendfs etc. but it didnâ t work either.
I apologize in advance, I am not a system administrator, so please give as much details as u can, thank u very much, Jenn
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 10:37 PM
10-27-2003 10:37 PM
Re: how can I increase LV - /var ? it is 90%, please help ....
However, if you have onlineJFS and /var is a vxfs filesystem (which is probably is) you can extend it online using "fsadm -b xxxM /var", assuming you have already increased the logical volume it sits on first.
If you need more detailed information, please post back again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 10:43 PM
10-27-2003 10:43 PM
Re: how can I increase LV - /var ? it is 90%, please help ....
swlist -l bundle|grep -i onlinejfs
If it returns something like below then you have it and can extend it;
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
If not then the thing to do is cleanup /var. You can do this with;
cd /var/tmp
rm *
run the SD cleanup command;
cleanup -c 1
This deletes old superceeded patches. This should free up quite a bit of space on /var without needing to extend it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 10:43 PM
10-27-2003 10:43 PM
Re: how can I increase LV - /var ? it is 90%, please help ....
Before you increase /var check if you can free more space inside.
Preview
# cleanup -p -c 1
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 10:51 PM
10-27-2003 10:51 PM
Re: how can I increase LV - /var ? it is 90%, please help ....
you should have onlineJFS utility to increase the logical volume online.
To check whether u have onlineJFS or not
#swlist | grep onlineJFS
From the command line
1.#bdf - to find the mounted filesystems and their coressponding logical volumes
here i am assuming that /var is mounted on /dev/vg00/lvol1
2. umount the filesystem
umount /dev/vg00/lvol1
3. increase the logical volume
lvextend -L 4000 /dev/vg00/lvol1
4. extend the filesystem to occupy the increased space
extendfs /dev/vg00/rlvol1
5.mount the filesystem
mount /dev/vg00/lvol1 /var
the filesystem will not be unmounted if it is being used by other users/processes.
type fuser -u /var to find the processes using /var
type fuser -uk /var to kill the processes
HTH
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 10:59 PM
10-27-2003 10:59 PM
Solutionhttp://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000069475982
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2003 11:49 PM
10-27-2003 11:49 PM
Re: how can I increase LV - /var ? it is 90%, please help ....
I will try to follow your advices one by one, and let u know what happened,
the speed u answered is amazing !!!
hope one day soon 2 b able to advice to others like u did !!!