Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Today I come with another weird thing on Debian 7 that I cannot explain myself..

Context :

Os: Debian7 Kernel: Linux http-apache-01a 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux This system is an NFS client .

The NFS server is using ZFS file system.

**The client mount the root directory : ** server.example.com:/share/nfs /nfs/share nfs nfsvers=3,rsize=16384,wsize=16384,tcp 0 0

Once the NFS directory is mounted here is the structure :

dr-xr-xr-x+  4 root     root        4 oct.  25  2012 .zfs
drwxr-xr-x   4 root     root     4096 juil.  2  2013 ..
drwxr-xr-x+  2 root     root       34 déc.  14 12:36 files

.zfs is a directory that contain ZFS snapshots.

For exemple :

snap-weekly-1-latest
snap-monthly-1-latest
snap-hourly-1-latest

So now, if I go into one of those directory, the system will automatically mount the directory as a new mount into the system .

Command used: cd /nfs/share/.zfs/snapshot/snap-monthly-1-latest

server.example.com:/share/nfs/.zfs/snapshot/snap-monthly-1-latest on /nfs/share/.zfs/snapshot/snap-monthly-1-latest type nfs (rw,relatime,vers=3,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountproto=,local_lock=none,addr=xxx.xxx.xxx.xxx)

More information

No autofs package installed Only works with ".zfs/snapshot/*" directory

Thanks you very much for you help :)

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.