Copying from 1 pool to another pool?

Status
Not open for further replies.

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Hi,

So my 6x 6TB drives came in, I made a new pool, shared the storage & gave myself permissions to the 21+TB of free space. I want to start dumping things on the drive. Pool is named "POOL" - I am very creative...

I started with a 6x 2TB pool (FNPool) and I have a bunch of data that I want to move over to POOL. Beyond copying from a windows share to windows share, is there an easier way to make that work?

My plan is to change the 6x 2TB drive from a RaidZ2 to a mirror & use that as my VM storage.

Thanks,
Rich
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
I am a little confused on how to use the MV command.

I want to move data from FNPool/Nas/demodataset to Pool

I also want to move data from my virtualbox jail to Pool.

When i ssh in, i dont see either of those directories though i am a freebsd newb so it might be something obvious i am missing.
 

Attachments

  • MVCommand.JPG
    MVCommand.JPG
    73.3 KB · Views: 221

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
IMHO, the simplest way to move in a case like this is to take a snapshot and use replication.
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Sounds good to me. I have a snapshot task already set for the FNPool. How do I use replication (I see the tab)?

Does it make a copy of the entire pool onto the "Pool" then I just delete what I dont need/want?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Read the snapshot section as well as the Replication section that follows it.
http://doc.freenas.org/9.3/freenas_storage.html#periodic-snapshot-tasks

Replication works on snapshots, so however you have your snapshots up is the limitiation to replication. IOW, if you only take snapshots at the parent level, then you have to replicate everything. If you choose the recursive snapshot option, then you can set per-dataset replication tasks.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I have to ask, what is confusing about 'mv /path/to/source/* /path/to/destination/'?
probably finding the location of his data.

Look in /mnt/ :smile:
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Oh, and mv doesn't retain snapshots.
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Thanks, that mnt was handy!

So if I have data here:

/mnt/FNPool/jails/plexmediaserver_1/Movies#

And want to move it here:

/mnt/Pool/Storage/Movies

The command would be (?)

mv /mnt/FNPool/jails/plexmediaserver_1/Movies/* /mnt/Pool/Storage/Movies
 
Status
Not open for further replies.
Top