LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-20-2004, 09:24 AM   #1
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
Question fstab question


Hello All,
Thanks in advance for reading this.
Not sure if this is the correct sub-forum, but since FC2 is what I am using, I figured I would
post here.

So, I am having an interesting problem trying to write to a "shared-drive"
I have a dual-boot system set up (fc2 and winxp) which works flawlessly.
I think I have my /etc/fstab file setup correctly, because I can read and write to files
on the fat partitions however I am having trouble with bittorrent files.

Let's say I am using fc2 and I want to initiate a torrent to save to one of the windows (fat) drives. I get an error (with azureus) that says:
Error: Operation not permitted - allocateFiles new:address of my drive

The troubling part is that I can save any other type of file to my shared drives fine, its just
the torrents that are giving me trouble.

Here is how the drives are set in my fstab file.

/dev/hda7 /win_hda7 vfat defaults 0 0
/dev/hda8 /win_hda8 vfat defaults 0 0
/dev/hda9 /win_hda9 vfat defaults 0 0

any and all help is welcomed and appreciated!

thanks
John
 
Old 10-20-2004, 10:05 AM   #2
rkmalik
LQ Newbie
 
Registered: Oct 2004
Location: UK
Posts: 13

Rep: Reputation: 0
Hi John,

Can you please tell me what size of file you are downloading with bittorent. This question I am asking because it might be you are downloading more than 2 Gig file and vFAT doesn't like that. May be you could use lwp-download for this.
 
Old 10-20-2004, 10:09 AM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Give more details (though I'd like to point out that I'm not familiar with Azureus -- might be that it requires special file-system attributes and hence needs ext3 or similar, e.g. for sparse files).

To rule out one problem, what are the file access permissions and ownerships on your mount points? Without a special configuration, I doubt that you would be able to write files to the mounted vfat partitions with users other than root.
 
Old 10-20-2004, 10:13 AM   #4
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the replies.

Well, I just tried to download a torrent that is only 675.94 MB
and I still got the same error.
I was unaware of the issue of vFat having size restrictions.
When I am in windows, I can save any size torrents to the same drive...

The permissions I have allow anyone to do anything with these mounts.
Plus I am root when trying
As I said , simple downloading (a file of any size) works fine, however the torrents do not work at all
 
Old 10-20-2004, 10:32 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Get Azureus specific help. I suspect it could be related to sparse blocks being created, which would require a non-FAT file system.




Last edited by misc; 10-20-2004 at 11:28 AM.
 
Old 10-20-2004, 10:34 AM   #6
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I am able to save anything of anysize when using the drive as windows - as linux I cannot
 
Old 10-20-2004, 10:44 AM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Within Linux, can you write to a non-FAT partiton?
 
Old 10-20-2004, 10:49 AM   #8
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
yes, within linux I can write to all partitions including the shared ones...
with files of any size no less...
The torrents are the only type of file that I canot write.

thanks again!
 
Old 10-20-2004, 11:13 AM   #9
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You misunderstand me all the time. When I refer to "in Linux", I mean "running Azureus in Linux" like "in the Linux application that causes trouble". I don't care at all whether you can create files on the FAT partitions with other Linux applications, because it does not matter much. I don't care either whether the Windows version of Azureus works for you. In case the Linux version of Azureus requires special file system capabilities (whether it be sparse blocks or ownerships), using a FAT partition would be insufficient. Hence I ask whether you can store files on an ext3 partition when running Azureus?

Last edited by misc; 10-20-2004 at 11:14 AM.
 
Old 10-20-2004, 11:19 AM   #10
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry for not being specific enough - I thought I had mentioned that yes,
I am able to save torrents with azereus (and other torrent clients) to ext3 partitions
perfectly fine.

thanks
 
Old 10-20-2004, 11:28 AM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Then I'm back at post #5.
 
Old 10-20-2004, 11:50 AM   #12
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
Hi,

I imagine you use NTFS filesystem on your XP.

If you do that tells me Azureus (wich I use myself sometimes) as no problem writing to journaling filesystems with support for large files.

That is why you have no problem writing to your ext3 partitions also in Linux. Witch is also a journaling filesystem.

Fat32 is old an inadequate for anything other than simple file archiving these days. I use it for backup of personnal files only on a external drive.

Why don't you try to partition a small portion of your share as ext3 or ReiserFS just to see if azureus will save it's files on it. Then you will have an answer or at the worst, you wil have eliminated a posibility.
 
Old 10-20-2004, 12:05 PM   #13
johncal
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the idea, however I want to be able to share this drive with winxp and linux...
And winxp cannot read ext3, correct?
Any other ideas?

thanks
 
Old 11-01-2004, 09:59 PM   #14
Moketronics
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
hey, I'm having the same problem. I can assure you that within windows you can write the large files to vfat just fine.

Infact, in linux if you use a different client it works as well, currently azureus for small single files (usually one file thats under a few hundred megs) will work when I stop the file and restart it, but larger files and batch torrents dont work. I get that exact same error.

So right now i switch between bit tornado in the command line and azureus for other files. I found this thread while googling around for an answer to my question and it popped up #1 on my first search. I figure the azureus site might have some answers or atleast somewhere so ill post if i figure it out :/

edit: ok here we go

Quote:
From faineant.org:

If you use Azureus BitTorrent client in Linux to download files to Fat32 partitions and encountered Operation not permitted (allocateFiles new:/foo_dir). Check Enable Incremental File Creation in the configuration.

Edit: Remember to click Save else you'll have to do the same ol' steps when Azureus is started next time.

Last edited by Moketronics; 11-01-2004 at 10:08 PM.
 
Old 11-01-2004, 11:46 PM   #15
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
Great

There you go, seems like a valid solution.

If it works or not, please post your results for others might benefit from it.


Quote:
I can assure you that within windows you can write the large files to vfat just fine.
This is true as long as you keep file size unde 4 Gigs. Fat 32 will not handle anything bigger, and sometimes on Bitorrent DVD images are larger than that.
 
  


Reply


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
fstab question Lleb_KCir Linux - General 2 04-12-2005 01:11 AM
fstab question cjstm Linux - Newbie 1 12-12-2004 02:46 PM
/etc/fstab question joker20 Linux - Newbie 16 09-15-2004 09:33 PM
question about /etc/fstab nny0000 Slackware 6 04-27-2004 07:42 PM
i have an fstab question... isajera Linux - General 7 12-21-2001 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration