- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Best way to add space to /OPT
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
02-23-2006 05:24 AM
02-23-2006 05:24 AM
Thanks! I'm rather new to HP-UX and appreciate any and all suggestions.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:26 AM
02-23-2006 05:26 AM
Re: Best way to add space to /OPT
It would help if you can tell us what kind of error message you got back from sam.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:30 AM
02-23-2006 05:30 AM
Re: Best way to add space to /OPT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:32 AM
02-23-2006 05:32 AM
Re: Best way to add space to /OPT
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:35 AM
02-23-2006 05:35 AM
SolutionIf you don't have online jfs - then you need to un mount it.
fuser -cu /opt
will tell you all the processes that have /opt locked.
do a
ps -ef |grep PID
to see what they are...
You will probably need to shut some stuff down...
Check output of:
vxlicense -p
and
/sbin/fs/vxfs/vxenablef
to see if you have online jfs...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:40 AM
02-23-2006 05:40 AM
Re: Best way to add space to /OPT
If you were unable to increase the size of the '/opt' filesystem, I would guess that either you don't have enough free physical disk extents to enlarge the underlying logical volume; or that the filesystem must be unmounted to enlarge it.
As already mentioned, please post any error messages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 05:43 AM
02-23-2006 05:43 AM
Re: Best way to add space to /OPT
#fuser -cu /opt
/opt: 1133mt(root) 1204mt(root) 2998mto(root) 1408mto(root) 134)
root@labsvr.crmchealth.org[/]
#ps -ef | grep 1133
root 1133 1 0 Feb 18 ? 0:14 /opt/dce/sbin/rpcd
root 19604 19561 1 12:41:31 pts/ta 0:00 grep 1133
root@labsvr.crmchealth.org[/]
#ps -ef | grep 1204
root 1204 1 0 Feb 18 ? 1:44 scrdaemon
root 19877 19561 0 12:41:46 pts/ta 0:00 grep 1204
root@labsvr.crmchealth.org[/]
#ps -ef | grep 2998
root 2998 1389 0 Feb 18 ? 0:17 /opt/perf/bin/agdbserver -t ala/
root 2999 2998 0 Feb 18 ? 0:37 /opt/perf/bin/alarmgen -svr 299a
root 19879 19561 1 12:41:56 pts/ta 0:00 grep 2998
root@labsvr.crmchealth.org[/]
#ps -ef | grep 1408
root 1408 1 0 Feb 18 ? 7:24 /opt/perf/bin/scopeux
root 19882 19561 1 12:42:15 pts/ta 0:00 grep 1408
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 06:10 AM
02-23-2006 06:10 AM
Re: Best way to add space to /OPT
Can stop with
/sbin/init.d/mwa stop
That should stop agdbserver and alarmgen as well...
For rpcd:
/sbin/init.d/Rpcd stop
For scrdaemon:
/sbin/init.d/scrdaemon stop
Then try to extend, then start those up.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 06:13 AM
02-23-2006 06:13 AM
Re: Best way to add space to /OPT
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:19 AM
02-23-2006 08:19 AM
Re: Best way to add space to /OPT
/opt will have lots of runing stuff in an online systems. so,the best way ( in the absence of online JFS ) is to
1. boot the system in single user mode
2. vgchange -a y /dev/vg00
3. mount /usr
Once u are done with this, u can do lvextend and extendfs to increse the space.
rgds...Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2006 08:50 AM
02-24-2006 08:50 AM