X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 8A76ADC012A for ; Sun, 2 Nov 2014 23:05:51 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id x19so4355050ier.30 for ; Sun, 02 Nov 2014 15:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+B+JAy3KqZF+Zs+6GwDiat3cZBY0eql7eX0zToNXGcs=; b=Yz6dNTtBClMi6spVH/KQMPyZddJYZC3X8Ohc4cj4pANIKswna/u4d4HbXm9J/ZAP2A OkrxP1KrfHCsezvRHxU0Z/9pGF51kN3sGbSav4Kvymz0J+DYUP7pwa4vSI7NBRJR2rw/ LJJmZ3gODBmzr1fDKkCOu91c/HB0/9L/HzsRokpV2xyCCRMqtJ+qwtRNNBrjPJQXf2Th jTu4NFNtvEblCTvD8Sm7FSaF9lKPblJ1zZ2rZU78wQhMgu4GZK+oS/VbkcHSax6pSFWs qAKvuw9za3DnBsJ+6dxJPA48FM7rESYqRdECuynlmyoD+yiv0mdzo6hDXHSOlH/jw1WG HDwg== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.50.73.135 with SMTP id l7mr9416175igv.10.1414969550534; Sun, 02 Nov 2014 15:05:50 -0800 (PST) Received: by 10.64.65.225 with HTTP; Sun, 2 Nov 2014 15:05:50 -0800 (PST) In-Reply-To: <5454F103.2090904@riihineva.no-ip.org> References: <5454F103.2090904@riihineva.no-ip.org> Date: Mon, 3 Nov 2014 00:05:50 +0100 Message-ID: Subject: Re: [alpine-devel] lxc-create and mkfs From: Carlo Landmeter To: Timo Ketola Cc: Alpine-devel Content-Type: multipart/alternative; boundary=089e0129482c6d7f080506e84599 --089e0129482c6d7f080506e84599 Content-Type: text/plain; charset=UTF-8 On 1 November 2014 15:41, Timo Ketola 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@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > > --089e0129482c6d7f080506e84599 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 1 November 2014 15:41, Timo Ketola <timo@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=C2=A0 =C2=A0 bdev - Error creating filesyst= em 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?

mkf= s is part of=C2=A0util-linux. I remember we discussed this before on IRC to= create a subpkg for lxc like lxc-lvm which would have util-linux in depend= s.
=C2=A0

I got forward by making a symlink mkfs->mke2fs

--

Timo



---
Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.alpinel= inux.org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@lists.a= lpinelinux.org
---


--089e0129482c6d7f080506e84599-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---