* [Sysadmins] umount: device is busy
@ 2010-01-28 11:12 Sergey Alembekov
2010-01-28 11:15 ` Anton Farygin
0 siblings, 1 reply; 11+ messages in thread
From: Sergey Alembekov @ 2010-01-28 11:12 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
Здрасвствуйте, вроде бы детская проблема, а решить не могу. Помогите.
cat /etc/mtab| grep ftp
/dev/mapper/r10storage-lvol0 /var/ftp ext3 rw,nosuid,nodev,relatime 0 0
Пытаюсь отмонтировать раздел:
sudo umount /dev/mapper/r10storage-lvol0
umount: /var/ftp: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
sudo fuser -vm /var/ftp - в выводе пусто
sudo lsof | grep ftp - тоже пусто
/var/ftp был расшарен по nfs, но теперь nfs остановлен.
Что ещё можно посмотреть, что бы понять чем занят раздел?
--
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 11:12 [Sysadmins] umount: device is busy Sergey Alembekov
@ 2010-01-28 11:15 ` Anton Farygin
2010-01-28 12:38 ` Sergey Alembekov
0 siblings, 1 reply; 11+ messages in thread
From: Anton Farygin @ 2010-01-28 11:15 UTC (permalink / raw)
To: sysadmins
28.01.2010 14:12, Sergey Alembekov пишет:
> Здрасвствуйте, вроде бы детская проблема, а решить не могу. Помогите.
>
> cat /etc/mtab| grep ftp
> /dev/mapper/r10storage-lvol0 /var/ftp ext3 rw,nosuid,nodev,relatime 0 0
>
> Пытаюсь отмонтировать раздел:
> sudo umount /dev/mapper/r10storage-lvol0
> umount: /var/ftp: device is busy.
> (In some cases useful info about processes that use
> the device is found by lsof(8) or fuser(1))
>
> sudo fuser -vm /var/ftp - в выводе пусто
> sudo lsof | grep ftp - тоже пусто
>
> /var/ftp был расшарен по nfs, но теперь nfs остановлен.
>
> Что ещё можно посмотреть, что бы понять чем занят раздел?
Смонтирован кем-то по NFS ?
Модули nfs выгружать пробовали ?
umount -l -f /var/ftp размонтирует раздел в любом случае.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 11:15 ` Anton Farygin
@ 2010-01-28 12:38 ` Sergey Alembekov
2010-01-28 12:43 ` Sergey Alembekov
0 siblings, 1 reply; 11+ messages in thread
From: Sergey Alembekov @ 2010-01-28 12:38 UTC (permalink / raw)
To: sysadmins
On 28.01.2010 14:15, Anton Farygin wrote:
> Смонтирован кем-то по NFS ?
нет
> Модули nfs выгружать пробовали ?
попробовал - не помогло.
> umount -l -f /var/ftp размонтирует раздел в любом случае.
понимаю, но хотелось бы докопаться до причины.
--
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 12:38 ` Sergey Alembekov
@ 2010-01-28 12:43 ` Sergey Alembekov
2010-01-28 12:52 ` Anton Farygin
0 siblings, 1 reply; 11+ messages in thread
From: Sergey Alembekov @ 2010-01-28 12:43 UTC (permalink / raw)
To: sysadmins
On 28.01.2010 15:38, Sergey Alembekov wrote:
> On 28.01.2010 14:15, Anton Farygin wrote:
>> Модули nfs выгружать пробовали ?
> попробовал - не помогло.
вру. Выгрузились все, кроме sunrpc
rmmod sunrpc
ERROR: Module sunrpc is in use
lsmod | grep sunrpc
sunrpc 228200 2
--
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 12:43 ` Sergey Alembekov
@ 2010-01-28 12:52 ` Anton Farygin
2010-01-28 13:05 ` Sergey Alembekov
0 siblings, 1 reply; 11+ messages in thread
From: Anton Farygin @ 2010-01-28 12:52 UTC (permalink / raw)
To: sysadmins
28.01.2010 15:43, Sergey Alembekov пишет:
> On 28.01.2010 15:38, Sergey Alembekov wrote:
>> On 28.01.2010 14:15, Anton Farygin wrote:
>>> Модули nfs выгружать пробовали ?
>> попробовал - не помогло.
> вру. Выгрузились все, кроме sunrpc
>
> rmmod sunrpc
> ERROR: Module sunrpc is in use
>
> lsmod | grep sunrpc
> sunrpc 228200 2
Вот он то и держит.
Как его побороть - непонятно. Можно попробовать выгрузить с force, но к
чему это в итоге приведёт ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 12:52 ` Anton Farygin
@ 2010-01-28 13:05 ` Sergey Alembekov
2010-01-28 13:16 ` Anton Farygin
2010-01-28 13:19 ` Led
0 siblings, 2 replies; 11+ messages in thread
From: Sergey Alembekov @ 2010-01-28 13:05 UTC (permalink / raw)
To: sysadmins
On 28.01.2010 15:52, Anton Farygin wrote:
> Как его побороть - непонятно. Можно попробовать выгрузить с force, но к
> чему это в итоге приведёт ?
Спасибо! Отложу это до поездки в дата-центр.
Файловая система отмонтировалась umount -l
--
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 13:05 ` Sergey Alembekov
@ 2010-01-28 13:16 ` Anton Farygin
2010-01-28 13:19 ` Led
1 sibling, 0 replies; 11+ messages in thread
From: Anton Farygin @ 2010-01-28 13:16 UTC (permalink / raw)
To: sysadmins
28.01.2010 16:05, Sergey Alembekov пишет:
> On 28.01.2010 15:52, Anton Farygin wrote:
>> Как его побороть - непонятно. Можно попробовать выгрузить с force, но к
>> чему это в итоге приведёт ?
> Спасибо! Отложу это до поездки в дата-центр.
> Файловая система отмонтировалась umount -l
Оно может отпустить через некоторое время.
А чего в датацентр ездить ? IPMI Serial Over Ethernet нет ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 13:05 ` Sergey Alembekov
2010-01-28 13:16 ` Anton Farygin
@ 2010-01-28 13:19 ` Led
2010-01-28 13:22 ` Олег Лунегов
2010-01-28 14:45 ` Sergey Alembekov
1 sibling, 2 replies; 11+ messages in thread
From: Led @ 2010-01-28 13:19 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
On Thursday 28 January 2010 15:05:24 Sergey Alembekov wrote:
> On 28.01.2010 15:52, Anton Farygin wrote:
> > Как его побороть - непонятно. Можно попробовать выгрузить с force, но к
> > чему это в итоге приведёт ?
>
> Спасибо! Отложу это до поездки в дата-центр.
> Файловая система отмонтировалась umount -l
В случае с NFS так и надо делать - с '-l'
--
Led
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 13:19 ` Led
@ 2010-01-28 13:22 ` Олег Лунегов
2010-01-28 14:47 ` Sergey Alembekov
2010-01-28 14:45 ` Sergey Alembekov
1 sibling, 1 reply; 11+ messages in thread
From: Олег Лунегов @ 2010-01-28 13:22 UTC (permalink / raw)
To: sysadmins
смотрите открытые файлы!!!!!
а то угробите ФС, что потом делать будете..........
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Sysadmins] umount: device is busy
2010-01-28 13:19 ` Led
2010-01-28 13:22 ` Олег Лунегов
@ 2010-01-28 14:45 ` Sergey Alembekov
1 sibling, 0 replies; 11+ messages in thread
From: Sergey Alembekov @ 2010-01-28 14:45 UTC (permalink / raw)
To: sysadmins
On 28.01.2010 16:19, Led wrote:
> On Thursday 28 January 2010 15:05:24 Sergey Alembekov wrote:
>> On 28.01.2010 15:52, Anton Farygin wrote:
>>> Как его побороть - непонятно. Можно попробовать выгрузить с
>>> force, но к чему это в итоге приведёт ?
>>
>> Спасибо! Отложу это до поездки в дата-центр. Файловая система
>> отмонтировалась umount -l
>
> В случае с NFS так и надо делать - с '-l'
Как я написал в первом письме, эта файловая система когда-то была
расшарена по NFS, но на момент попытки umount уже была убрана из
/etc/exports и сделано service nfs stop. Именно по-этому у меня я и
написал сюда.
--
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-01-28 14:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28 11:12 [Sysadmins] umount: device is busy Sergey Alembekov
2010-01-28 11:15 ` Anton Farygin
2010-01-28 12:38 ` Sergey Alembekov
2010-01-28 12:43 ` Sergey Alembekov
2010-01-28 12:52 ` Anton Farygin
2010-01-28 13:05 ` Sergey Alembekov
2010-01-28 13:16 ` Anton Farygin
2010-01-28 13:19 ` Led
2010-01-28 13:22 ` Олег Лунегов
2010-01-28 14:47 ` Sergey Alembekov
2010-01-28 14:45 ` Sergey Alembekov
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git