How do I move the Users/home directory to another volume?

SMB, NFS, AFP, FTP, web file manager and Rsync server.
Locked
User avatar
danny6869
Posts: 2
Joined: 29 Nov 2023, 08:16

How do I move the Users/home directory to another volume?

Post by danny6869 »

I would like to move `/Volume2/Users` to `/Volume1/Users`. How can this be acheived?

Basically, I don't like the home directories being on my RAID volume, as I am going to be experimenting with that, and I don't want to lose home dir files/folders while I work on it.

Thanks in advance!
User avatar
TMzethar
TerraMaster Team
Posts: 1248
Joined: 27 Oct 2020, 16:43

Re: How do I move the Users/home directory to another volume?

Post by TMzethar »

Since you cannot directly see the User directory of two volumes at the same time on the file management page of TOS.
You can open an SSH connection and move them.
How to open a SSH connection
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
danny6869
Posts: 2
Joined: 29 Nov 2023, 08:16

Re: How do I move the Users/home directory to another volume?

Post by danny6869 »

So, if I ssh in and `mv /Volume2/User /Volume1/User`, the `/home` mount will still work?!

That is what I am worried about.
User avatar
TMzethar
TerraMaster Team
Posts: 1248
Joined: 27 Oct 2020, 16:43

Re: How do I move the Users/home directory to another volume?

Post by TMzethar »

You can use all files in the folder as the target of the operation instead of the folder to avoid this issue:
For example: mv /Volume 2/User/* /Volume 1/User/
Generally speaking, copying is safer than cutting. It is recommended to use cp instead of mv.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked

Return to “File Services”