LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 10-28-2012, 07:43 PM   #1
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Rep: Reputation: 30
Which filesystem type for partition shared between Linux and *BSD?


I'm replacing my dying hard drive with a 128 GB SSD and a 500 GB HDD. The SSD is where the operating systems will live. I will have several versions of linux, and would also like to try a *BSD for learning on. FreeBSD, Dragonfly and PC-BSD all sound interesting.

The 500 GB platter hard drive will have two partitions: a small one for /var and a large one for /data.

/data is where I keep my work, documents and photos instead of in /home. This way I can access it from any distro and don't have to worry about conflicting configuration files. /data will have two directories in it: /tigerflag (my personal directory) and /music

I would like to read and write to /data from *BSD, but it appears that ext2 is the only Linux filesystem that *BSD can write to. I've heard that ext2 can be a real mess if there's a system crash. Is ext2 the only filesystem that will work for both linux and BSD?

Is the risk of data loss with ext2 bad enough that I should forget about installing *BSD? (Or in this forum, do you think I should install the *BSD and forget about Linux?)

Also, any advice for partitioning a drive to multi-boot several linux distros and *BSD?

One factor that holds me back from going straight *BSD is that I plan to upgrade to an AMD Trinity APU processor, and none of the *BSDs support it yet.

Your advice is sincerely appreciated!

Last edited by tigerflag; 10-31-2012 at 01:32 PM.
 
Old 10-29-2012, 05:21 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
If you want a filesystem with read/write support for both Linux and *BSD then I'd look at using XFS as it is journaled (unlike ext2) and is supported in both operating systems.
 
2 members found this post helpful.
Old 10-30-2012, 08:06 AM   #3
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Can I jump in on this topic? Other than the filesystem type, which partitioning strategy is best to share any Linux distro with, say, Netbsd? Links are fine too. Thanks
 
Old 10-30-2012, 12:52 PM   #4
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by NyteOwl View Post
If you want a filesystem with read/write support for both Linux and *BSD then I'd look at using XFS as it is journaled (unlike ext2) and is supported in both operating systems.
Also writable under FreeBSD? I found this documentation.
 
1 members found this post helpful.
Old 10-31-2012, 01:31 PM   #5
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Original Poster
Rep: Reputation: 30
If ext2 is the only mutually R/W filesystem for linux and *BSD, then I'll skip installing a *BSD. I want a journaled (sp?) filesystem for my data.

Thanks, guys.
 
Old 11-03-2012, 06:56 PM   #6
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 495

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by tigerflag View Post
If ext2 is the only mutually R/W filesystem for linux and *BSD, then I'll skip installing a *BSD. I want a journaled (sp?) filesystem for my data.

Thanks, guys.
One option you might consider is running a very light *BSD in a virtual machine. You could then export your Linux filesystem (ext3, ext4, xfs, jfs) to the BSD guest via NFS, allowing you to read and write to/from it. You could even assign the data disk entirely to the BSD guest, and export it back to the Linux host via NFS, using the BSD guest as your NFS server. That way you could have, for example, a FreeBSD ZFS filesystem for your data.
 
Old 11-04-2012, 12:27 AM   #7
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gezley View Post
One option you might consider is running a very light *BSD in a virtual machine. You could then export your Linux filesystem (ext3, ext4, xfs, jfs) to the BSD guest via NFS, allowing you to read and write to/from it. You could even assign the data disk entirely to the BSD guest, and export it back to the Linux host via NFS, using the BSD guest as your NFS server. That way you could have, for example, a FreeBSD ZFS filesystem for your data.
This sounds really intriguing, but I'm afraid it's way over my head. I don't know what a virtual machine or NFS is. I barely even know command line or how to get around in the shell.
 
Old 11-04-2012, 10:13 AM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,323

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
You ought to take a moment to learn about a free virtual machine. A virtual machine is a software version of a real computer. For example, you can boot up to your host OS. Then start the vm application. That vm can create and run almost an unlimited number of OS's. Each run generally in the host's os's filesystem.

See vmplayer, virtualbox or qemu/kvm data.
 
Old 11-05-2012, 05:52 PM   #9
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by Reuti View Post
Also writable under FreeBSD? I found this documentation.
Yes it is writeable.
 
Old 11-11-2012, 09:37 PM   #10
Alphalutra1
LQ Newbie
 
Registered: Aug 2006
Distribution: FreeBSD 8-Stable
Posts: 9

Rep: Reputation: 2
Quote:
Originally Posted by NyteOwl View Post
Yes it is writeable.
No XFS is not writeable under FreeBSD. Moreso it is not stable, it is bitrotting, and is slated for removal in -current as the project works towards having all the filesystems free of the biglock.

If you want to share info between linux and *BSD, use either fat32, udf, or ext2.
 
2 members found this post helpful.
Old 11-13-2012, 03:10 PM   #11
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
I was under the impression that is was. It was in use in my last workplace and I thought it was writeable. I may have been in error, if so my apologies.
 
1 members found this post helpful.
Old 11-13-2012, 07:19 PM   #12
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 428

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alphalutra1 View Post
No XFS is not writeable under FreeBSD. Moreso it is not stable, it is bitrotting, and is slated for removal in -current as the project works towards having all the filesystems free of the biglock.

If you want to share info between linux and *BSD, use either fat32, udf, or ext2.
Apologies for not thanking you sooner- I was offline for several days. This is very helpful and much appreciated.
 
  


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
mandriva dual boot filesystem type unknown,partition type 0x7 llearner Linux - Newbie 2 01-24-2010 02:03 PM
Filesystem type is ext2fs, partition type 0x83 TONYSUCCAR Linux - Enterprise 2 08-13-2009 02:20 AM
GRUB won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 06:44 AM
filesystem type unknown, partition type 0x7 crazyface_juicebox Linux - General 1 02-11-2007 11:50 PM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration