Hey!
I´m a complete newbie to FreeBSD and I´m trying to get a fileserver running which uses samba and zfs. I got everything working except zfs. I just want to use one slice for the share.
I perform the following steps:
After the reboot it always tells me something about inconsistencies in the filesystem and it does not boot and switches into single user mode. Do I miss a step? Do I have to format /mfs, because there are still files on it?! If yes, how?
Thanks in advance
I´m a complete newbie to FreeBSD and I´m trying to get a fileserver running which uses samba and zfs. I got everything working except zfs. I just want to use one slice for the share.
I perform the following steps:
Code:
$ sysctl kern.geom.debugflags=16
$ echo 'zfs_load="YES"' >> /boot/loader.conf
$ echo 'zfs_enable="YES"' >> /etc/rc.conf
$ kldload zfs.ko
$ df -h # filter out the slice I want
/dev/ad4s1d 1.9G 20K 1.8G 0% /mfs
$ umount -f /mfs
$ zpool create zeta ad4s1d
$ zfs create zeta/mfs
$ zfs set mountpoint=/mfs zeta/mfs
$ reboot
After the reboot it always tells me something about inconsistencies in the filesystem and it does not boot and switches into single user mode. Do I miss a step? Do I have to format /mfs, because there are still files on it?! If yes, how?
Thanks in advance