ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] ovz mount/umount
Date: Mon, 28 Sep 2009 11:11:13 +0400
Message-ID: <4AC06191.1050504@altlinux.ru> (raw)

Дано - песочница на базе p5/branch

Встала задача - прокинуть данные с внешнего сторейджа внутрь контейнера.
Написал 2 скриптика - 115.mount и 115.umount.
При старте всё красиво -  монтируется и с данными можно спокойно 
работать. А вот при остановке контейнера получаю кучу ругани в messages 
(см ниже).

сat 115.umount
#!/bin/bash
fgrep -qs /dev/sda1 /proc/mounts && umount /var/lib/vz/root/115/data ||:
exit 0


===
Sep 28 10:57:55 flashback kernel: [762155.272109] ioctl32(mount:2069): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bf9edb78) on /
Sep 28 10:57:55 flashback kernel: [762155.272179] ioctl32(mount:2069): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bf9edb78) on /
Sep 28 10:57:55 flashback kernel: [762155.280658] ioctl32(mount:2073): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bfec09d8) on /data
Sep 28 10:57:55 flashback kernel: [762155.280727] ioctl32(mount:2073): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bfec09d8) on /data
Sep 28 10:57:55 flashback kernel: [762155.289252] ioctl32(mount:2077): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bfed13c8) on /dev/.static/dev
Sep 28 10:57:55 flashback kernel: [762155.289325] ioctl32(mount:2077): 
Unknown cmd fd(3) cmd(80041272){t:12;sz:4} arg(bfed13c8) on /dev/.static/dev
Sep 28 10:57:59 flashback kernel: [762158.681454] CT: 115: stopped



             reply	other threads:[~2009-09-28  7:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28  7:11 Anton Gorlov [this message]
2009-09-28  7:29 ` Anton Gorlov

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=4AC06191.1050504@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@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 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