Quote:
Originally Posted by madfed
Hi guys
I have a problem with my E-mail server, its clogged and i need to create more space on it without deleting the existing files, i was thinking of installing a new hard drive in it, my question is, is it possible to mount the new hard drive to an already existing directory lets say /srv or /home and if possible how do i go about it?
The email server is running SUSE10 currently.
|
Very possible, but tricky on a running server. The mount point (/srv or /home), is just a directory. You COULD mount your new drive under a new mount point, like /srv1 or /home1, and copy all the files/directories from one to another, like "cp -R /srv /srv1". Problem is, that anything that's open may not copy cleanly.
Best approach would be to take the server into single-user mode, shut down all the services you can, then do the copy as described above. Then modify your fstab file to mount the new drive as /srv or /home as you want, and the old drive as some other mount-point, then reboot the server.