Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bekir@hede:~$ dd if=/dev/zero of=/free/test bs=1M count=100
- 100+0 records in
- 100+0 records out
- 104857600 bytes (105 MB) copied, 0.452559 s, 232 MB/s
- bekir@hede:~$ sudo mkfs.ext4 /free/test
- mke2fs 1.42 (29-Nov-2011)
- /free/test is not a block special device.
- Proceed anyway? (y,n) y
- Discarding device blocks: done
- Filesystem label=
- OS type: Linux
- Block size=1024 (log=0)
- Fragment size=1024 (log=0)
- Stride=0 blocks, Stripe width=0 blocks
- 25688 inodes, 102400 blocks
- 5120 blocks (5.00%) reserved for the super user
- First data block=1
- Maximum filesystem blocks=67371008
- 13 block groups
- 8192 blocks per group, 8192 fragments per group
- 1976 inodes per group
- Superblock backups stored on blocks:
- 8193, 24577, 40961, 57345, 73729
- Allocating group tables: done
- Writing inode tables: done
- Creating journal (4096 blocks): done
- Writing superblocks and filesystem accounting information: done
- bekir@hede:~$ grep /free /var/lib/lxc/mongo/config
- lxc.mount.entry=/free/test /var/lib/lxc/mongo/rootfs/free ext4 user,loop 0 0
- bekir@hede:~$ sudo lxc-start --logpriority DEBUG --logfile /dev/tty --name mongo
- lxc-start 1329594597.879 DEBUG lxc_console - using '/dev/tty' as console
- lxc-start 1329594597.880 DEBUG lxc_start - sigchild handler set
- lxc-start 1329594597.880 INFO lxc_start - 'mongo' is initialized
- lxc-start 1329594597.882 DEBUG lxc_conf - instanciated veth 'veth-mongo/vethdn3mk0', index is '70'
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/' (rootfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/sys' (sysfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/proc' (proc)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/dev' (devtmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/dev/pts' (devpts)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/run' (tmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/' (ext4)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/lib/init/rw' (tmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/run/lock' (tmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/tmp' (tmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/media/sd-mmcblk0p1' (vfat)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/run/shm' (tmpfs)
- lxc-start 1329594597.886 DEBUG lxc_cgroup - checking '/cgroup' (cgroup)
- lxc-start 1329594597.886 INFO lxc_cgroup - found cgroup mounted at '/cgroup'
- lxc-start 1329594597.886 DEBUG lxc_cgroup - cgroup /cgroup has flags 0x2
- lxc-start 1329594597.904 INFO lxc_cgroup - created cgroup '/cgroup/mongo'
- lxc-start 1329594597.904 DEBUG lxc_cgroup - checking '/free' (ext4)
- lxc-start 1329594597.904 DEBUG lxc_cgroup - checking '/home' (ext4)
- lxc-start 1329594597.904 DEBUG lxc_cgroup - checking '/var/lib/nfs/rpc_pipefs' (rpc_pipefs)
- lxc-start 1329594597.904 DEBUG lxc_cgroup - checking '/sys/fs/fuse/connections' (fusectl)
- lxc-start 1329594597.904 DEBUG lxc_cgroup - checking '/proc/fs/nfsd' (nfsd)
- lxc-start 1329594597.905 DEBUG lxc_conf - move 'eth0' to '17444'
- lxc-start 1329594597.905 INFO lxc_conf - 'mongo' hostname has been setup
- lxc-start 1329594597.917 DEBUG lxc_conf - mac address '02:00:c0:a8:ad:0b' on 'eth0' has been setup
- lxc-start 1329594597.917 DEBUG lxc_conf - 'eth0' has been setup
- lxc-start 1329594597.917 INFO lxc_conf - network has been setup
- lxc-start 1329594597.917 DEBUG lxc_conf - mounted '/var/lib/lxc/mongo/rootfs' on '/usr/lib/lxc'
- lxc-start 1329594597.918 DEBUG lxc_conf - mounted 'proc' on '/usr/lib/lxc//proc', type 'proc'
- lxc-start 1329594597.918 DEBUG lxc_conf - mounted 'devpts' on '/usr/lib/lxc//dev/pts', type 'devpts'
- lxc-start 1329594597.918 DEBUG lxc_conf - mounted 'sysfs' on '/usr/lib/lxc//sys', type 'sysfs'
- lxc-start 1329594597.918 ERROR lxc_conf - Block device required - failed to mount '/free/test' on '/usr/lib/lxc//free'
- lxc-start: Block device required - failed to mount '/free/test' on '/usr/lib/lxc//free'
- lxc-start 1329594597.918 ERROR lxc_conf - failed to setup the mount entries for 'mongo'
- lxc-start: failed to setup the mount entries for 'mongo'
- lxc-start 1329594597.918 ERROR lxc_start - failed to setup the container
- lxc-start: failed to setup the container
- lxc-start 1329594597.918 ERROR lxc_sync - invalid sequence number 1. expected 2
- lxc-start: invalid sequence number 1. expected 2
- lxc-start 1329594597.918 ERROR lxc_start - failed to spawn 'mongo'
- lxc-start: failed to spawn 'mongo'
- lxc-start 1329594597.918 DEBUG lxc_cgroup - destroying /cgroup mongo
- lxc-start 1329594597.932 DEBUG lxc_cgroup - '/cgroup/mongo' unlinked
- bekir@hede:~$
Add Comment
Please, Sign In to add comment