# lsmod |grep fuse
fuse 56678 1
# zpool create -m /mnt/zfs test /dev/mapper/malowazne-test
cannot mount 'test': Input/output error.
Make sure the FUSE module is loaded.
====== message.log:
2010-06-22T10:56:27.710851+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
[the same message many times]
2010-06-22T10:56:28.247673+02:00 localhost zfs-fuse: WARNING: Failed to
flush write cache on device '/dev/mapper/malowazne-test'. Data on pool
'test' may be lost if power fails. No further warnings will be given.
2010-06-22T10:56:28.816794+02:00 localhost zfs-fuse: !created version 23
pool test using 23
2010-06-22T10:56:29.953583+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
2010-06-22T10:56:29.953601+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
2010-06-22T10:56:29.953717+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
======
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
test 7,94G 87K 7,94G 0% 1.00x ONLINE -
# zfs create test/aaaaa
cannot mount 'test/aaaaa': Input/output error.
Make sure the FUSE module is loaded.
filesystem successfully created, but not mounted
===== message.log:
2010-06-22T11:02:55.641937+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
2010-06-22T11:02:55.641955+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
2010-06-22T11:02:55.642078+02:00 localhost zfs-fuse: kstat: fuse_mount
error - trying to umount
======
Have you got any idea what is the reason of this problem?
Thanks,
Marcin
--
To post to this group, send email to zfs-...@googlegroups.com
To visit our Web site, click on http://zfs-fuse.net/
sudo chown -Rc "$(whoami):" /var/{run,lock}/zfs /zfs-kstat/ /etc/fuse.conf
(a) unable to create mountpoints (a mkdir -pv $mountpoint; chown -Rc "$(whoami):" $mounpoint fixed that)
(b) the allow_other option is passed to all zfs-fuse mounts; this needs to be configured by uncommenting/adding 'user_allow_other' in /etc/fuse.conf
# sudo ls -ltR /var/{run,lock}/zfs /zfs-kstat/ /etc/fuse.conf= [B] LOGGED MESSAGES ===========
ls: cannot access /zfs-kstat/: No such file or directory
-rw-r----- 1 root root 215 2010-06-22 12:45 /etc/fuse.conf
/var/lock/zfs:
-rw------- 1 root root 0 2010-06-22 12:52 zfs_lock
/var/run/zfs:
srwxr-xr-x 1 root root 0 2010-06-22 12:52 zfs_socket
a lot of information coming up:
# sudo zfs-fuse -n
fuse-mount-options = default_permissions,noatime,debugThis will give you oodles of info, including libfuse error messages on stderr
# sudo zfs-fuse -n -o debug
Yes, this was problem with permissions. I'm using standard gentoo ebuild
and init script. It starts zfs-fuse as user "daemon" and group "disk".
I'm ashamed , but i didn't know about directory /zfs-stat.
When i start zfs-fuse as root it works without problem.
Sorry for taking time.
Regards,
Marcin
I'm going to post this over at the other guys, because I think (iirc)
one of them was running gentoo as well!
Regards,
Seth
I've created /zfs-kstat, chowned daemon:disk /zfs-kstat , chmod 770
/zfs-kstat and after start up zfs-fuse (as daemon:disk) i'm geting empty
dir /zfs-kstat. zpool list is empty, and i can't do zpool import ("Make
sure the FUSE module is loaded", and other strange things).
So i've changed init script, when zfs-fuse is running as root everything
works correctly.
> I'm going to post this over at the other guys, because I think (iirc)
> one of them was running gentoo as well!
And it should be write using capital letters in doc ;)
Regards,
Marcin