pincorrect
Dabbler
- Joined
- Jan 2, 2017
- Messages
- 38
I have copied data from an ancient (0.7) FreeNAS server to my 9.10 server. I would like to move some of the directories I copied to a different dataset in the same pool. From a shell, I see the pool is mounted as /mnt/my-pool, and the datasets are /mnt/my-pool/ds-1, /mnt/my-pool/ds-2, etc. (not the actual names). The data I copied is in /mnt/my-pool/ds-1/dir-1, /mnt/my-pool/ds-1/dir-2, etc. Can I move dir-1 to /mnt/my-pool/ds-2 simply by using a mv command in a shell?
Second question. I had trouble getting rsync to work, so I moved the files to the new server using scp. On the old system, the owner/group for the files were bill/house. I also had a user bill on the new system (but actually not the house group, the default group for bill on the new system was my-house). I ran the scp from a root shell from the console, and specified the -p option to scp. But it made root the owner of the copied files, with the group my-house. The group is fine, but I should probably change the owners to bill. Can I use the chown command to do this, or is it better to do it in the FreeNAS gui? Are there extended acl's that chown would not fix? I have other users on the new FreeNAS, and I want to give them rights also.
Second question. I had trouble getting rsync to work, so I moved the files to the new server using scp. On the old system, the owner/group for the files were bill/house. I also had a user bill on the new system (but actually not the house group, the default group for bill on the new system was my-house). I ran the scp from a root shell from the console, and specified the -p option to scp. But it made root the owner of the copied files, with the group my-house. The group is fine, but I should probably change the owners to bill. Can I use the chown command to do this, or is it better to do it in the FreeNAS gui? Are there extended acl's that chown would not fix? I have other users on the new FreeNAS, and I want to give them rights also.