- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fuser and lvm problems...
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
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
тАО03-21-2006 02:39 AM
тАО03-21-2006 02:39 AM
i tried to increase the /opt size, but sam told that device busy.
----------------
fuser -cu /opt
/opt: 11182mt(root) 11179mt(root) 11183mt(root)
----------------
fuser -ck /opt
/opt: 11182mt 11179mt
----------------
fuser -cu /opt
/opt: 11247mt(root) 11244mt(root) 11248mt(root)
----------------
ps -ef|grep 11247
root 11247 1 0 20:59:54 ? 0:04 /opt/wbem/sbin/cimserver
root 11248 11247 0 20:59:59 ? 0:00 /opt/wbem/sbin/cimservera
----------------
this is simply sand box kind of system for our testing only.... so not production system...
in this case what is this cimserver and its daemon and y i am not able to fuser -ck not killing that..
1.)what is the cimservera and his daemon do?..
shall i stop those and increse the lvm?if so.. how?
2.)or shall i go to single user mode and do lvm?..if so.. how?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 02:48 AM
тАО03-21-2006 02:48 AM
Solutionfind /sbin/init.d -exec grep -l 'wbem' {} \;
If you don't find a script to start/stop it, then you can try killing it.
Ultimately, you may want to reboot in single user mode to enlarge /opt. That is the absolutely fool proof way to get things unmounted.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 03:17 AM
тАО03-21-2006 03:17 AM
Re: fuser and lvm problems...
If a reboot is not a big problem, I'd prefer single user mode.
In this case you can extend the logical volume (e.g. /dev/vg00/lvol5), which contains /opt:
#lvextend -L 4096 /dev/vg00/lvol5
reboot the machine to single user mode and in this mode run:
# extendfs -F vxfs /dev/vg00/rlvol5
# init 3
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 03:28 AM
тАО03-21-2006 03:28 AM
Re: fuser and lvm problems...
Boot the box, interrupt the boot, enter BO PRI to boot from the primary device, and reply "Y" to the "interact with ISL" prompt. Then at the ISL prompt enter "hp-ux -is"
The system will boot in single user mode with only / and /stand mounted. You can then do the lvextend for the logical volume and extendfs for the /opt file system and then init 3 to fully boot the system.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 03:49 AM
тАО03-21-2006 03:49 AM
Re: fuser and lvm problems...
/opt: 11951mt(root)
-----------------
ps -ef|grep 11951
root 11951 1 0 22:21:32 ? 0:00 /opt/wbem/sbin/cimserverd
-----------------
man cimserverd telling something i cant understand.(it told to kill)
-----------------
kill -9 11951 ....killing sucessfull..
-----------------
but it restarting automaticlly...
fuser -cu /opt
/opt: 11956mt(root)
-----------------
umount /opt
umount: cannot unmount /opt : Device busy
-----------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 04:17 AM
тАО03-21-2006 04:17 AM
Re: fuser and lvm problems...
We're not running WBEM here at this site, so I can't tell You which script to look for, but it should be easy to locate.
try:
cd /sbin/init.d
grep -i wbem *
are there any results for that command?
if yes, use
/sbin/init.d/scriptname stop
and then re-run fuser -uc /opt
greetings, florian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 04:22 AM
тАО03-21-2006 04:22 AM
Re: fuser and lvm problems...
cimserverd is restarting because it exists in your /etc/inittab file. If you don't want it to restart you can pound out that entry or change the "respawn" to "off". Then run: init q
When you are done, either undo your /etc/inittab changes.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 09:20 AM
тАО03-21-2006 09:20 AM
Re: fuser and lvm problems...
BTW, you can use this to get a list of what processes are running in /opt:
# for pro in `fuser -cu /opt 2> /tmp/fuser.blah`;do ps -fp $pro|grep -v "TIME COMMAND";done
Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 09:27 AM
тАО03-21-2006 09:27 AM
Re: fuser and lvm problems...
to stop cimserverd from restarting, disable the entry for this in /etc/inittab. Change the "respawn" to "off" and do "init q" to have the init program read the changes to /etc/inittab.
From the man pages of cmiserverd
/Quote/
By default, cimserverd will check on the status of cimserver every 30 seconds. This period can be adjusted by setting the value in the /etc/opt/wbem/cimserver_retry.conf file, and having cimserverd re-read this file. In order to have cimserverd re-read the file, the cimserverd process must be killed (kill -9 pid). cimserverd will respawn automatically as it has an entry in /etc/inittab.
/endQuote/
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2006 03:25 PM
тАО03-21-2006 03:25 PM
Re: fuser and lvm problems...
i ran reboot command (with some option...i found the option here in itrc only..)and on the way to reboot,
it told transtion to run-level 0 is complete and it gave some thing and waited for some input from me..(i saw "20 sec" something...)
i did only "return".
something wrong. and it came back to the prompt without rebooting,,..
bdf shows only four(/var,/opt,/,/stand..i think)
then inside sam i am to increase the /opt size as i wish.
still i found only four mount points.
i gave reboot. it rebooted and everything fine now. my /opt size incresed.
now i like to know
1.)what is wrong while going to single user mode..?
2.)same way i need to increse /var and / size. SAM told device busy.
--------------
fuser -cu /var
/var: 20850o(root) 20860m(root)
ps -ef |grep 20850
root 20850 1 0 23:55:23 ? 0:00 /usr/sam/lbin/samd
ps -ef |grep 20860
root 20860 782 0 23:55:37 pts/ta 0:00 telnetd
root 20861 20860 0 23:55:37 pts/ta 0:00 -sh
--------------
3.) or can i download evaluation version of onlineJFS?..is it available?..links?..
thanks for ur support..
sekar