Mail archive
alpine-devel

Re: [alpine-devel] lxc-create and mkfs

From: Carlo Landmeter <clandmeter_at_gmail.com>
Date: Mon, 3 Nov 2014 00:05:50 +0100

On 1 November 2014 15:41, Timo Ketola <timo_at_riihineva.no-ip.org> wrote:

> Hi,
>
> I just tried to create ubuntu lxc container:
>
> lxc-create -l DEBUG -o lxc-log -n trusty -t ubuntu -B lvm --vgname vg0 --
>> -d
>>
>
> and got this in log:
>
> lxc-create 1414851260.358 ERROR bdev - Error creating filesystem type
>> ext3 on /dev/vg0/trusty
>>
>
> Checking with lxc sources I saw that lxc tried to use mkfs and I don't
> have it. I don't find a package which would contain mkfs. Is there one or
> is this a compatibility problem?
>

mkfs is part of util-linux. I remember we discussed this before on IRC to
create a subpkg for lxc like lxc-lvm which would have util-linux in depends.


>
> I got forward by making a symlink mkfs->mke2fs
>
> --
>
> Timo
>
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>
>



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Nov 03 2014 - 00:05:50 GMT