Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Gary Newcombe
On Wed, 24 Sep 2008 04:02:11 +0200 (CEST), Andreas Davour
<[EMAIL PROTECTED]> wrote:

> On Wed, 24 Sep 2008, Gary Newcombe wrote:
> 
> > On Wed, 24 Sep 2008 00:48:48 +0200 (CEST), Andreas Davour
> > <[EMAIL PROTECTED]> wrote:
> >
> >> On Wed, 24 Sep 2008, Wojciech Puchar wrote:
> >>
>  about trying to make the data as available as possible. Do anyone here 
>  have
>  any suggestion about what kind of filesystem would be best to use? Can 
>  ufs2
>  be read by linux? It looks like it from my short persual of google hits,
>  but it also looks kind of complicated. IS ext2 a safer bet? Anything
>  totally different?
> >
> > Have you considered ZFS as an option? It's a good option for a backup
> > disk where speed isn't too much of an issue.
> 
> AFAIK, ZFS is not yet ready for Linux.

That's true and as it stands, licensing issues mean it won't be a
kernel filesystem in linux. However, ZFS works fine using the fuse
module. I use ZFS as a common filesystem for backup. The only issue is
the differing versions of ZFS and which is used to create the pool.

> 
> >>> use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 
> >>> easily.
> >>> just remember ext2 performance is lower, but for backups, copying etc. it
> >>> shouldn't matter
> >>
> >> I'll remember the performance hit.
> >>
> >> While Linux don't handle UFS2 easily, how much of a trouble is it? I
> >> found a text about recompiling your kernel. Do you know if that's still
> >> needed? My source was kind of old.
> >
> > Just load it as a kernel module
> >
> > kldload ext2fs
> 
> Now you are refering to FBSD, I was talking about using UFS2 in Linux.

Sorry, I should learn to read. Afaik, ufs2 is read only under linux,
write support is available but the module isn't built by default and
it's listed as 'dangerous'.

> 
> /Andreas
> 
> -- 
> A: Because it fouls the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Gary Newcombe
On Wed, 24 Sep 2008 00:48:48 +0200 (CEST), Andreas Davour
<[EMAIL PROTECTED]> wrote:

> On Wed, 24 Sep 2008, Wojciech Puchar wrote:
> 
> >> about trying to make the data as available as possible. Do anyone here 
> >> have 
> >> any suggestion about what kind of filesystem would be best to use? Can 
> >> ufs2 
> >> be read by linux? It looks like it from my short persual of google hits, 
> >> but it also looks kind of complicated. IS ext2 a safer bet? Anything 
> >> totally different?

Have you considered ZFS as an option? It's a good option for a backup
disk where speed isn't too much of an issue.

> >
> > use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 
> > easily. 
> > just remember ext2 performance is lower, but for backups, copying etc. it 
> > shouldn't matter
> 
> I'll remember the performance hit.
> 
> 
> While Linux don't handle UFS2 easily, how much of a trouble is it? I 
> found a text about recompiling your kernel. Do you know if that's still 
> needed? My source was kind of old.

Just load it as a kernel module

kldload ext2fs

> 
> /andreas
> 
> -- 
> A: Because it fouls the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread andrew clarke
On Tue 2008-09-23 23:13:32 UTC+0200, Laszlo Nagy ([EMAIL PROTECTED]) wrote:

>> For making backups I would probably just use FAT32 and tar, because
>> practically anything (not just FreeBSD & Linux) will mount FAT32 file
>> systems, and tar should respect your file attributes (owner, group,
>> creation timestamp, last modified timestamp, etc).
>
> Except that you cannot create files with >4GB size on FAT32. You might  
> be able to use an archiver that is able to split archives into smaller  
> parts.

Ah yes, I'd totally forgotten about that, sorry.  i would probably
split the tarballs in a way similar to how the FreeBSD distribution
tarballs are split, but it's not pretty.

> This has always been a problem. FreeBSD is open source. So Linux is, but  
> they do not have a common filesystem that could be accessed from both  
> system, WITHOUT compromises. :-(

Are there compromises with using ext2fs under FreeBSD?

Perhaps there should be ufs or ext2fs modules for FUSE, in an ideal world :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Wojciech Puchar


Except that you cannot create files with >4GB size on FAT32. You might be 
able to use an archiver that is able to split archives into smaller parts.




or simply split(1)

This has always been a problem. FreeBSD is open source. So Linux is, but they 
do not have a common filesystem that could be accessed from both system, 
WITHOUT compromises. :-(


Best,

 Laszlo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Wojciech Puchar

mount_ext2fs is available in FreeBSD but I can't speak for its
reliability.


i can. it simply works.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Wojciech Puchar
about trying to make the data as available as possible. Do anyone here have 
any suggestion about what kind of filesystem would be best to use? Can ufs2 
be read by linux? It looks like it from my short persual of google hits, but 
it also looks kind of complicated. IS ext2 a safer bet? Anything totally 
different?


use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 
easily. just remember ext2 performance is lower, but for backups, copying 
etc. it shouldn't matter

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Laszlo Nagy



For making backups I would probably just use FAT32 and tar, because
practically anything (not just FreeBSD & Linux) will mount FAT32 file
systems, and tar should respect your file attributes (owner, group,
creation timestamp, last modified timestamp, etc).
  
Except that you cannot create files with >4GB size on FAT32. You might 
be able to use an archiver that is able to split archives into smaller 
parts.


This has always been a problem. FreeBSD is open source. So Linux is, but 
they do not have a common filesystem that could be accessed from both 
system, WITHOUT compromises. :-(


Best,

  Laszlo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread RW
On Tue, 23 Sep 2008 17:17:21 +0200 (CEST)
Andreas Davour <[EMAIL PROTECTED]> wrote:

> 
> I've bought a usb connected disk to use as backup, and I've been 
> thinking about trying to make the data as available as possible. Do 
> anyone here have any suggestion about what kind of filesystem would
> be best to use? Can ufs2 be read by linux? It looks like it from my
> short persual of google hits, but it also looks kind of complicated.
> IS ext2 a safer bet? Anything totally different?

If you want to, you can use ext3 on Linux, and treat it as ext2 on
FreeBSD. You need  sysutils/e2fsprogs to provide an fsck that can sync
the journal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread Mike Jeays
I have an EXT2 USB flash drive on a FreeBSD system, and it works perfectly.  
I have also used EXT2 filesystems on IDE drives in a USB caddy, and they work 
fine as well.

On September 23, 2008 04:19:06 pm andrew clarke wrote:
> On Tue 2008-09-23 17:17:21 UTC+0200, Andreas Davour ([EMAIL PROTECTED]) 
wrote:
> > I've bought a usb connected disk to use as backup, and I've been
> > thinking about trying to make the data as available as possible. Do
> > anyone here have any suggestion about what kind of filesystem would be
> > best to use? Can ufs2 be read by linux? It looks like it from my short
> > persual of google hits, but it also looks kind of complicated. IS ext2 a
> > safer bet? Anything totally different?
> >
> > Any filesystem that can handle data from both BSD and Linux without too
> > much metadata mangling would do.
>
> I'm not sure about UFS support in Linux.  You would probably need to
> ask on a Linux list.  The man page for newfs says that you can create
> UFS1 filesystems with it, which may help with compatibility?
>
> mount_ext2fs is available in FreeBSD but I can't speak for its
> reliability.
>
> There is full read/write support for NTFS provided by
> sysutils/fusefs-ntfs in the Ports tree.  I suspect there are some
> limitations though, eg. tighter restrictions than UFS on what
> characters are permitted in filenames.
>
> For making backups I would probably just use FAT32 and tar, because
> practically anything (not just FreeBSD & Linux) will mount FAT32 file
> systems, and tar should respect your file attributes (owner, group,
> creation timestamp, last modified timestamp, etc).
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?

2008-09-23 Thread andrew clarke
On Tue 2008-09-23 17:17:21 UTC+0200, Andreas Davour ([EMAIL PROTECTED]) wrote:

> I've bought a usb connected disk to use as backup, and I've been  
> thinking about trying to make the data as available as possible. Do  
> anyone here have any suggestion about what kind of filesystem would be  
> best to use? Can ufs2 be read by linux? It looks like it from my short  
> persual of google hits, but it also looks kind of complicated. IS ext2 a  
> safer bet? Anything totally different?
>
> Any filesystem that can handle data from both BSD and Linux without too  
> much metadata mangling would do.

I'm not sure about UFS support in Linux.  You would probably need to
ask on a Linux list.  The man page for newfs says that you can create
UFS1 filesystems with it, which may help with compatibility?

mount_ext2fs is available in FreeBSD but I can't speak for its
reliability.

There is full read/write support for NTFS provided by
sysutils/fusefs-ntfs in the Ports tree.  I suspect there are some
limitations though, eg. tighter restrictions than UFS on what
characters are permitted in filenames.

For making backups I would probably just use FAT32 and tar, because
practically anything (not just FreeBSD & Linux) will mount FAT32 file
systems, and tar should respect your file attributes (owner, group,
creation timestamp, last modified timestamp, etc).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"