Re: Urgent: Need to change the location of a directory tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jun 1, 2017 at 11:31 AM, Nikolaos Milas <nmilas@xxxxxx> wrote:
> On 1/6/2017 6:06 μμ, Nikolaos Milas wrote:
>
>> ...then remove the mount from fstab and the initial mount point /scimount
>> and finally rename /scimount2 to /scimount ?
>
>
> Correction:
>
> ...then remove the mount from fstab and the initial mount point /mynfsmount
> and finally rename /mynfsmount2 to /mynfsmount ?
>
>
> Sorry for the confusion. (I changed the directory names while editing the
> mail, but I failed to change them all.)
>
> Looking forward to your advice.
>
      So,

1. Make sure both users are not logged in.
2. Create new mountpoints
3. Edit fstab to point to new mountpoints.
4. Edit /etc/passwd to refer to the new mountpoint for the two users
5. mount -a

Would that do the trick for you?

> Thanks,
>
> Nick
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux