ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] Ошибка при освобождении loop-устройства
Date: Thu, 17 Jan 2008 14:27:31 +0200
Message-ID: <478F49B3.1090603@rambler.ru> (raw)

ALD4.0.1.

Попользовался криптоконтейнером в файле на DVD через loop-устройство:

losetup /dev/loop3 /media/cdrom/crfile
cryptsetup luksOpen /dev/loop3 crfile
mount /dev/mapper/crfile /mnt/disk

Кроме этого был подмонтирован таким же образом ещё один 
криптоконтейнером, который отработал и отмонтировался нормально (его 
loop-устройство тоже нормально освободилось)
Далее, разбираюсь с указанным выше crfile:

umount /dev/mapper/crfile
cryptsetup luksClose crfile

А потом странности. Делаю:

losetup -d /dev/loop3

А мне выдаёт:

[root@olvin ~]# losetup -d /dev/loop3
ioctl: LOOP_CLR_FD: Устройство или ресурс занято
[root@olvin ~]# losetup /dev/loop3
/dev/loop3: [1600]:17410 (/media/cdrom/crfile)

В итоге:

1. диск нормально не отмонтирован
2. устройство loop3 занято, до перезагрузки
3. при попытке отмонтировать такой диск через значок на рабочем столе
    (KDE) говорит, что не может отмонтировать, потому что занято.
    Иногда при этом падает kded со всеми вытекающими.
    Приходится запускать вручную, чтобы наладить работу
    со сменными носителями.


Что делать? На какой пакет вешать багу? Конкретно достало уже.


                 reply	other threads:[~2008-01-17 12:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=478F49B3.1090603@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git