zfs-fuse does not mount filesystems on boot

34 views
Skip to first unread message

Dan

unread,
Jun 20, 2007, 9:38:02 AM6/20/07
to zfs-fuse
Good day all,

Everything looks fine in "zfs list" However nothing ends up being
mounted. The pool directory appears "Campground" but nothing
underneath it.

If I export the pool and import it again everything mounts, but I
would prefer to not have to do that.

Thank you for your time,
Dan

Thunder:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
Campground 55.9G 176G 34.5K /Campground
Campground/Users 55.9G 176G 25.5K /Campground/
Users
Campground/Users/Shared 55.9G 176G 28.5K /Campground/
Users/Shared
Campground/Users/Shared/Movies 24.5K 176G 24.5K /Campground/
Users/Shared/Movies
Campground/Users/Shared/Software 24.5K 176G 24.5K /Campground/
Users/Shared/Software
Campground/Users/Shared/Sound 55.9G 176G 55.9G /Campground/
Users/Shared/Sound
Campground/Users/dan 24.5K 176G 24.5K /Campground/
Users/dan
Campground/Users/jassau 24.5K 176G 24.5K /Campground/
Users/jassau
Campground/Users/rob 24.5K 176G 24.5K /Campground/
Users/rob
Campground/Users/samba 76.5K 176G 27.5K /Campground/
Users/samba
Campground/Users/samba/netlogon 24.5K 176G 24.5K /Campground/
Users/samba/netlogon
Campground/Users/samba/profiles 24.5K 176G 24.5K /Campground/
Users/samba/profiles
Campground/Users/val 24.5K 176G 24.5K /Campground/
Users/val
Campground/Users/veda 24.5K 176G 24.5K /Campground/
Users/veda


Thunder:~# zpool status
pool: Campground
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
Campground ONLINE 0 0 0
sda4 ONLINE 0 0 0

errors: No known data errors

Bryan Donlan

unread,
Jun 20, 2007, 1:47:20 PM6/20/07
to zfs-...@googlegroups.com
On 6/20/07, Dan <danie...@gmail.com> wrote:
>
> Good day all,
>
> Everything looks fine in "zfs list" However nothing ends up being
> mounted. The pool directory appears "Campground" but nothing
> underneath it.
>
> If I export the pool and import it again everything mounts, but I
> would prefer to not have to do that.
>
> Thank you for your time,
> Dan

Try: zfs mount -a

demianp...@gmail.com

unread,
Jun 26, 2007, 7:59:55 AM6/26/07
to zfs-fuse

On Jun 20, 9:38 am, Dan <daniel.s...@gmail.com> wrote:
> Good day all,
>
> Everything looks fine in "zfs list" However nothing ends up being
> mounted. The pool directory appears "Campground" but nothing
> underneath it.
>
> If I export the pool and import it again everything mounts, but I
> would prefer to not have to do that.
>
> Thank you for your time,
> Dan
>

I had a problem like this and it turned out that modprobe was not
loading the fuse module. so I had the zpf daemon running and other
stuff. I got output like yours showing the zfs filesystem and whatnot
but zfs would not mount. As soon as I probed fuse things worked.

Dan

unread,
Jun 27, 2007, 12:18:45 PM6/27/07
to zfs-fuse
zfs mount -a does work, however unfortunately it is still not mounting
at boot-time.

On Jun 20, 12:47 pm, "Bryan Donlan" <bdon...@gmail.com> wrote:

I'm not sure if you are familliar with this Demian, but do you know
what stage the fuse kernel module is loaded during the boot process.
Would this cause zfs-fuse to not mount during boot (requiring a zfs
mount -a) command?

I also had to create a startup script to start the zfs daemon (using
start-stop-daemon --background). I tried adding zfs mount -a
afterwards, however that did not change the result.

Thanks all for your time.

-- Dan

On Jun 26, 6:59 am, "demianphill...@gmail.com"


<demianphill...@gmail.com> wrote:
> On Jun 20, 9:38 am, Dan <daniel.s...@gmail.com> wrote:> Good day all,
>

Ricardo Correia

unread,
Jun 28, 2007, 8:26:59 AM6/28/07
to zfs-...@googlegroups.com, Dan
On Wednesday 27 June 2007 17:18:45 Dan wrote:
> I'm not sure if you are familliar with this Demian, but do you know
> what stage the fuse kernel module is loaded during the boot process.
> Would this cause zfs-fuse to not mount during boot (requiring a zfs
> mount -a) command?

That could be the problem if you're alreading running "zfs mount -a" on the
boot process, otherwise zfs-fuse wouldn't mount the FSs.

> I also had to create a startup script to start the zfs daemon (using
> start-stop-daemon --background). I tried adding zfs mount -a
> afterwards, however that did not change the result.

This could be a race between zfs-fuse and zfs - zfs-fuse might take a little
bit of time to initialize. Maybe add a "sleep 2" before zfs mount -a?

Anyway, the plan is to make zfs-fuse mount filesystems automatically when
started, and provide a command line option to suppress that behaviour.

Regards,
Ricardo Correia

Chris Samuel

unread,
Jun 29, 2007, 9:01:13 AM6/29/07
to zfs-...@googlegroups.com
On Thu, 28 Jun 2007, Ricardo Correia wrote:

> Anyway, the plan is to make zfs-fuse mount filesystems automatically when
> started, and provide a command line option to suppress that behaviour.

That sounds like a great idea.

--
Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP

signature.asc

Luca Dionisi

unread,
Jul 12, 2007, 10:27:04 AM7/12/07
to zfs-...@googlegroups.com
On 6/28/07, Ricardo Correia <rcor...@wizy.org> wrote:
>
> On Wednesday 27 June 2007 17:18:45 Dan wrote:
> > I'm not sure if you are familliar with this Demian, but do you know
> > what stage the fuse kernel module is loaded during the boot process.
> > Would this cause zfs-fuse to not mount during boot (requiring a zfs
> > mount -a) command?
>
> That could be the problem if you're alreading running "zfs mount -a" on the
> boot process, otherwise zfs-fuse wouldn't mount the FSs.
>
> > I also had to create a startup script to start the zfs daemon (using
> > start-stop-daemon --background). I tried adding zfs mount -a
> > afterwards, however that did not change the result.
>
> This could be a race between zfs-fuse and zfs - zfs-fuse might take a little
> bit of time to initialize. Maybe add a "sleep 2" before zfs mount -a?

Little OT.

Is ionice recommended with fuse?
Could I hope in better performance if I use, say
ionice -c1 /usr/bin/zfs-fuse &
at boot time?

--Luca

Ricardo Correia

unread,
Jul 24, 2007, 4:03:55 PM7/24/07
to Luca Dionisi, zfs-...@googlegroups.com
Hi Luca,

Luca Dionisi wrote:
> Is ionice recommended with fuse?
> Could I hope in better performance if I use, say
> ionice -c1 /usr/bin/zfs-fuse &
> at boot time?

I think that shouldn't improve performance too much, but you can use it
if it helps.

Regards,
Ricardo Correia

Luca Dionisi

unread,
Jul 25, 2007, 4:06:51 AM7/25/07
to zfs-...@googlegroups.com

Thank you

Reply all
Reply to author
Forward
0 new messages