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 03-17-2006, 06:16 PM   #1
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
FreeBSD and ext3?


Hi,

I just installed FreeBSD for the first time last night. I want to use it as a NFS server however all my data which is on another hard disk is in ext3/2 partitions. Can BSD mount these? I'm not having much look using the mount command and the -t ext3 option.

Thanks,
Paddy
 
Old 03-17-2006, 06:35 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Apparently FreeBSD is not very good with ext3 partitions. If you are lucky to get it to work, you can only access ext3 in read only mode. Google search for "freebsd+ext3" and you will get more info.
 
Old 03-17-2006, 07:57 PM   #3
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
Thanks for the info, is it the same with all variants of BSD or are there any BSD's that support ext3/2?

Paddy
 
Old 03-18-2006, 07:19 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by reddazz
Apparently FreeBSD is not very good with ext3 partitions. If you are lucky to get it to work, you can only access ext3 in read only mode.
Just to say, I haven't had any problems mounting my ext3 partition under FreeBSD.
 
Old 03-28-2006, 09:14 AM   #5
aryys
LQ Newbie
 
Registered: Mar 2006
Location: london, england
Distribution: Fedora 12, Mandriva 2010, FreeBSD 7.2, Slackware 13, OpenBSD 3.7
Posts: 29

Rep: Reputation: 16
Wink

FreeBSD 6.0 will mount them fine, just remember that the linux partition will show as a slice most likely some thing like '/dev/ad1s1'
it's a long shot but have you added a line in your /etc/fstab a bit like

'/dev/ad1s1 /mnt/ad1s1 auto rw,noauto 0 0'

works fine for me!
 
Old 01-13-2010, 04:46 AM   #6
IkBenDeMan
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by aryys View Post
FreeBSD 6.0 will mount them fine, just remember that the linux partition will show as a slice most likely some thing like '/dev/ad1s1'
it's a long shot but have you added a line in your /etc/fstab a bit like

'/dev/ad1s1 /mnt/ad1s1 auto rw,noauto 0 0'

works fine for me!
partition c (if still used in your version of *bsd) is symbolic for the whole disk, you could also fstab slice1 partition c

/dev/da0s1c /media/ext ext2 rw,auto 1 2
 
Old 01-17-2010, 04:46 PM   #7
vigol
Member
 
Registered: Feb 2008
Location: Uns Cigano from Vigol
Distribution: FreeBSD 8.0
Posts: 59

Rep: Reputation: 19
Ext3 must be mounted as ext2.
Side Effect : Journal will be in a bad state when you run Linux again that can fix by fsck.
If you want to make ext3 again : try 128 Byte inodes.

Find your slice/partition:

Code:
fdisk -p /dev/adX
for example in my system

Code:
% su
Password: Enter Pssword
# fdisk -p /dev/ad12

 /dev/ad12
g c620181 h16 s63
p 1 0xa5 63 104856192
p 2 0xa5 104856255 209712510
a 2
Code:
mount -o ro -t ext2fs /dev/adXsY /mnt
I don't know your FreeBSD version so:
If you encounter following error:

Code:
mount: /mnt: Bad file descriptor
apply following path (128+ inode problem)

http://pastebin.ca/raw/1280738

If there're more errors reffer to following links

Ext2 inode size patch:
http://lists.freebsd.org/pipermail/f...er/046758.html
http://lists.freebsd.org/pipermail/f...er/046916.html
FreeBSD 256-byte inode support
http://lists.freebsd.org/pipermail/f...er/025912.html
Bad File Descriptor Errors:
http://lists.freebsd.org/pipermail/f...ne/176506.html
Mounting Linux Partitions:
http://lists.freebsd.org/pipermail/f...ay/174588.html
http://lists.freebsd.org/pipermail/f...ly/178219.html
 
  


Reply

Tags
ext3, freebsd, mount, nfs


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
Ext3 & tune2fs tweaking question for ext3 experts wrc1944 Linux - General 8 12-11-2005 08:45 AM
As a FreeBSD user, what is the best things you like about FreeBSD? t3gah *BSD 6 06-10-2005 03:38 PM
how to convert ext3 to ntfs? cannot even see ext3 partition parv Linux - Hardware 1 12-31-2004 03:56 PM
Does FreeBSD support existing partitions and ext3 filesystems? GAVollink *BSD 6 01-21-2004 09:51 PM
Ext3 Half_Elf Linux - Hardware 3 05-05-2002 04:21 AM


All times are GMT -5. The time now is 09:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration