Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-27-2010, 11:34 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Rep:
|
Writing to one disk from two or more computers at the same time
Hello, another naive question.
I've got a few linux boxes (fedora 13 and 11) with a common disk mounted. I'm trying to get them all to write files to that disk, however it seems that only the first to connect actually has permission to write.
I'm very new to this networking stuff and this is a bit of a hack. Is there anyway to give all computers write access to a disk (it's actually a managed back up disk, primarily for windows users but is the only shared disk in the building), or is this likely to be very very complicated?
Thanks
Sven
|
|
|
|
10-27-2010, 11:53 AM
|
#2
|
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187
Rep:
|
You didn't say how the disk was externally mounted, so I'll assume it's NFS mounted.
Here's some info to read.
http://www.linuxhomenetworking.com/w...ccess_with_NFS
|
|
|
|
10-27-2010, 03:59 PM
|
#3
|
|
Guru
Registered: Mar 2008
Posts: 8,552
|
What is the error reported if any?
|
|
|
|
10-27-2010, 04:48 PM
|
#4
|
|
Moderator
Registered: Aug 2002
Posts: 10,707
|
I would also assume you are sharing the drive via samba since you mentioned windows. You really have not provided much information and therefore difficult to provide help.
Please define what you mean by common disk? External USB, SATA etc...
Which computer if any is it attached to?
What is its filesystem?
How is it being shared? NFS samba etc.
What are its permissions?
How is it mounted?
If sharing via samba post the section from smb.conf
As already asked what are the error messages?
|
|
|
|
10-27-2010, 05:23 PM
|
#5
|
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
I'll bet OP has that disk mounted multiple times, not shared. This would be the source of the problem; every filesystem will expect to have exclusive access to the disk, and strange things happen when two or more operating systems simultaneously mount the drive.
The drive should be mounted on one system, which then shares it via SMB or NFS to everyone else. Then it will work.
|
|
|
|
10-28-2010, 04:26 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
Thanks for those questions. I'll check with the sysadmin (a windows man).
|
|
|
|
10-28-2010, 07:03 AM
|
#7
|
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
From the sys admin
"As for the questions:
The shared folder is an SMB share on a Windows server. Your user account has full share access permissions and full NTFS permissions on the disk itself which is directly attached to the server."
|
|
|
|
10-28-2010, 09:40 AM
|
#8
|
|
Moderator
Registered: Aug 2002
Posts: 10,707
|
Is this a real server or a shared drive on a workstation?
I assume you are not trying to write to the same file at the same time.
|
|
|
|
10-28-2010, 10:34 AM
|
#9
|
|
LQ Newbie
Registered: Oct 2010
Posts: 6
Original Poster
Rep:
|
Hi, I believe it's a real server, run by it's own computer.
I'm trying to write to different files with each computer (initialy just "touching" a blank file).
I used "mount -t cifs..." to connect all the computers to the drive.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:40 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|