[lxc-users] Use rootfs images to avoid lxc-create

Serge Hallyn serge.hallyn at ubuntu.com
Wed Feb 12 17:44:28 UTC 2014


Quoting Robin Monjo (robin.monjo at applidget.com):
> Hello,
> 
> Thank you for the answers. My problem is when I untar my rootfs. Got lots of errors such as:
> 
> tar: ./rootfs/dev/mixer: Cannot mknod: Operation not permitted
> tar: ./rootfs/dev/ram5: Cannot mknod: Operation not permitted
> tar: ./rootfs/dev/midi01: Cannot mknod: Operation not permitted
> tar: ./rootfs/dev/mixer3: Cannot mknod: Operation not permitted
> tar: ./rootfs/dev/midi00: Cannot mknod: Operation not permitted
> 
> 
> I “tared" my file with tar cpjf and untar it with tar xf
> 
> Any idea what’s going wrong ?

Look at the ubuntu-cloud and download templates.  You need to
exclude /dev, then as lxc to bind-mount the devices in at
startup.


More information about the lxc-users mailing list