ufs on zvol "Filesystem is not clean..."

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Sep 5 03:10:26 PDT 2007


On Wed, Sep 05, 2007 at 12:42:44PM +0300, Andrei Kolu wrote:
> Hello!
> 
> I am not sure I did everything correctly by creating UFS filesystem ontop of 
> zpool. Should I make 10GB UFS on free space or like I did on following 
> example?
> 
> # zfs create -V 10g tank/jails/ftpjail
> # newfs /dev/zvol/tank/ftpjail
> # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/
> 
> No complains from ZFS side- maybe it should say something like "You, stupid! 
> You can't do that!"
> 
> 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....
> 
> 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(): 
> Unable to mount devfs on /usr/jails/ftpjail/dev
> Sep  5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_mount_jail: 
> devfs was not mounted on /usr/jails/ftpjail/dev
> Sep  5 12:24:13 freebsd7 kernel: WARNING: R/W mount of /usr/jails/ftpjail 
> denied.  Filesystem is not clean - run fsck

Have you added it to /etc/fstab?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070905/1f70a299/attachment.pgp


More information about the freebsd-geom mailing list