I have a folder(mostly with postfix user mailboxes-homedirs) mounted on a disk A(raid1) and I want to move it from disk A to disk B(also raid1).
Currently it is like:
/h1(folder) /md120(diskA)
and I want:
/h1(folder) /md121(diskB)
should I simply umount and then mount to another disk?
UPDATE 1
Hi again!
Thank you guys for all your answers.
It seems that I was wrong in my question.
The proper would be
How to properly change mount point of the folder?
So I have /h1 mounted to /md120 and I want to change it's mount point to /md121.
UPDATE 2 mount -l
fstab doesn't contain mounting.
/dev/md121 on /home2
/dev/md125 on /h1
My idea is to move h1
under home2
so full path would be /home2/h1
, which would be mounted into /dev/121
and /dev/md125
would be 'removed'. The problem is that h1
contains user homedirs(mailboxes) so I think to simply ln
after removing.