- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't umount /var?
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
08-30-2001 04:37 AM
08-30-2001 04:37 AM
On HP-UX 11.00, I've lvextended /var and am now trying to extend the fs to the new size. However, when I:
shutdown -y 0
umount /dev/vg00/lvol8
it says "Device in use" - if I reboot to hpux -lm, and try to umount, the message is "requires block file"
I'm fairly new to this, but how can I determine what's in use?
(ps -ef |grep var shows nothing, but I'm not sure if it should)
Jon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:39 AM
08-30-2001 04:39 AM
Re: Can't umount /var?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:42 AM
08-30-2001 04:42 AM
Re: Can't umount /var?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:45 AM
08-30-2001 04:45 AM
Solutionuse fuser to see which user are working or open a file in the /var .
you dont need to boot with lm option but to boot with isl>hp-ux -is
to boot to a single user mode and then do you action on the /var .
you can also active the vg if you are booting with lm .
the Web Console dont have any effect on this .
tell me if you need more help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:49 AM
08-30-2001 04:49 AM
Re: Can't umount /var?
For a mounted filesystem, use:
fuser -cu /var
to see who is using it.
However, the extendfs will need to be done in single-user mode, since a number of multi-user processes will be using /var, e.g. the logging tools.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 05:27 AM
08-30-2001 05:27 AM
Re: Can't umount /var?
when I boot with hpux -is and try
umount /dev/vg00/lvol8
I get - "umount: cannot umount /var : Block device required"
Doesn't that mean a disk?
I do not grok this at all, 30 secs before this I umounted, extendfs, mounted lvol7 without a problem.
Would this have a chance?
shutdown -y 0
fuser -k /var
umount ......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 05:33 AM
08-30-2001 05:33 AM
Re: Can't umount /var?
I forgot that /var ISNT MOUNTED at this point
Eran, you were right on the money
Thanks very much
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 05:33 AM
08-30-2001 05:33 AM
Re: Can't umount /var?
Can you show us what the output of the following commands shows:
ls -l /dev/vg00
mount -p
Rgds, Robin.