l2gen cannot write to NFS share?

Please enter here to ask a question about any NASA Science related topics!
Post Reply
7yl4r
Posts: 27
Joined: Tue Jul 18, 2017 10:07 am America/New_York

l2gen cannot write to NFS share?

by 7yl4r » Wed May 23, 2018 1:44 pm America/New_York

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.

Tags:

gfireman
Posts: 59
Joined: Thu Jan 07, 2010 2:59 pm America/New_York

l2gen cannot write to NFS share?

by gfireman » Wed May 23, 2018 2:37 pm America/New_York

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.

7yl4r
Posts: 27
Joined: Tue Jul 18, 2017 10:07 am America/New_York

l2gen cannot write to NFS share?

by 7yl4r » Wed May 23, 2018 6:09 pm America/New_York

Uh... yes. Yes that was exactly it. Thank you! Somehow I completely missed that line and jumped right to the NFS conclusion. :eek:

Post Reply