Info

This question is closed. Reopen it to edit or answer.

cannot save mat file over nfs (zfs)

1 view (last 30 days)
Jonathan Berrebi
Jonathan Berrebi on 22 Oct 2014
Closed: Jonathan Berrebi on 23 Oct 2014
Hi, We are using matlab on a computing client that has way to small ssd drive to include all users' data. So I have created a ZFS filesystem for the home directories of users with several TB of data that is shared through NFS. When a user login to the client, it's home directory is directly in the ZFS server.
This works pretty well untill I tried to save a mat file through matlab. It does not work. If I try the same on a local drive of the client it works without problem.
Error using save Unable to write file /data/jonathan/par/229EAx_2605/Rest/rp_s003a1001_001.txt: No such file or directory. In file "/usr/local/spm12m14a/spm_realign.m" (v6070), function "save_parameters" at line 541. In file "/usr/local/spm12m14a/spm_realign.m" (v6070), function "spm_realign" at line 162. In file "/usr/local/spm12m14a/config/spm_run_realignunwarp.m" (v5644), function "spm_run_realignunwarp" at line 78.
Should I share the NFS with "no_root_squash" ? Or with 32bitclients although I haven't found that option on the zfs share command.
Thank you,
Jonathan
  1 Comment
Jonathan Berrebi
Jonathan Berrebi on 22 Oct 2014
A little precision. It doesn't matter which m file I run, i.e. if it is a toolbox like above, or if I just type: a=rand(1000); save toto a I will still get the same error: " No such file or directory"

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!