From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 10:10:25 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C6E16A417 for ; Wed, 5 Sep 2007 10:10:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED0C13C442 for ; Wed, 5 Sep 2007 10:10:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B82AD45E91; Wed, 5 Sep 2007 12:09:51 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 92AEA45685; Wed, 5 Sep 2007 12:09:44 +0200 (CEST) Date: Wed, 5 Sep 2007 12:08:31 +0200 From: Pawel Jakub Dawidek To: Andrei Kolu Message-ID: <20070905100831.GD12013@garage.freebsd.pl> References: <20070120073117.GB60202@x12.dk> <20070312142846.GA3747@garage.freebsd.pl> <45F6CEB5.7030305@barryp.org> <200709051242.44620.antik@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d8Lz2Tf5e5STOWUP" Content-Disposition: inline In-Reply-To: <200709051242.44620.antik@bsd.ee> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: ufs on zvol "Filesystem is not clean..." X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 10:10:26 -0000 --d8Lz2Tf5e5STOWUP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 05, 2007 at 12:42:44PM +0300, Andrei Kolu wrote: > Hello! >=20 > I am not sure I did everything correctly by creating UFS filesystem ontop= of=20 > zpool. Should I make 10GB UFS on free space or like I did on following=20 > example? >=20 > # zfs create -V 10g tank/jails/ftpjail > # newfs /dev/zvol/tank/ftpjail > # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/ >=20 > No complains from ZFS side- maybe it should say something like "You, stup= id!=20 > You can't do that!" >=20 > I can create jail with ezjail: > # ezjail-admin create ftpjail 192.168.1.112 > # jail /usr/jails/ftpjail ftpjail.example.com 192.168.1.112 /bin/csh > Everything works fine with jails so far until I reboot system.... >=20 > Sep 5 12:18:45 freebsd7 kernel: ZFS filesystem version 6 > Sep 5 12:18:45 freebsd7 kernel: ZFS storage pool version 6 > Sep 5 12:18:45 freebsd7 savecore: no dumps found > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_domount():= =20 > Unable to mount devfs on /usr/jails/ftpjail/dev > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_mount_jail:= =20 > devfs was not mounted on /usr/jails/ftpjail/dev > Sep 5 12:24:13 freebsd7 kernel: WARNING: R/W mount of /usr/jails/ftpjail= =20 > denied. Filesystem is not clean - run fsck Have you added it to /etc/fstab? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --d8Lz2Tf5e5STOWUP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3oAfForvXbEpPzQRAjymAKD2wQ7+duNSm1m/wfa5UpG+MoMsGgCgg1i5 xmhiVD16I6g35wsJ3lFWEEY= =zT6c -----END PGP SIGNATURE----- --d8Lz2Tf5e5STOWUP--