Michael wrote:
> On Monday, 19 May 2025 14:39:21 British Summer Time Dale wrote:
>> Howdy,
>>
>> I'm wanting to move a Data partition over to a new set of drives that
>> are encrypted.  I decided the easiest way to do this is to put the new
>> drives on the NAS box and mount them like I do when I backup my large
>> Video directory only copy the Data files instead.  So, on the NAS box, I
>> set up the three drives, 2 16TB and the famous 20TB drive, with LVM and
>> dm-setup.  Once I had that setup, I mounted in just like I would the
>> Video directory.  I also ran exportfs -a so it would see the newly
>> mounted drive set and make it available.  On my main rig, I then mounted
>> it using the same command I would for the Video directory for backups. 
>> Then I took the same command for backing up my video but just replaced
>> the source and target with the Data path instead of video.  Basically,
>> everything is set up the same, I just replaced everything with the
>> drives I want info copied to in both mounting drives and commands. 
>>
>> This is the error I get. 
>>
>>
>> rsync: [generator] recv_generator: mkdir "/mnt/TV_Backup/Data/random
>> directory" failed: Permission denied (13)
>>
>>
>> I know to run the rsync command as a user, not root.  I have to do that
>> when updating my video backups.  I recall getting a error, could be this
>> one, at first but setting something to make it work.  I can't recall
>> what I had to do tho.  I also have no notes on this.  I'm sure I'm
>> missing something but no idea what.  Anyone ran into this before and
>> remember what to do to fix it?   Internet searches aren't helping either. 
>>
>> Thanks. 
>>
>> Dale
>>
>> :-)  :-) 
> OK, I am confused ...  :-/
>
> If you want to update the contents of a fs over the network, then rsync is 
> your tool.  Why is NFS coming into this at all?
>
> Assuming the user IDs are the same across systems, add '--numeric-ids'.  
> That's all.


Well, I mount the drives on the NAS box over the network with nfs on my
main rig.  It's just how I set it up.  For some reason, it just won't
work this time.  It works when I do my video backups tho.  :/ 

It does mount fine and everything shows up.  It's just that it won't let
me create a directory or anything to copy files over. 

You get your system fixed? 

Dale

:-)  :-) 

Reply via email to