LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2005, 07:13 PM   #1
linkmark
LQ Newbie
 
Registered: May 2004
Location: Belgium
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
Question read/write file system for FreeBSD _and_ Gentoo


What i'm planning to do is this. 1 server with a dualboot with Gentoo and FreeBSD. With a partition (/srv) for the files the server will be serving. But both installations must be able to read/write to that partition. I prefer using reiserfs .. but FreeBSD has no such support. Some guy's told me to use FAT32 (why use linux/unix to use a old windows filesystem) or ext2 (quite old and not robust, not?).
So my question is .. what choise do i have in filesystems to fit my needs?

Thx!
linkmark
 
Old 03-26-2005, 08:02 PM   #2
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
according to this page, you can mount ext2 and ext3 filesystems from freebsd. Journaling will just not work if you use ext3.

ext2 is just the same as 3 but just without journaling .. so it's not too depreciated.
 
Old 03-27-2005, 08:44 AM   #3
linkmark
LQ Newbie
 
Registered: May 2004
Location: Belgium
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
thx

Thx for ur reply auximini .. that's a very intresting doc! But i had some bad things happen with ext2 and 3 .. afther a power down the whole partition wasn't writable anymore .. so the os couldn't boot etc .. a f*** up thing. So i'm looking for alternative's .. a worthy file system like reiserfs .. and i also prefer a journaling filesystem.

Can't i for example use a FreeBSD file system that also Gentoo reads/writes .. ?
Isn't exfs or extfs a good idea?
 
Old 03-27-2005, 11:04 AM   #4
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Last time I used FreeBSD, it used the UFS filesystem. Linux supports UFS, but in 2.6.6, I believe it was read only. That might have changed, so I would check on that, too.

So that way is possible, too.

As for the Reiser FS, last time I heard, it only had read-only support. That might have changed as well.
 
Old 03-27-2005, 11:49 AM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649

Rep: Reputation: 148Reputation: 148
As far as I remember, you have to be careful about choosing the right UFS system. I think Linux can make use of UFS(1), but cannot handle UFS2. The latter is the preferred partition type in the FreeBSD 5.x series I think, you will probably have to change the given choice in the installation process of FreeBSD.
 
Old 03-27-2005, 12:01 PM   #6
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Rep: Reputation: 15
If you decide to use UFS, you first got to know that FreeBSD 5.x by default comes with UFS2 ! So you have to install FreeBSD with UFS. Than you have to use 2.6 kernel on the gentoo (2.6.11 is fine) it can handle UFS read/write but it's "DANGEROUS".
And btw do NOT use FAT filesystem for any kind of server!! First because FAT doesn't know what is that thing owner, group, premission etc and you are unable to download files stored in FAT filesystem via HTTP/FTP server, second FAT isn't journal filesystem and it can crash at any time.
 
Old 03-27-2005, 12:05 PM   #7
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Quote:
you are unable to download files stored in FAT filesystem via HTTP/FTP server
I don't get this. I transfer a lot of files on my home network stored on FAT. (FAT32 anyways..)
 
Old 03-27-2005, 03:04 PM   #8
Soulstealer
Member
 
Registered: Dec 2004
Location: Necropolis
Distribution: FreeBSD
Posts: 47

Rep: Reputation: 15
Hmm...
I think that this is only possible if you use pure web server (without .htaccess)
so that the server doesn't care about the owner/permission and maybe anonymous FTP... otherwise I can't see how can you download files from FAT filesystem.
I always use .htaccess and when I tried FAT to store my files I experienced that noone can download.
 
Old 04-12-2005, 06:51 PM   #9
linkmark
LQ Newbie
 
Registered: May 2004
Location: Belgium
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
Thx for the reply's guy's!
I want to use UFS2 but i want the be shure there will nothing hapen with my data so maybe that isn't also a solution.
Maybe i should just learn first BSD on another server first and then install it on that server an convert the /srv partition to a BSD partition (whyle the data is stored elswere). I searched a lot on the net but didn't find a good solution, so I'll do that.

Many thx!
 
  


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
Read Write for NTFS file system geeedeee Linux - Laptop and Netbook 8 06-05-2006 08:41 PM
Windows driver to read/write Linux file system bmccurdy General 3 08-23-2004 06:06 PM
difficulties with large files and system call read/write jwstric2 Programming 2 08-23-2004 12:42 AM
which is the best file system for read write access from linux and windows tomank Linux - Newbie 4 04-05-2004 09:48 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:29 PM.

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