This post is more than 5 years old
1 Rookie
•
54 Posts
0
4368
October 22nd, 2013 00:00
Snapshot directory NFS export question
I tried to export serval snapshot to one same host by NFS, the first snapshot directory had exported without error, and I mounted it at the NFS client host, when I tried to export another snapshot directory, it failed with error:
==================================================================
Your export was not created
Error #1: Export rules 6 and 12 conflict on '/ifs/.snapshot/root_xxxxxxx' and client 192.168.10.99
==================================================================
I had executed: isi snapshot snapshot view 6 to ensure the export were used the different directories, I want to know if snapshot direcoty NFS export is supported or not, thanks in advanced for your answer.
0 events found
No Events found!


christopher_ime
6 Operator
•
2K Posts
0
October 23rd, 2013 00:00
It isn't so much that it isn't supported, despite appearing as different folders, they are actually hard links to the same inode. Therefore, they are seen by the OS as conflicting/overlapping NFS exports.
Thinking about it a bit, what you could consider though is creating an NFS export for:
/ifs/.snapshot
Then also enabling the option: "Enable mount access to subdirectories".
Let's see what others suggest.
Peter_Sero
6 Operator
•
1.2K Posts
1
October 24th, 2013 07:00
Wouldn't that mean that a single export per .snapshot will
allow a client to mount any actual snapshot from this point?
That would simply your (Fengli) task substantially...
On the other hand, mounting a specific snapshot on a client
always bares the risk that the snapshot expires while being
mounted. Might give all sorts errors an both server and client side.
The safest IMHO is still to export and mount a regular folder
-- probably as read-only(!) in this case --
and then access any snapshots explicitly under .snapshot.
Cheers
-- Peter
ayas
Community Manager
•
7.4K Posts
•
67.8K Points
0
June 1st, 2016 03:00
Hi.
I can see that point here is snapshot export. But I would like to know that if this double path setting is onefs matter or native nfs issue? There is below error at mr customer,
''Export rules conflict on '/ifs/data/nfs-test' "
If this is under onefs control,other version like onefs 8.0 has different move?
Peter_Sero
6 Operator
•
1.2K Posts
0
June 1st, 2016 03:00
Other than trying it out with 8.0, no new insights from my side here -- sorry.
-- Peter