UNSOLVED

jineshkj

updated

13 years ago

J

jineshkj

10 Posts

0

2028

April 30th, 2013 03:00

VNX Simulator - NFS mount error for checkpoint

Hello there,

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.

Thanks for your help in advance,

Jinesh.

  • 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

  • jineshkj

    10 Posts

    542

    0

    Posted April 30th, 2013 07:00

    Thank you Rainer. This seem to be working fine. Although I still wonder why the checkpoint directory does not work in NFS while it works in CIFS

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    542

    0

    Posted April 30th, 2013 10:00

    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.

  • Rainer_EMC

    6 Operator

    8645 Posts

    542

    0

    Posted May 1st, 2013 09:00

    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

  • jineshkj

    10 Posts

    542

    0

    Posted May 2nd, 2013 23:00

    This sounds reasonable. Thank you once again Rainer for providing me the details.