Move files between HDD in the NAS without using network

Status
Not open for further replies.

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
I don't think you looked at what Anodos posted in the first reply. And you didn't read about using cp.

You are close. but not quite. Give it a shot and see how it goes. You won't damage anything. In order to see what got copied, you can run ls /mnt/tank
 

jakeandchase

Explorer
Joined
Aug 26, 2014
Messages
53
I successfully copied the dataset "test" with
Code:
cp -r /mnt/DATA1/test/ /mnt/tank/


"test" appears in tank using ls but not as a dataset in the GUI. i will create the dataset first with the gui THEN do the cp and see how it goes.

(i want tank to look exactly like DATA1, that's why I want the datasets to appear in the gui)
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If you want tank to look exactly like DATA1, with datasets and all, you should really look into using ZFS replication instead. This thread should get you started.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I successfully copied the dataset "test" with
Code:
cp -r /mnt/DATA1/test/ /mnt/tank/


"test" appears in tank using ls but not as a dataset in the GUI. i will create the dataset first with the gui THEN do the cp and see how it goes.

(i want tank to look exactly like DATA1, that's why I want the datasets to appear in the gui)

That's NOT gonna duplicate a dataset. That's going to make a new directory (not a dataset).
 
Status
Not open for further replies.
Top