From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 16 14:06:04 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1CEB106566B for ; Tue, 16 Mar 2010 14:06:04 +0000 (UTC) (envelope-from freebsd-virtualization@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE278FC16 for ; Tue, 16 Mar 2010 14:06:03 +0000 (UTC) Received: from via.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Tue, 16 Mar 2010 14:54:41 +0100 id 0002E12C.4B9F8DA1.00005138 From: Milan Obuch To: freebsd-virtualization@freebsd.org Date: Tue, 16 Mar 2010 14:55:43 +0100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201003161455.43783.freebsd-virtualization@dino.sk> Subject: shmget and vimage X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 14:06:05 -0000 Hi, some time ago I built a multi network monitor using older version with Marko Zec's vimage patch. I am trying to port it to 8-STABLE (newer features, easier maintenance...) with partial success. Basically, I use shared memory as common data area across more vimages in order to be able to generate quick summaries from in-memory data. I was not able to get it running under freshly compiler 8-STABLE, error message is shmget: Function not implemented Has anybody any idea? Patch to test to enable use of shared memory in vnet jails? Regards, Milan From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 16 14:29:50 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A23B1065672 for ; Tue, 16 Mar 2010 14:29:50 +0000 (UTC) (envelope-from freebsd-virtualization@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id A89F98FC25 for ; Tue, 16 Mar 2010 14:29:49 +0000 (UTC) Received: from via.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Tue, 16 Mar 2010 15:28:29 +0100 id 0002E12C.4B9F958D.000053CA From: Milan Obuch To: freebsd-virtualization@freebsd.org Date: Tue, 16 Mar 2010 15:29:32 +0100 User-Agent: KMail/1.9.10 References: <201003161455.43783.freebsd-virtualization@dino.sk> In-Reply-To: <201003161455.43783.freebsd-virtualization@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201003161529.33273.freebsd-virtualization@dino.sk> Subject: Re: shmget and vimage X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 14:29:50 -0000 On Tuesday 16 March 2010 14:55:43 Milan Obuch wrote: > Hi, > > some time ago I built a multi network monitor using older version with > Marko Zec's vimage patch. I am trying to port it to 8-STABLE (newer > features, easier maintenance...) with partial success. > > Basically, I use shared memory as common data area across more vimages in > order to be able to generate quick summaries from in-memory data. I was not > able to get it running under freshly compiler 8-STABLE, error message is > > shmget: Function not implemented > > Has anybody any idea? Patch to test to enable use of shared memory in vnet > jails? > > Regards, > Milan > Forget to add... In my code, I use if ((shmid = shmget(shmkey,sizeof(mdc),IPC_CREAT | 0640)) == -1) err(1,"shmget"); to create a shared segment and if ((shmid = shmget(shmkey,sizeof(mdc),0)) == -1) err(1,"shmget"); to get an id for already created segment. Both are failing under non-root vimage jail, but it works under main host. At first I thought shared memory is not yet virtualized, but ipcs display existing segments in both root/main host and vnet jail.ipcrm, however, works only in non-jailed host... ipcrm: shmid(131072): : Function not implemented Regards, Milan From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 16 15:20:08 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC741065672 for ; Tue, 16 Mar 2010 15:20:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 114718FC18 for ; Tue, 16 Mar 2010 15:20:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 4C7E841C69F; Tue, 16 Mar 2010 16:20:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id e23Zd-P+gN12; Tue, 16 Mar 2010 16:20:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 619E641C6B4; Tue, 16 Mar 2010 16:20:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 0455A4448EC; Tue, 16 Mar 2010 15:15:43 +0000 (UTC) Date: Tue, 16 Mar 2010 15:15:43 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Milan Obuch In-Reply-To: <201003161529.33273.freebsd-virtualization@dino.sk> Message-ID: <20100316151427.U33454@maildrop.int.zabbadoz.net> References: <201003161455.43783.freebsd-virtualization@dino.sk> <201003161529.33273.freebsd-virtualization@dino.sk> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD virtualization mailing list Subject: Re: shmget and vimage X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 15:20:08 -0000 On Tue, 16 Mar 2010, Milan Obuch wrote: > On Tuesday 16 March 2010 14:55:43 Milan Obuch wrote: >> Hi, >> >> some time ago I built a multi network monitor using older version with >> Marko Zec's vimage patch. I am trying to port it to 8-STABLE (newer >> features, easier maintenance...) with partial success. >> >> Basically, I use shared memory as common data area across more vimages in >> order to be able to generate quick summaries from in-memory data. I was not >> able to get it running under freshly compiler 8-STABLE, error message is >> >> shmget: Function not implemented >> >> Has anybody any idea? Patch to test to enable use of shared memory in vnet >> jails? >> >> Regards, >> Milan >> > > Forget to add... > > In my code, I use > > if ((shmid = shmget(shmkey,sizeof(mdc),IPC_CREAT | 0640)) == -1) > err(1,"shmget"); > > to create a shared segment and > > if ((shmid = shmget(shmkey,sizeof(mdc),0)) == -1) > err(1,"shmget"); > > to get an id for already created segment. > > Both are failing under non-root vimage jail, but it works under main host. At > first I thought shared memory is not yet virtualized, but ipcs display > existing segments in both root/main host and vnet jail.ipcrm, however, works > only in non-jailed host... > > ipcrm: shmid(131072): : Function not implemented if you create a jail with a vnet you want to give it jail - i -c vnet allow.sysvipc .. and then things should start to work at leat in the non-virtualized way (global namespace across all jails). /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 16 16:49:12 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDB11106568B for ; Tue, 16 Mar 2010 16:49:12 +0000 (UTC) (envelope-from miki@ceti.pl) Received: from relay.ceti.pl (relay.ceti.pl [62.121.128.10]) by mx1.freebsd.org (Postfix) with ESMTP id 970098FC2C for ; Tue, 16 Mar 2010 16:49:12 +0000 (UTC) Received: from tau.ceti.pl (tau.ceti.pl [62.121.128.11]) by relay.ceti.pl (Postfix) with ESMTP id E6223D52CC for ; Tue, 16 Mar 2010 17:22:44 +0100 (CET) Received: from [10.20.64.84] (unknown [89.174.237.33]) by tau.ceti.pl (Postfix) with ESMTP id AE512202FE4 for ; Tue, 16 Mar 2010 17:22:44 +0100 (CET) Message-ID: <4B9FB054.3030200@ceti.pl> Date: Tue, 16 Mar 2010 17:22:44 +0100 From: Mikolaj Rydzewski User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ViirtualBox + cpio problems X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 16:49:12 -0000 Hello to everyone here, I'd like to share with you some strange problem I encountered recently. I wanted to test procedure for server upgrade. So I decided to perform such test using VirtualBox software. First I wanted to make some basic tests, I installed fresh 8.0-REL, everything seemed to work fine, up to the point I ran (with separate virtual drive mounted under /mnt): cd / find -x ./ | cpio -o | (cd /mnt; cpio -i) cpio threw error messages 'cannot create file', some files were restored correctly, some were corrupted. I performed similiar test several times, with errors every time. Has anybody got any clue what was wrong? Is it a known issue? Is there any configuration option to fix it? Thanks -- Mikolaj Rydzewski From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 16 19:39:40 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA74E106566B for ; Tue, 16 Mar 2010 19:39:40 +0000 (UTC) (envelope-from freebsd-virtualization@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 23A5C8FC13 for ; Tue, 16 Mar 2010 19:39:39 +0000 (UTC) Received: from via.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Tue, 16 Mar 2010 20:38:17 +0100 id 0002E12C.4B9FDE29.0000696C From: Milan Obuch To: "Bjoern A. Zeeb" Date: Tue, 16 Mar 2010 20:39:21 +0100 User-Agent: KMail/1.9.10 References: <201003161455.43783.freebsd-virtualization@dino.sk> <201003161529.33273.freebsd-virtualization@dino.sk> <20100316151427.U33454@maildrop.int.zabbadoz.net> In-Reply-To: <20100316151427.U33454@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201003162039.22322.freebsd-virtualization@dino.sk> Cc: FreeBSD virtualization mailing list Subject: Re: shmget and vimage X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 19:39:40 -0000 On Tuesday 16 March 2010 16:15:43 Bjoern A. Zeeb wrote: [ snip ] > >> Basically, I use shared memory as common data area across more vimages > >> in order to be able to generate quick summaries from in-memory data. I > >> was not able to get it running under freshly compiler 8-STABLE, error > >> message is > >> > >> shmget: Function not implemented > >> > >> Has anybody any idea? Patch to test to enable use of shared memory in > >> vnet jails? > >> > >> Regards, > >> Milan > > [ snip ] > if you create a jail with a vnet you want to give it > jail - i -c vnet allow.sysvipc .. > > and then things should start to work at leat in the non-virtualized > way (global namespace across all jails). > > /bz Thanks, you are right. I overlooked this one at first, then I fiddled a bit with my vnets and everything works the way I need (global namespace is just what I need). Regards Milan From owner-freebsd-virtualization@FreeBSD.ORG Wed Mar 17 06:47:00 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72B4C1065670 for ; Wed, 17 Mar 2010 06:47:00 +0000 (UTC) (envelope-from andrey.zonov@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id E202E8FC1B for ; Wed, 17 Mar 2010 06:46:59 +0000 (UTC) Received: by bwz28 with SMTP id 28so662515bwz.14 for ; Tue, 16 Mar 2010 23:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=H4SNuUkoQp1dVUS2Tf6dYfACMoG1iKMNZozivQTmxtA=; b=e9qDUxoZUFCWatgSe+qw/wmoroQgnzQgUIPbN8lUM4OVEDvrhLcS3RaBMtKEpz+4dZ m5U9RZk9dCZV6C2EaU4BZYRzIsTHmr9tHGeCWeIK5fK0KuaeUvysv2CeBVDKWCdiqIJi k3qiaXFeXXdCku7BtJivyVLzX3td5xuJMeiPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tFuHvBx1xtkAZiwQj7DBqCvg6FEskkHO3jpkSoRcVnhQEcjudCzEQh6JXkLa8tU8y+ bKg+zQQResaiTN29JGf1Kgv5R0Cj7WCCHPtqSm3YI23FUcUPj8DxyOPWR6TscF2n2JGX oR66P+3PjF5ZKyJDPB//I5KR7vaQZZ+3efSRE= Received: by 10.204.139.68 with SMTP id d4mr649374bku.98.1268806828822; Tue, 16 Mar 2010 23:20:28 -0700 (PDT) Received: from [10.254.254.77] (ppp79-139-207-139.pppoe.spdop.ru [79.139.207.139]) by mx.google.com with ESMTPS id 15sm4258631bwz.4.2010.03.16.23.20.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 23:20:27 -0700 (PDT) Message-ID: <4BA074A2.7050701@gmail.com> Date: Wed, 17 Mar 2010 09:20:18 +0300 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Mikolaj Rydzewski References: <4B9FB054.3030200@ceti.pl> In-Reply-To: <4B9FB054.3030200@ceti.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: ViirtualBox + cpio problems X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 06:47:00 -0000 Why not `dump | restore'? Mikolaj Rydzewski ?????: > Hello to everyone here, > > I'd like to share with you some strange problem I encountered recently. > > I wanted to test procedure for server upgrade. So I decided to perform > such test using VirtualBox software. First I wanted to make some basic > tests, I installed fresh 8.0-REL, everything seemed to work fine, up > to the point I ran (with separate virtual drive mounted under /mnt): > > cd / > find -x ./ | cpio -o | (cd /mnt; cpio -i) > > cpio threw error messages 'cannot create file', some files were > restored correctly, some were corrupted. I performed similiar test > several times, with errors every time. > > Has anybody got any clue what was wrong? Is it a known issue? Is there > any configuration option to fix it? > > Thanks > -- Andrey Zonov From owner-freebsd-virtualization@FreeBSD.ORG Wed Mar 17 09:43:31 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C064E106566B for ; Wed, 17 Mar 2010 09:43:31 +0000 (UTC) (envelope-from miki@ceti.pl) Received: from relay.ceti.pl (relay.ceti.pl [62.121.128.10]) by mx1.freebsd.org (Postfix) with ESMTP id 79A318FC14 for ; Wed, 17 Mar 2010 09:43:31 +0000 (UTC) Received: from tau.ceti.pl (tau.ceti.pl [62.121.128.11]) by relay.ceti.pl (Postfix) with ESMTP id 2187FD5157 for ; Wed, 17 Mar 2010 10:43:30 +0100 (CET) Received: from [10.20.64.84] (unknown [89.174.237.33]) by tau.ceti.pl (Postfix) with ESMTP id 76A71202FED for ; Wed, 17 Mar 2010 10:43:29 +0100 (CET) Message-ID: <4BA0A43B.5010400@ceti.pl> Date: Wed, 17 Mar 2010 10:43:23 +0100 From: Mikolaj Rydzewski User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org References: <4B9FB054.3030200@ceti.pl> <4BA074A2.7050701@gmail.com> In-Reply-To: <4BA074A2.7050701@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ViirtualBox + cpio problems X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 09:43:31 -0000 Andrey Zonov wrote: > Why not `dump | restore'? Extracting with cpio should work anyway, am I right? To my surpise 'dump | restore' did its job! Strange, that userland cpio does not work correctly under VirtualBox. -- Mikolaj Rydzewski From owner-freebsd-virtualization@FreeBSD.ORG Thu Mar 18 06:28:05 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67B59106564A for ; Thu, 18 Mar 2010 06:28:05 +0000 (UTC) (envelope-from andrey.zonov@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id B0E1A8FC08 for ; Thu, 18 Mar 2010 06:28:04 +0000 (UTC) Received: by fxm24 with SMTP id 24so1258064fxm.3 for ; Wed, 17 Mar 2010 23:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=y1NuiIFpp4thBHCJUCEWgUfSYA52B3noCyOlg9BypjY=; b=ZEBcxSNKxlPvQyG9Y5mYqt9vk2rLkcFHnkrnc8xCrpOKxYJWusgAJxmjwN9p9O168V eBAb1Yr+FZnsCVC654j3CoQ5nU1riSEuSq+7zJKtqWIn27hsXybqlGxW8m6Wwi9gKMxe RVXGV2tYH/Y0dtis7C4GuUUnt/NveDDYimr40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GZdo1/A6Y2VRxQI5pAMMdvJ9KtDFzgWNdTK53FRscETps6lq8Bn6UTwakI1v4z8dV2 O5pe+swRvCEHYqpqdWbxq9hO+8FDH+i4OQljGLhagG64KDO4LyREll2mw5WwPvDMxwl1 4UbCeMaJTen/sKiUR9fnadibT2yqUeBzHPCtw= Received: by 10.223.15.89 with SMTP id j25mr1192224faa.97.1268893683623; Wed, 17 Mar 2010 23:28:03 -0700 (PDT) Received: from [10.254.254.77] (ppp79-139-204-142.pppoe.spdop.ru [79.139.204.142]) by mx.google.com with ESMTPS id 18sm11722895fks.35.2010.03.17.23.28.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 23:28:01 -0700 (PDT) Message-ID: <4BA1C7EC.20500@gmail.com> Date: Thu, 18 Mar 2010 09:27:56 +0300 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Mikolaj Rydzewski References: <4B9FB054.3030200@ceti.pl> <4BA074A2.7050701@gmail.com> <4BA0A43B.5010400@ceti.pl> In-Reply-To: <4BA0A43B.5010400@ceti.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: ViirtualBox + cpio problems X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 06:28:05 -0000 You may try run cpio under ktrace like this: find -x ./ | cpio -o | (cd /mnt; ktrace cpio -i) when you see errors, just stop process and look into `kdump' Mikolaj Rydzewski ?????: > Andrey Zonov wrote: >> Why not `dump | restore'? > Extracting with cpio should work anyway, am I right? > > To my surpise 'dump | restore' did its job! > Strange, that userland cpio does not work correctly under VirtualBox. > -- Andrey Zonov