Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-29-2009, 07:21 AM   #1
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, 04:10 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,721

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
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, 04:17 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.


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 03:51 AM
Best disk distro with network facility - to allow for internet install castalla2007 Linux - Newbie 12 02-28-2008 12:41 PM
Ext3 filesystem reported as FAT32 Samuli Järvelä Linux - General 1 05-10-2007 05:48 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 08:54 PM
Common filesystem other than fat32? TomalakBORG Linux - General 7 01-13-2006 01:59 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:43 PM.

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