Page 1 of 1

l2gen cannot write to NFS share?

Posted: Wed May 23, 2018 1:44 pm America/New_York
by 7yl4r
I have observed that l2gen throws a permissions error when trying to write to a location on my NFS share, despite having adequate permissions:

```
INFO - -E- /opt/ocssw/bin/l2gen: Error opening /srv/imars-objects/airflow_tmp/proc_myd01_to_myd0_otis_l2_gom_20180112T065000_l2 for writing.
INFO - Command exited with return code 1
```

The file is accessible for writing, in fact l2gen creates it early at the start of the run but the file never grows beyond 331B.

```
$ ls -lh /srv/imars-objects/airflow_tmp/proc_myd01_to_myd0_otis_l2_gom_20180112T065000_l2
-rw-r--r-- 1 airflow airflow 331 May 23 17:33 /srv/imars-objects/airflow_tmp/proc_myd01_to_myd0_otis_l2_gom_20180112T065000_l2
```

Full log is [here]( https://gist.github.com/7yl4r/9484ab5f52c643240b6d3c971854a417 ). Sorry about all the airflow clutter.

l2gen cannot write to NFS share?

Posted: Wed May 23, 2018 2:37 pm America/New_York
by gfireman
I wonder if this is due to the error detailed in the line just above the error you mentioned?
-E- /home/seadas/ocssw/src/l2gen/l2_generic.c line 437: product opp_cbpm2 not found.

l2gen cannot write to NFS share?

Posted: Wed May 23, 2018 6:09 pm America/New_York
by 7yl4r
Uh... yes. Yes that was exactly it. Thank you! Somehow I completely missed that line and jumped right to the NFS conclusion. :eek: