DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd January 2011
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default I want move big files from FreeBSD box to Linux Box

At work I use FreeBSD and in home I have Arch Linux , at work I have many big files , many of them is is ISO files and many of them is over 4GB , I want move files with USB flash driver ,
for first try , i format my USB flash drive to NTFS format and I test it , and I see speed of copy is so low and take long time and sometimes I see error about I/O error and I can not copy it .
so for second try , I want test another file system like ext3 and ext4 and ,,,

can someone give me good suggestion for this ?
I want format my USB flash with another file system , this file system must be mount very easy in FreeBSD and linux .and I can mount USB flash in both system , and this file system must has good speed ,
can someone help me ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.

Last edited by mfaridi; 3rd January 2011 at 05:26 PM.
Reply With Quote
  #2   (View Single Post)  
Old 3rd January 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,088
Thanked 198 Times in 156 Posts
Default

There is no easy answer. FAT32 will work fine on both OS's, but it doesn't support files over 4GB. you can use split to split large files in smaller chunks.

Another solution might be to transfer the files over network. Depending on your internet speed this may take a long time.

You can also install a small LiveFS ($any OS will do) and run that as a NFS or Samba service, then you can access the files om the flash drive from pretty much any OS.

Another (Perhaps the easiest?) solution is to take either the machine at work home, or the machine at home to work, and use NFS or Samba to copy the files.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 3rd January 2011
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Default

In order to keep my NetBSD box compatible with other Linux distributions I format my flash drives with the EXT2 filesystem and use revision 0 (aka GOOD_OLD_REV) as the filesystem format.
__________________
A daemon in need is a daemon indeed.
Reply With Quote
  #4   (View Single Post)  
Old 4th January 2011
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
There is no easy answer. FAT32 will work fine on both OS's, but it doesn't support files over 4GB. you can use split to split large files in smaller chunks.

Another solution might be to transfer the files over network. Depending on your internet speed this may take a long time.

You can also install a small LiveFS ($any OS will do) and run that as a NFS or Samba service, then you can access the files om the flash drive from pretty much any OS.

Another (Perhaps the easiest?) solution is to take either the machine at work home, or the machine at home to work, and use NFS or Samba to copy the files.
Thanks
My problem is I do not have internet connection in home and I can not use network to move files , I can not split option because I think it may break ISO files , all of my files is ISO file from OS and split make change on md5 and ,,,
I want test etx2 , I want format mu USB flash to ext2 and check it . can I do this ?
is this way is easy and have good speed ?
can I find another way to solve this problem ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
  #5   (View Single Post)  
Old 4th January 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

File splitting simply separates files into chunks that can be rejoined at a later time, the rejoined file will have the same MD5 hash.

If the only two platforms you're using are FreeBSD and Linux, why would you pick NTFS or FAT for such a thing? it's quite inappropriate.

FreeBSD has support for ext2, and ext2 is supported by Linux natively.

There are tools for creating ext2 filesystems on *BSD, but you should probably do this on Linux... once created it can be mounted normally.
Reply With Quote
  #6   (View Single Post)  
Old 4th January 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

Copy the directions from:
http://forums.freebsd.org/showthread.php?t=20662
on to a piece of paper.

Format the disk at home.

Bring it back.


Use the directions noted above for mounting.

Follow what the others have told you about copying and file splitting.
Reply With Quote
  #7   (View Single Post)  
Old 4th January 2011
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Thanked 0 Times in 0 Posts
Default

Linux filesize limit not bad. Format your USB with something Linux.

http://linuxreviews.org/sysadmin/filesystems/

http://crazedmuleproductions.blogspo...-4gb-file.html


Split files is potable but since you don't seem to want to split files for whatever reason maybe use the gzip command to compress the files, just like zipping files on Windows. 8GB file iso can be 3.5GB depending ... You just have to sample it. NTFS is cool at lease you can see your work when using Windows. Everyone has a Windows machine at lease hidden in the closet. I keep a few fat32 partitions on my PcBSD and FreeBSD drives. If something happens all I need is a floppy. More options to see your work under others or all OS is what the NTFS thing is all about.

gzip -c this_iso > /to_usb/this_iso.Z

Code:
gzip		the.iso				# compress the file	
gunzip	the.iso.gz			# de-compress the file
Code:
tar -zxvf FILENAME.tar.gz or bz2		#  compress a file
tar -xjf FileName.tar.bz2	#  Decompressing in GNU tar:
Reply With Quote
  #8   (View Single Post)  
Old 4th January 2011
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Thanked 0 Times in 0 Posts
Default

You been a Linux, FreeBSD'se for a long time. You did say at work. That mean quad-triple the experience.. Come to think of it, not many businesses implement Linux inside FreeBSD. For one it's a security risk and two, FreeBSD don't like or recommend Linux filessystem. If you don't want to format UFS, all else could be a waste of time for what you are trying to do, and why would you not have a FreeBSD install at home. No experience FreeBSD person would never give the whole machine to Linux or Windows. What's up with that?
Reply With Quote
  #9   (View Single Post)  
Old 4th January 2011
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

thanks, all guys about this topic , I format my USB flash with Linux and make ext2 file system on it , after that I mount it in FreeBSD and my USB flash mount very easy , without error and I start copy big files to USB flash and I copy 4.2GB files to USB flash , everything is good , but speed is low and take long time for copy big files , but speed of copy in ext2 is better than NTFS , and I do not see error about I/O error with ext2 , and large or big file can copy very good .
I want test ext3 , and I wish I see better speed with ext3 and FreeBSD does not has problem with ext3
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 4th January 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

A higher number does not mean better. Please take the time to read this:

http://en.wikipedia.org/wiki/Ext3
Quote:
Its main advantage over ext2 is journaling which improves reliability and eliminates the need to check the file system after an unclean shutdown.
Reply With Quote
Old 4th January 2011
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Post

Another solution might be to buy two cheap PCI cards with USB 3.0/2.0 controllers or eSATA controllers and use a fast external device (Passport HDD?) as a shared partition.

Be careful with USB flash drives as they have a limited number of write cycles. I already destroyed two.
__________________
A daemon in need is a daemon indeed.
Reply With Quote
Old 4th January 2011
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Thanked 0 Times in 0 Posts
Default

http://kerneltrap.org/node/8079

http://www.sun.com/software/whitepap...erformance.pdf

Last edited by sharris; 4th January 2011 at 11:57 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 7.1 kernel incompatible with a linux program map7 FreeBSD Installation and Upgrading 7 5th November 2008 11:17 PM
installing linux on freeBSD freddybaker Other BSD and UNIX/UNIX-like 4 17th October 2008 03:40 PM
FreeBSD making the move from CVS to Subversion drhowarddrfine FreeBSD Installation and Upgrading 9 8th June 2008 05:29 PM
Matlab 2007b (linux version) on FreeBSD coppermine FreeBSD Ports and Packages 7 29th May 2008 02:50 PM


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick