[opensuse] Find process using a mount?
I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy.. How do I check which process(es) that access that mount point?
On Mon, 2006-12-04 at 11:45 +0100, Anders Norrbring wrote:
I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
lsof /the/mount/point -- Roger Oberholtzer OPQ Systems AB Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/4/06, Anders Norrbring
How do I check which process(es) that access that mount point?
lsof | grep "mount/point" -J -- "Everything we do is done with the desire that Linux will win in the marketplace. Ron Hovsepian, CEO, Novell, Inc. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring a écrit :
I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
sometimes get stuck, even without any notice because /etc/matb was not correctly set edit /etc/mtab with vi to remove the offending mount line (be sure of what you do, do not let an accessed app) and this should do the job this is easy in single user mode, avoid it in multiuser... jdd -- http://www.dodin.net http://dodin.org/mediawiki/index.php/GPS_Lowrance_GO -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring
I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
fuser -mv /your/mount-point Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/ SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas Jaeger skrev:
Anders Norrbring
writes: I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
fuser -mv /your/mount-point
Thanks to all of you.. Now the second problem is growing the xfs file system mounted.. I added a new disk to the lv, remounted the lvm volume (mounted by iSCSI) and issued xfs_growfs /iscsi. Nothing happened. Next I did xfs_growfs -d /iscsi, still nothing. How annoying these things tends to be... Anders.
Anders Norrbring skrev:
Andreas Jaeger skrev:
Anders Norrbring
writes: I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
fuser -mv /your/mount-point
Thanks to all of you.. Now the second problem is growing the xfs file system mounted.. I added a new disk to the lv, remounted the lvm volume (mounted by iSCSI) and issued xfs_growfs /iscsi. Nothing happened. Next I did xfs_growfs -d /iscsi, still nothing. How annoying these things tends to be...
However, growing with the yast disk module went just fine..
Anders Norrbring skrev:
Andreas Jaeger skrev:
Anders Norrbring
writes: I'm a bit confused.. I believe I've stopped every application using a specific mount, still I can't unmount it because it's busy..
How do I check which process(es) that access that mount point?
fuser -mv /your/mount-point
Thanks to all of you.. Now the second problem is growing the xfs file system mounted.. I added a new disk to the lv, remounted the lvm volume (mounted by iSCSI) and issued xfs_growfs /iscsi. Nothing happened. Next I did xfs_growfs -d /iscsi, still nothing. How annoying these things tends to be...
However, growing the xfs fs went just fine with the yast disk module.. So, where did I go wrong?
On Dec 4 2006 12:40, Anders Norrbring wrote:
Thanks to all of you.. Now the second problem is growing the xfs file system mounted.. I added a new disk to the lv, remounted the lvm volume (mounted by iSCSI) and issued xfs_growfs /iscsi. Nothing happened. Next I did xfs_growfs -d /iscsi, still nothing. How annoying these things tends to be...
These things may sound simple-stupid, but the obligatory question is: - does `fdisk -l /dev/yourlvmdevice` show the new "disk" size? - did the 1K-blocks value in `df` grow? -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jan Engelhardt skrev:
On Dec 4 2006 12:40, Anders Norrbring wrote:
Thanks to all of you.. Now the second problem is growing the xfs file system mounted.. I added a new disk to the lv, remounted the lvm volume (mounted by iSCSI) and issued xfs_growfs /iscsi. Nothing happened. Next I did xfs_growfs -d /iscsi, still nothing. How annoying these things tends to be...
These things may sound simple-stupid, but the obligatory question is:
- does `fdisk -l /dev/yourlvmdevice` show the new "disk" size?
Yes, it shows the correct, bigger, disk size.
- did the 1K-blocks value in `df` grow?
Nope, nothing. -- Anders Norrbring Norrbring Consulting
participants (6)
-
Anders Norrbring
-
Andreas Jaeger
-
Jan Engelhardt
-
jdd
-
Jigish Gohil
-
Roger Oberholtzer