LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-29-2009, 06:21 AM   #1
nr0mx
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
Need to mount fat32 filesystem over network with locking facility


I have a fat32 filesystem sitting on a NAS storage device (nslu2) that I need to mount on my Ubuntu system. I've tried Samba and NFS mounts, but both don't seem to support proper locking. More specifically, I am unable to save files to the mounted drive through GNUcash, KeepassX etc, which makes the share fairly useless.

Is there a protocol that allows me to achieve this ? Note that the NAS storage device is running a linux OS so I can run pretty much any protocol that has a linux implementation.

The only option I'm not looking for is to reformat the partition to ext3, which I'm not able to do due to other constraints.

Alternatively, has anyone managed proper locking of a fat32 system over the network using Samba ?

Or, is advisory locking the best you get with a network-mounted fat32 file system ?

I've thought of trying sshfs but I've not found any indication that this will solve my problem.
 
Old 07-30-2009, 03:10 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,376

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
This is a bit off the wall and not what uyou asked for, but wpa_supplicant (a thing for wireless wpa/wep encryption) also supports wired connections. If you really want locking, encrypt all output from the fat system. Then it doesn't matter if the drive is locked or not, surely? Nobody without the key can talk to it.
 
Old 07-30-2009, 03:17 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The samba configuration would be in the nas which you might not be able to control.
You are using a client. AFAIK, you would want "locking", and "blocking locks" enabled on the NAS. Then the NAS would use blocking, and would block a file totally in response of a "byte range locking" request that a Linux client might ask for.
 
  


Reply

Tags
fat32, locking, nfs, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trace the process responsible for locking filesystem ? Vilius Linux - General 2 01-09-2009 02:51 AM
Best disk distro with network facility - to allow for internet install castalla2007 Linux - Newbie 12 02-28-2008 11:41 AM
Ext3 filesystem reported as FAT32 Samuli Järvelä Linux - General 1 05-10-2007 04:48 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Common filesystem other than fat32? TomalakBORG Linux - General 7 01-13-2006 12:59 PM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration