I am using VNX Simulator to develop an application that would mount a checkpoint on a Linux system. I am able to mount an NFS share created on top of a filesystem as you can see below:
jinesh@jinesh-desktop:~$ sudo mount -t nfs 172.30.49.7:/testFile/ /tmp/testFile/
jinesh@jinesh-desktop:~$ ls /tmp/testFile/.ckpt
2013_04_30_20.07.24_GMT 2013_04_30_20.13.17_GMT
jinesh@jinesh-desktop:~$ umount /tmp/testFile
But when I try to mount a checkpoint directly, I am getting an access denied error:
jinesh@jinesh-desktop:~$ sudo mount -t nfs 172.30.49.7:/testFile/.ckpt/2013_04_30_20.13.17_GMT /tmp/testFile/
mount.nfs: access denied by server while mounting 172.30.49.7:/testFile/.ckpt/2013_04_30_20.13.17_GMT
Can someone please let me know how I can directly mount a checkpoint ? I am able to directly mount a checkpoint using CIFS protocol.
what do you mean checkpoint directory does not work ? You should be able to cd into .ckpt directory on a mounted file system and see all the checkpoints.
I does work with both NFS and CIFS - you just need to know how.
Technically each ckpt is a different file system - it gets mounted separately.
For easy interactive access we have a driver that kinda like an overlay file systems makes the chkpt's contents available by going into the invisible .cpkt file directory in every directory of the PFS.
Due to way NFS works though - if you want to seperately mount the ckpt fs then you need to export and mount it from its real path.
In NFS an export is limited to one file system - unlike CIFS. That has to do with file handles being unique
Rainer_EMC
6 Operator
•
8645 Posts
542
0
Posted April 30th, 2013 06:00
Do a server_mount and use the path that shows there
Of course you need to export the ckpt first