- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot extend logical volume for -var using SAM
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
07-29-2002 09:03 AM
07-29-2002 09:03 AM
Cannot extend logical volume for -var using SAM
When I click on ok SAM told me that can't umont /var.
Running fuser /var the response is:
/var:
where is the problem?
how can i solve it?
Thank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:06 AM
07-29-2002 09:06 AM
Re: Cannot extend logical volume for -var using SAM
Unless you have Online JFS, you have to boot into single-user mode to do this.
Sorry
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:09 AM
07-29-2002 09:09 AM
Re: Cannot extend logical volume for -var using SAM
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
BTW, with so many things using /var, you either need ONLINE-JFS, or kill every process using /var, or boot into single user mode.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:16 AM
07-29-2002 09:16 AM
Re: Cannot extend logical volume for -var using SAM
Check if you have online JFS
swlist would show you.
If you have on line jfs then it is much simpler to extend LV.
Or else you have extend LV in a singel user mode.
Let us know
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:22 AM
07-29-2002 09:22 AM
Re: Cannot extend logical volume for -var using SAM
The second part fails but the first part may have succeeded.
You can run this to verify if the first part has succeeded.
# lvdisplay /dev/vg00/lvol8
If the current LE is different from the allocated LE then the first part has run successfully. Then you can schedule to bring the server down to single user mode and run
#extendfs /dev/vg00/rlvol8
Then bring the server up to multi-user mode.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:36 AM
07-29-2002 09:36 AM
Re: Cannot extend logical volume for -var using SAM
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:51 AM
07-29-2002 09:51 AM
Re: Cannot extend logical volume for -var using SAM
Single user mode: nope, init s or S (or init 5 or 6 or other Unix flavors of init) can't take you there, despite what the man pages say, and neither will shutdown 0. init S or S will tell init to take of the processes init owns, but there are many other processes that init doesn't handled. And shutdown was able to get rid of all the multi-user processes and unmount all but / (and perhaps /stand) in the past but not anymore.
To get to single user mode, use shutdown -r 0 and be sure to catch the boot interrupt message on the way back. If you keep missing it, use this command before shutdown -r 0:
setboot -b off
and the system will pause for you. Make very sure that root's shell is /sbin/sh--if not, change it back! Then type:
boot primary
and say YES to interact with the IPL (initial program loader). When you get an ISL (initial system loader--don't ask about ISL != IPL), type:
hpux -is
and once you get a prompt, you will be in single user mode and you can use lvextend AND extendfs to make /var bigger. When done, type these commands:
setboot -b on
reboot -q
Bill Hassell, sysadmin