[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: "Goade, Matthew" <mgoade@xxxxxxxxxxxxxxx>
- Date: Thu Jul 25 12:10:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Here is what I get in cfdisk. If I select the unusable space, I cannot create new, delete, anything.
Do I need to umount /home first? I don't see why...
cfdisk 2.10m
Disk Drive: /dev/hda
Size: 40020664320 bytes
Heads: 16 Sectors per Track: 63 Cylinders: 77545
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
hda1 NC Primary Linux raid autodetect 786.54
hda5 NC Logical Linux 31.49
hda6 NC Logical Linux raid autodetect 134.71
hda3 Primary Linux raid autodetect 210.06
hda4 Primary Linux raid autodetect 5035.04
Unusable 33822.87
-----Original Message-----
From: Gerald Waugh [mailto:gwaugh@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, July 25, 2002 1:36 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] "Failsafe" full restore procedure
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
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users