<font size=+2>Hi</font><font size=+2></font> <p><font size=+2>I am going to get my self a new 4 G hard drive. The reason is that i don't enough space on my system. The e-mail (spool directory) is getting to big to fast. What can I do to incorporate this new disk in to my current system. With out reinstalling.</font><font size=+2></font> <p><font size=+2>I want maybe to use the new disk only for the mail and maybe to store some data on. What must i do ?</font><font size=+2></font> <p><font size=+2>Thanks</font> <pre>-- Nardus Geldenhuys X-Solutions P.O. Box 2279 Honeydew 2040 Tel: +27 11 794 3994 Fax: +27 11 794 4395 Cell: + 27 82 8868 509 __ _ -o)/ / (_)__ __ ____ __ /\\ /__/ / _ \/ // /\ \/ / _\_v __/_/_//_/\_,_/ /_/\_\</pre>
You might consider slicing your new disk into at least three partitions and place /usr/spool /home /usr/local on them. This makes it very easy to upgrade your box or even install another distribution from scratch. SuSE like to store some pretty hefty files undr /opt (kde, applixware, netscape), you could slice up a fourth partition for that. Depending on your use, four gig drive might not be too comfortable to slice that way. Take care with the rest of my note, I am new to SuSE and am used to other Unixes. My former linux box was slackware for severl years. SuSE may have tools that make the approach below unneeded. As to how to do it, make your partitions and make the file systems (Yast might have some cool way to do this, I just use the comand line). Temporarily mount one of the new partitions under someplace: make a directory and mount the files system, ie mkdir /play then mount /dev/your_new_file_system /play You can use tar to move the files and keep the ownership intact with a line like this (to move everything in /home to /play): cd /home tar cf - . | (cd ../play; tar xvf -) Wach your syntax. I suggest you read the man pages until you are comfortable with what the line above does. Now you have a copy of everything under home in /play with the permissions intact. Unmount /play. Delete everything under /home (scarey. Be sure you confirm your tar command worked as you think it should have). Root is a powerful account and will not forgive typos. DOUBLE CHECK your commands. Next remount your new filesystem under /home, modify your /etc/fstab and you are done. (my two cents) David On Mon, 14 Dec 1998, Nardus Geldenhuys wrote:
Date: Mon, 14 Dec 1998 12:21:27 +0200 From: Nardus Geldenhuys <nardus@xsol.co.za> Reply-To: suse-linux-e@suse.com To: suse suse <suse-linux-e@suse.com> Subject: [SuSE Linux] New Hard Drive
Hi
I am going to get my self a new 4 G hard drive. The reason is that i don't enough space on my system. The e-mail (spool directory) is getting to big to fast. What can I do to incorporate this new disk in to my current system. With out reinstalling.
I want maybe to use the new disk only for the mail and maybe to store some data on. What must i do ?
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
As to how to do it, make your partitions and make the file systems (Yast might have some cool way to do this, I just use the comand line). I find it is better to trust the well used programs before depending on newer programs. I just use fdisk . But for some one new for the first few times of partitioning use a util that has a easy to understand interface. Delete everything under /home (scarey. Be sure you confirm your tar command worked as you think it should have). Root is a powerful account and will not forgive typos. DOUBLE CHECK your commands. This is VERY true. I was just doing a simiple cp -a
then rm -fr dir with out CHECKING well yesterday when I went looking for the data and it was no were to befound. I still don't know all of what I lost. <A HREF="http://theverge.com"><A HREF="http://theverge.com</A">http://theverge.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
abraham@usit.net
-
charlesiii@theverge.com
-
nardus@xsol.co.za