Thanks for your opinion John. It sounds not too hard to do that :-) You done it on EIDE right? The problem I have is SuSE (7.3) cannot recognize my other SCSI disk connect through other SCSI card. I install other SCSI card because the SCSI on board is very old and it is difficult to find the disk match with it. Maybe I will buy the new EIDE disk. Kind Regards, M. Edwin -----Original Message----- From: John Lamb [mailto:J.D.Lamb@btinternet.com] Sent: Thursday, May 08, 2003 2:12 PM To: suse-linux-e@suse.com Subject: Re: [SLE] Adding new hard disk M. Edwin wrote:
Hi all,
I just check my proxy server and found that the harddisk is so limited (my harddisk is only 4 GB). I have to delete some file to make more room but still I feel not enough. I check with df and 95% is used. Can anybody here tell me how to install new scsi harddisk and move some directory to the new disk without disturbing the existing directory structure. Said move /var/squid/cache or /var/log to the new one. Thanks in advance.
If you're adding rather than replacing the disk it shouldn't be too hard. I've done it with a new EIDE disk and also with solaris partitions when the update patches got too big. I would create a partition /var2 on the new disk and create directories /var2/squid and /var/log. Then, as root, copy the files in /var/squid to /var2/squid and /var/log to /var2/log. Then rename /var/squid to /var/squid-old and /var/log to /var/log-old and use ln to create symbolic links: # ln -s /var/squid /var2/squid # ln -s /var/log /var2/log Everything should now work OK. It's probably sensible to shut down squid while you do this. When I did it on solaris, I shut just about everything off for five minutes. When you're sure everything is working OK, you can delete /var/squid-old and /var/log-old. But, if something goes wrong, you should can go back to the old directories. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com