chflags: Invalid argument

Luiz Gustavo S. Costa luizgustavo at mundounix.com.br
Sun Sep 20 15:54:52 UTC 2009


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


More information about the freebsd-current mailing list