Re: ViirtualBox + cpio problems

2010-03-23 Thread Mikolaj Rydzewski

Ivan Voras wrote:

On 03/16/10 17:22, Mikolaj Rydzewski wrote:

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?


Does the virtual machine have more than one CPU?

No.

Host OS is Ubuntu 9.04

m...@miki$ cat /proc/cpuinfo
processor: 0
vendor_id: GenuineIntel
cpu family: 15
model: 4
model name: Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping: 3
cpu MHz: 2800.000
cache size: 2048 KB
physical id: 0
siblings: 1
core id: 0
cpu cores: 1
apicid: 0
initial apicid: 0
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 5
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc up pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr

bogomips: 5985.68
clflush size: 64
power management:



--
Mikolaj Rydzewski m...@ceti.pl

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: ViirtualBox + cpio problems

2010-03-18 Thread Andrey Zonov

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

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org