Re: chflags: Invalid argument

From: Luiz Gustavo S. Costa <luizgustavo_at_mundounix.com.br>
Date: Sun, 20 Sep 2009 12:22:41 -0300
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_at_carebears.mine.nu>:
> I was  trying 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 the
> grave. <url:
> http://lists.freebsd.org/pipermail/freebsd-current/2008-November/000630.html>
>
> System is FreeBSD 8.0-RC1 amd64, and ZFS pool version 13. The pool was
> upgraded today.
>
> --
> chs
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



--
Luiz Gustavo Costa (Powered by BSD)
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
mundoUnix - Consultoria em Software Livre
http://www.mundounix.com.br
ICQ: 2890831 / MSN: contato_at_mundounix.com.br
Received on Sun Sep 20 2009 - 13:54:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC