Storage reading wrong

Status
Not open for further replies.

wheelsca

Cadet
Joined
Jul 24, 2018
Messages
3
Thanks for all the help on my first Freenas post, now I have another question.

Trying to learn command line and rsync from one dataset to another. I used this command:
rsync -av --log-file=/mnt/Mount/rsync.log /mnt/Mount/Ccomputers/Edisk mnt/Mount/Ccomputers/TestRsync
It showed everything copying and the shell shows it all as successful. I can change to the directory and see the new directories, I can show directory usage and is shows as 938mb, which is right.

My question is why does the shell show the files but I can't see them on the TestRsync dataset usage and the folder shows empty with a Windows share.

I have attached a pic to show.
Freenas.png

Thanks.
Ron
 
Joined
Jul 3, 2015
Messages
926
permissions issue? try ls -l from the CLI and see if all looks ok.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
rsync -av --log-file=/mnt/Mount/rsync.log /mnt/Mount/Ccomputers/Edisk mnt/Mount/Ccomputers/TestRsync
Your problem is that you don't have a leading slash on the second path (the target).

Whatever the working directory was when you ran the command will have that structure under it.
 
Status
Not open for further replies.
Top