Quote:
Originally Posted by Dankles
Hey all, I have 400 GBs of data (movies, music, code, etc) on an NTFS drive to move to a new 1.5 TB mirror (software) raid all on the same computer. So I was wondering what the best way to go about this would be? Is 'cp' enough? Will ntfs-3g barf in the process?
|
cp should be enough, though you probably will want to setup some ownership and permissions after that. There's no way you could "import" those from the ntfs because the windows file systems do not have the necessary structures anyway.
But you can worry about that later. There are way to do mass-processing for that so you don't have to go clicking silly permissions boxes around.
cp should be ok, you could use rsync as well. Any tool that can copy files should be ok.
Quote:
Also, I haven't setup the 1.5 TB Raid yet and was wondering if everyone thinks I should format it as XFS or ext3 or what? I'll have LOTS of large files on it and it will be used as a samba share as well.
|
When people speak about BIG files for XFS they often do not know what a BIG file is in this context. A big file for XFS is more like in the range of TBs, or at least more than a couple of dozen GBs. Any fs will handle files of a few GBs just fine, you don't need XFS just for that. Id personally use ext4 if your kernel is recent enough (yes it's new, but it's stable and it's been merged in 2.6.28 in the stable kernel branch, so it's well tested and it's a reliable fs). Otherwise just use ext3 and tune it this way:
Code:
tune2fs -Odir_index -m0 /dev/whatever
That should be fine for your purpose. And you can upgrade to ext4 at any given time without reformatting.
I don't have any particular thing against XFS, but I just don't advice it unless you can guarantee a non-interruptible power supply. It has demonstrated for me and many people not to be reliable when there are unwanted shutdowns.