> Date: Mon, 1 Oct 2012 14:11:38 +0400
> From: jimkli...@cos.ru
> To: openindiana-discuss@openindiana.org
> Subject: [OpenIndiana-discuss] Mountpoint tiering with priorities
> 
>    On a dual-boot box I can mount another OS's partition with
> FUSE and moderate performance. I can also boot that other OS
> in a VM and share it over a networking protocol and can have
> better performance (and it is unsafe to access the partition
> directly when the guest OS is booted anyway).
> 
>    So, I wonder if it is possible to set up (automounter?) to
> mount the network share from the VM if available, alternately
> mount the partition over FUSE, into the same mountpoint on
> the host OS (OI).
> 
> Thanks,
> //Jim

Based on man automount, you are wanting a kind of replicated filesystem, but I 
don't see a way to specify more than one set of options for a given mountpoint. 
In that part of the options is the filesystem type, the most direct answer 
would be to try the following in your /etc/auto_master

# key/location  mount options    filesystem
/shared-vm       -t nfs3         vm:/export/shared 
/shared-fuse     -t fuse         :/export/fuse

If you can share the filesystem under the same protocol from both methods, then 
you can put it on one line (like a replicated filesystem according to the man 
page:


# key/location  mount options    filesystem
/shared-vm       -t nfs3         vm:/export/shared :/export/fuse

Hope that helps,
Nathan
                                          
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to