LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   fstab question (https://www.linuxquestions.org/questions/fedora-35/fstab-question-245076/)

johncal 10-20-2004 09:24 AM

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

rkmalik 10-20-2004 10:05 AM

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.

misc 10-20-2004 10:09 AM

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.

johncal 10-20-2004 10:13 AM

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

misc 10-20-2004 10:32 AM

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




johncal 10-20-2004 10:34 AM

I am able to save anything of anysize when using the drive as windows - as linux I cannot

misc 10-20-2004 10:44 AM

Within Linux, can you write to a non-FAT partiton?

johncal 10-20-2004 10:49 AM

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!

misc 10-20-2004 11:13 AM

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?

johncal 10-20-2004 11:19 AM

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

misc 10-20-2004 11:28 AM

Then I'm back at post #5.

Steel_J 10-20-2004 11:50 AM

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.

johncal 10-20-2004 12:05 PM

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

Moketronics 11-01-2004 09:59 PM

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.

Steel_J 11-01-2004 11:46 PM

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.


All times are GMT -5. The time now is 03:12 PM.