poudriere zfs/zpool create question

Charlie cwr at SDF.ORG
Thu Jan 30 12:32:05 UTC 2014


On Thu, 30 Jan 2014, James Griffin wrote:

> Date: Thu, 30 Jan 2014 11:38:21 +0000 (UTC)
> From: James Griffin <jmzgriffin at gmail.com>
> To: freebsd-questions at freebsd.org
> Subject: Re: poudriere zfs/zpool create question
> 
> On 2014-01-29, James Griffin <jmzgriffin at gmail.com> wrote:
>> On 2014-01-29, Christopher J. Ruwe <cjr at cruwe.de> wrote:
>
>>> Assuming you are running 10.0-RELEASE on zfs and further assuming you
>>> do not run multiple zpools, you already have your zpool set up.
>>>
>>> You configure the $ZPOOL poudriere uses in
>>> /usr/local/etc/poudriere.conf, which is extensively commented.
>>>
>>> Then, poudriere jail -c <...> will create your zfs dataset for you. I
>>> recommend to create datasets for packages like
>>> zroot/poudriere/packages/10amd64, but this is not required.
>>>
>>> Cheers,
>>
>> Hi, thanks for the info. I think I was overcomplicating the process.
>> I've got it all up and running now (I think - so far so good).
>>
>> Jamie.
>
> The command i'm using to create the jail isn't working. I've checked the
> man page, the command is correct so i'm stuck. The command is:
>
> # poudriere jail -c -j 10amd64
>
> df command shows the dataset/filesystem is mounted:
>
>
> Filesystem                       Size    Used   Avail Capacity  Mounted on
> zroot/ROOT/default               220G    9.4G    210G     4%    /
> devfs                            1.0K    1.0K      0B   100%    /dev
> fdescfs                          1.0K    1.0K      0B   100%    /dev/fd
> procfs                           4.0K    4.0K      0B   100%    /proc
> linprocfs                        4.0K    4.0K      0B   100%    /compat/linux/proc
> zroot/tmp                        210G    824K    210G     0%    /tmp
> zroot/usr/home                   211G    625M    210G     0%    /usr/home
> zroot/usr/ports                  212G    1.6G    210G     1%    /usr/ports
> zroot/usr/src                    211G    1.1G    210G     0%    /usr/src
> zroot/var                        213G    2.2G    210G     1%    /var
> zroot/var/crash                  210G    148K    210G     0%    /var/crash
> zroot/var/log                    210G    556K    210G     0%    /var/log
> zroot/var/mail                   210G    156K    210G     0%    /var/mail
> zroot/var/tmp                    210G     24M    210G     0%    /var/tmp
> zroot/poudriere/ports/default    211G    1.2G    210G     1%    /usr/local/poudriere/ports/default
>
> Can anyone advise?
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

What do you have in /usr/local/etc/poudriere.conf for

ZPOOL=

and

ZROOTFS=

It should be ZPOOL=zroot and ZROOTFS=/poudriere

Charlie

cwr at sdf.org
SDF Public Access UNIX System - http://sdf.org


More information about the freebsd-questions mailing list