Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2009 12:22:41 -0300
From:      "Luiz Gustavo S. Costa" <luizgustavo@mundounix.com.br>
To:        current@freebsd.org
Subject:   Re: chflags: Invalid argument
Message-ID:  <772ca7d0909200822r23c100c5m4c004f1bd03040dc@mail.gmail.com>
In-Reply-To: <772ca7d0909192042v7d1b7e43t1bbf7b8dc0083fb1@mail.gmail.com>
References:  <4AB55285.2090804@carebears.mine.nu> <772ca7d0909192042v7d1b7e43t1bbf7b8dc0083fb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

you need a create one ZVOL volume for use "chflags", native volume of
ZFS not is compatible with any options from UFS.

create a new ZVOL (example):

zfs create -V 10G tank/usr/jails

and, format with UFS format:

newfs /dev/zvol/usr/jails

Mount this volume:

mount /dev/zvol/usr/jails /usr/jails

Now, you can run the "ezjail-admin update -i"


2009/9/19 Christer Solskogen <solskogen@carebears.mine.nu>:
> I was =A0trying to use "ezjail-admin update -i" to create a basejail on a=
 zfs
> filesystem, but encountered this problem:
> install: /usr/jails/fulljail/lib/libc.so.7: chflags: Invalid argument
>
> From earlier posts it should not be an issue anymore (and I did not have
> this problem last time I used it) but now it seems it have emerged from t=
he
> grave. <url:
> http://lists.freebsd.org/pipermail/freebsd-current/2008-November/000630.h=
tml>
>
> System is FreeBSD 8.0-RC1 amd64, and ZFS pool version 13. The pool was
> upgraded today.
>
> --
> chs
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



--
Luiz Gustavo Costa (Powered by BSD)
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
mundoUnix - Consultoria em Software Livre
http://www.mundounix.com.br
ICQ: 2890831 / MSN: contato@mundounix.com.br



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?772ca7d0909200822r23c100c5m4c004f1bd03040dc>