[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] "Failsafe" full restore procedure
- Subject: Re: [cobalt-users] "Failsafe" full restore procedure
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu Jul 25 11:36:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Thu, 25 Jul 2002, Toby Miller wrote:
> Matthew Goade wrote:
>
> >Notes: cfdisk reports the unused space as unusable. I cannot(to my
> >knowledge) make a partition out of it.
> >I do not have sufficient space on / to tar /home onto it in order to resize
> >/home.
>
> Matthew,
>
> Assuming the /home partition is large enough to hold a copy of itself I
> think you could tar /home up into itself and then ftp the tar to another
> machine whilst you resize the partition. I believe this should work.
<snip>
> Login as root ==> su -
> Make a temp directory ==> mkdir /home/hometmp
> CD to the new directory ==> cd /home/hometmp
> Tar a copy of /home ==> tar cvf home.tar /home
> Shut down all services ==> /etc/rc.d/init.d/httpd stop
>
just a little suggestion,
you can make the tar file considerably smaller by using
tar czvf home.tar.gz
'z' to create a gzip tar compressed file
--
Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
http://frontstreetnetworks.com | Website Hosts & SOHO Networks
229 Front Street, Ste.#C, New Haven, CT. 06513 United States
voice +1 203-785-0699 | fax +1 203-785-1787