- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to extend the file system in /opt partitio...
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
тАО09-21-2004 06:12 PM
тАО09-21-2004 06:12 PM
In my HP-UX server /opt is about to full. This is in vg00 group. I also have some free space on the same group.
Can I extend the the /opt partition?
Also how to umount the /opt partition?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:30 PM
тАО09-21-2004 08:30 PM
Re: how to extend the file system in /opt partition
If you ar not familiar with LVM then use sam,
If you have onlineJFS you can do it on line otherwise you will have to umount /opt, lvextend to the newsize you and extendfs...
to umount be at /, umount /opt,
If it refuses then you have some open/used files on that filesystem...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:33 PM
тАО09-21-2004 08:33 PM
Re: how to extend the file system in /opt partition
man lvextend, extendfs fuser and mount...
to see in /opt is used:
fuser -cu /opt
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:34 PM
тАО09-21-2004 08:34 PM
Re: how to extend the file system in /opt partition
# lvextend -L
#extendfs -F vxfs
it may through an error such as file system already mounted need not to worry . it will extend the file system.
Try it . have a good day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:35 PM
тАО09-21-2004 08:35 PM
Re: how to extend the file system in /opt partition
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 08:48 PM
тАО09-21-2004 08:48 PM
Re: how to extend the file system in /opt partition
This way you donn't have to bother about checking what processes have files open on this filesystem and you maybe have a little maintenance window to do some patching at the same time or check the filesystem usage of the other filesystems and maybe extend there as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 09:16 PM
тАО09-21-2004 09:16 PM
Re: how to extend the file system in /opt partition
When I use the below command I get the o/p like this...
# fuser -cu /opt
/opt: 1461mt(root) 1458mt(root) 2129mt(root)
if I use the command
#fuser -ku /opt
and then try to umount the opt, but it still says /opt busy.
Now there are two questions...
1>how to clear the message device is busy for /opt.
2>how to boot the system in single user mode.Its hp-ux11i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 09:28 PM
тАО09-21-2004 09:28 PM
Re: how to extend the file system in /opt partition
boot the system in Single user mode.
--> just interupt the boot process, and give a boot command and say yes for interact with IPL. u will get a prompt
ISL>
ISL>hpux -is ---> for single user mode from there u can increse the file system,
regards,
Govind.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 09:37 PM
тАО09-21-2004 09:37 PM
Re: how to extend the file system in /opt partition
Try to locate the processes.
1461mt(root) 1458mt(root) 2129
# ps -ef | grep 1461
same for the other 2.
if these are processes you can "spare" kill them.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 10:05 PM
тАО09-21-2004 10:05 PM
Re: how to extend the file system in /opt partition
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2004 11:01 PM
тАО09-21-2004 11:01 PM
Re: how to extend the file system in /opt partition
Ramkumar the way you suggested was very easy to adopt as I need not to reboot the system and it also not required the system to bring it into single user mode.
Thanks again