xaibex
Patron
- Joined
- Mar 19, 2013
- Messages
- 340
Hello Folks,
I would like to use something like unionfs, but since unionsfs is simly not working with FreeNas/FreeBSD (as i read), I am looking for an alternative.
All I want to do is being able to add another drive(vdev) (without striping it with zfs) and see content from both drives in the same structure.
I found the mount Option -o union which seems to do exactly what i want.
from man:
union Causes the namespace at the mount point to appear as the
union of the mounted file system root and the existing
directory. Lookups will be done in the mounted file sys-
tem first. If those operations fail due to a non-exis-
tent file the underlying directory is then accessed. All
creates are done in the mounted file system.
Can someone tell me if this basically works, and how to use this mount option?
I tried to use it (mount -o union /mnt/pool/vdev/one /mnt/pool/vdev/two, but all i got was "Block device required"
I would like to use something like unionfs, but since unionsfs is simly not working with FreeNas/FreeBSD (as i read), I am looking for an alternative.
All I want to do is being able to add another drive(vdev) (without striping it with zfs) and see content from both drives in the same structure.
I found the mount Option -o union which seems to do exactly what i want.
from man:
union Causes the namespace at the mount point to appear as the
union of the mounted file system root and the existing
directory. Lookups will be done in the mounted file sys-
tem first. If those operations fail due to a non-exis-
tent file the underlying directory is then accessed. All
creates are done in the mounted file system.
Can someone tell me if this basically works, and how to use this mount option?
I tried to use it (mount -o union /mnt/pool/vdev/one /mnt/pool/vdev/two, but all i got was "Block device required"