[lxc-users] LXD and LVM?

Michael Zamot michael at zamot.me
Mon Jul 27 03:24:14 UTC 2015


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 at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150726/24140103/attachment.html>


More information about the lxc-users mailing list