0

Before we used fstab:

/dev/disk      /var/lib/lxc/<container>/rootfs/dev/disk        none  bind,create=dir     0       0

But after upgrade to lxc 1.1.5 this solution doesn't work.

Also if we make parted to create some partitions in host system, forlders "disk" and "block" magicaly appear in lxc container /dev

davejal
  • 6,009
  • 10
  • 39
  • 82
tantra35
  • 79
  • 7
  • You need to put in more details. What do you mean "doesn't work", for example. What are you actually trying to achieve? What actually happens. – Daniel Jan 27 '16 at 01:23
  • I mean that in container not appear /dev/disk forlder. We use it to get access to /dev/disk/by-partuuid. Because program that we isolate in lxc use links from this folder, to identify disk – tantra35 Jan 27 '16 at 08:54
  • So sorry we just forget to pass lxc.mount in config. Now alll workr perfectly – tantra35 Jan 28 '16 at 09:04

0 Answers0