Backing up to ext2 disk

Status
Not open for further replies.

ulf

Dabbler
Joined
Apr 23, 2013
Messages
33
I would like to backup my FreeNAS (6 x 4TB) to two 12 TB disks.
I have tried formatting to ext2, and it mounts OK.
If I do an rsync of small files, it works, but as soon as I try a large file like an MPEG-4 movie, the rsync hangs.

This is what I do:

sudo mount -t ext2fs /dev/ada0p1 /mnt(Media/Backup
sudo mkdir /mnt/Media/Backup/Dir
sudo chown me:me /mnt/Media/Backup/Dir
rsync -av /mnt/Media/FreeNAS/Dir /mnt/Media/Backup/Dir


This hangs after syncing a couple of 100 MBytes.
A number of small files have been rsync'ed without problem.

Tried first with FreeNAS 9.10 which did not work.
Have upgraded to the stable FreeNAS 11 but it still does not work.

I have managed to do this last year using 1TB disks.

I would like to move some large files to a Ubuntu System.
NFS mounting the FreeNAS gives me 3-4 MB/second, so backing up 12 TB of disk
will take more than a month.

Writing to a native disk should be around 100 MB/second...

Just now, I read the FAQ which states that FreeNAS only supports reading other filesystems.
Seriously, is it not possible to write to a backup disk with FreeNAS?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
It's possible just not "supported". You mentioned meda files. Do you NEED to use rsync? have you tried to just cp -r /mnt/Meda/FreeNAS/Dir /mnt/Media/Backup/? At least as a test? How is this backup drive connected?
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
I would like to move some large files to a Ubuntu System.
NFS mounting the FreeNAS gives me 3-4 MB/second, so backing up 12 TB of disk
will take more than a month.

Writing to a native disk should be around 100 MB/second...

Also did you try to find out why transferring to a NFS mount gives such low transfer rates? At least when transferring large media files one should be able to reach nearly 100 MBytes/s over a GBit network connection.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Why not just make the backup drive a ZFS pool? ZFS on Linux will import it easy.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Why not just make the backup drive a ZFS pool? ZFS on Linux will import it easy.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
Well that's just to easy.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
If it's ensured that no problems arise due to ZFS feature parity over OSes/distributions.
Unless they recently changed something significant, it worked for me last year.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
If it's ensured that no problems arise due to ZFS feature parity over OSes/distributions.
The 11.0 set of feature flags should be supported by ZFS on Linux.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Simply create the ZFS pool on Linux, and compare the features used between the ZFS on Limux pool, and the FreeNAS pool. If they are not the same, you can re-create the portable pool to use common features between them. I've done that lots of time for ZFS on Linux, so my boot recovery media can stll access my boot pools, (3 Linux hosts, each with a primary root pool and a backup pool on SDXC cards).

As for EXT2, you have to be careful with legacy file systems. Depending on the block size, you may be limited to;
  • Maximum file size of 16GBs, (Blurays can be upto 50GB).
  • Maximum file system size of 2TB, (yet you want to use 2 x 12TB disks).
 
Status
Not open for further replies.
Top