Hi Michael, The call to 'lvcreate' to create a thin snapshot of the image has failed, but unfortunately the return code '3' isn't one I've seen (ie, I don't think it means your pool is full) and LVM's man pages don't explain the error codes.
However, you ought to be able to reproduce the error by calling lvcreate manually with some extra verbosity and get more info. Pulling from your error message, this is the equivalent of the command it ran: sudo lvcreate -vv -kn -n arbitrary_test_snapshot_name -s /dev/mantest_vg/ 9468e75eb8f27f895a0b06b1a44e067e3add82f8631c51aff640be6a4949d2c6 also, the output of 'sudo vgs -a' and 'sudo lvs -a' would be useful to see how you've configured your LVM volumegroups and the thin pool. Thanks, -mike On Sun, Jul 26, 2015 at 8:24 PM, Michael Zamot <[email protected]> wrote: > Hello there! > > I am running the last version of LXD in the ppa: 0.14. > > I am wondering what is the proper way to use LVM with LXD. I was able to > import an image using a pool called LXDPool, but can't create a "machine". > The error I am getting is this: > > In the client: > > root@sd-82988:/home/michael# lxc launch ubuntu/trusty > Creating container...error: Error creating snapshot of source LV > 'mantest_vg/9468e75eb8f27f895a0b06b1a44e067e3add82f8631c51aff640be6a4949d2c6': > Snapshot LV creation error: 'exit status 3' > > In the server: > > DBUG[07-27|05:12:10] operation %!s(func() shared.OperationResult=0x5b6550) > finished: { Error creating snapshot of source LV > 'mantest_vg/9468e75eb8f27f895a0b06b1a44e067e3add82f8631c51aff640be6a4949d2c6': > Snapshot LV creation error: 'exit status 3'} > DBUG[07-27|05:12:10] > { > "type": "sync", > "status": "Success", > "status_code": 200, > "metadata": { > "created_at": "2015-07-27T05:12:10.442249772+02:00", > "updated_at": "2015-07-27T05:12:10.450798376+02:00", > "status": "Failure", > "status_code": 400, > "resources": { > "containers": [ > "/1.0/containers/spectrohelioscopic-juli" > ] > }, > "metadata": "Error creating snapshot of source LV > 'mantest_vg/9468e75eb8f27f895a0b06b1a44e067e3add82f8631c51aff640be6a4949d2c6': > Snapshot LV creation error: 'exit status 3'", > "may_cancel": false > } > } > > Is this feature already working? If so, how did you manage to get it > working? > > Is there any other way to set a quota to storage? > > > Thanks! > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
