From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Message-ID: <4AC06191.1050504@altlinux.ru> Date: Mon, 28 Sep 2009 11:11:13 +0400 From: Anton Gorlov User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: ALT Linux sysadmin discuss Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Sysadmins] ovz mount/umount X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 07:11:06 -0000 Archived-At: List-Archive: Дано - песочница на базе 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