[CentOS] unable to umount

Mon Feb 23 23:23:21 UTC 2015
J Martin Rushton <martinrushton56 at btinternet.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Resent after apparent failure to deliver.

On 22/02/15 14:51, J Martin Rushton wrote:
> 
> 
> On 22/02/15 14:19, Leon Fauster wrote:
>> Hi,
> 
>> on an EL5 XEN DOM0 system I have following volume
> 
>> $ df -h /srv Filesystem            Size  Used Avail Use% Mounted 
>> on /dev/sdc1             917G  858G   60G  94% /srv
> 
>> that partition was used by virtual machines but they were all 
>> halted.
> 
>> service xendomains stop
> 
>> $ xm list Name                                      ID Mem(MiB) 
>> VCPUs State   Time(s) Domain-0
>> 0 3000     2 r-----    695.1
> 
>> $ service xend stop
> 
> 
>> nothing is using the partition $ lsof |grep srv <empty>
> 
> Run as root: # lsof +D /srv
> 
> 
>> $ fuser -m /srv <empty>
> 
> 
> Again, run this as root.  Compare (test example from my system): $
> fuser -m /boot 2>/dev/null | wc 0      44     264 # fuser -m /boot
> 2>/dev/null | wc 0     223    1338
> 
> That's 180 processes I'd miss as an ordinary user.
> 
>> $ fuser -km /srv <empty>
> 
> 
>> but i can not umount /srv
> 
>> $ umount /srv umount: /srv: device is busy umount: /srv: device
>> is busy
> 
> 
> I'm sure you've checked, but where is your PWD?
> 
> 
>> what could keeping the device "busy" ... ?
> 
>> __ Thanks,
> 
>> LF
> 
> 
>> _______________________________________________ CentOS mailing 
>> list CentOS at centos.org 
>> http://lists.centos.org/mailman/listinfo/centos
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJU67ZpAAoJEAF3yXsqtyBlTLQQAOMoky5ML5KW6MfXTlGotANY
5Z17guXZSh3tqqL6qA/FxZIP+W/LMMNMdWDcFi7cPj10xvH1wZuifKTnWWbqzS2q
gwiwh0IvXC5tlw66RcogHo9lao/8+jc+z4zYM2iUeLEQmXd35oqgR8A/3B6UHekO
pJFPoNQJl5CkHPb396+YjYgD0dLVYwOiqogs4XcVke7V7GssrsqXFplGMJerD5BB
fswfWX7e/KewzwG0ehSanJX5LPEUm25HGG75w8kaMNB+WFCv9fp650yrkgVXYBIJ
j5Ule7pggRqeUj7VzEBAvkaznI/qbD/ndZbjhVas/ppqt3dkTEYh0lLLvPci5ONv
ka6t91DrdEOzXwbXFH+Fd6Fx0sZMB5gx0b1clsTopnuS2rPJ6otxooYyLRvWODx9
74gEKOv5ixtPP5mSJV6qFH8K/A5TCctP9F5nyvB4SBD4ZMjEBMJpyWJU+uCIWy1O
3QGVWR9vXvWmrrdryvI2fTO8I+mf1cjk8dOR/7ZJyxB4ZyzrB60Ff/0ikS9bKx96
Wzr4NgHF3N3fHgBiJlfE5l1X41KieM2Et87mLMiCfcSYc5dxMrfomYabJVNIStdG
wEAy9szwGFr+iI6Ggul9PHyTXt3Jg48RKtTKPrCUWzWzak+nI92dVm00tFKt1a+3
GwFc5B0UVID8qI5nW8f2
=cWme
-----END PGP SIGNATURE-----