NFS trickery and deceit

bruce.labitt at autoliv.com bruce.labitt at autoliv.com
Fri Nov 21 14:12:18 EST 2008


Thanks to the help of this list and the python list I have a lot of my
project well underway.  I think I want to do something that is a little
tricky, but I hope the list will set me straight...

I have a blade processor that has no local file system.  The file system
for the blade is provided by NFS on my local ubuntu workstation.  This is
the general program flow:

1. My python program on the workstation creates a datafile on the
workstation for the remote blade to process.
2. The blade processes the input file and creates an output file.  I just
managed to get this to work using paramiko.  So the blade has to transfer
the data from NFS to local memory, process it and send it back from its
local memory back to NFS, which is on the ubuntu box.
3. My python program then reads the file and displays the surface generated
by the blade.

Since the files are all on my ubuntu box, I'd like to minimize the gbit
network traffic to and from the blade.  I would think that the python step
3 file read would not have to be done through paramiko to the blade, but
rather directly from the /srv/nfsroot/stuff directory on my ubuntu box.

What are the issues with doing this?  Do I need to lock the NFS to prevent
bad things from happening?  How can this safely be done?

TIA
-Bruce

* Please note that the Tyco Electronics Automotive Radar Sensors Group was acquired by Autoliv on September 26th, 2008.  My new contact information at Autoliv is included below.  Please update your records accordingly.


Bruce Labitt
Autoliv Electronics
1011B Pawtucket Blvd, PO Box 1858
Lowell, MA  01853

Email: bruce.labitt at autoliv.com.
Tel:  (978) 674-6526
Fax: (978) 674-6581


******************************
Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail.  Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
******************************



More information about the gnhlug-discuss mailing list