Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 14:52:35 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Arcady Genkin <antipode@thpoon.com>
Cc:        questions@freebsd.org
Subject:   Re: Clone an installation (urgent help needed)
Message-ID:  <14915.48915.886249.656347@guru.mired.org>
In-Reply-To: <80342386@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Arcady Genkin <antipode@thpoon.com> types:
> I've had a harddrive failure on a computer running 4.2-S.  A test
> program from the manufacturer (it's an IBM DeskStar 13G), found bad
> blocks.
> 
> It's a root disk for my FreeBSD installation, and it freezes once in a
> while, reporting write failures to console.  I have a spare disk, wich
> is a 6.4G.  This is more than enough to back up the data from the 13G
> one, but if I understand correctly, I can't use dump for that, since
> all the partitions are not going to fit in.
> 
> Would anyone be so kind as to tell me how I can create a working copy
> of my current installation?  I would like to save all data from /,
> /var, /usr and /home.  I think I can just partition the disk using
> /stand/sysinstall and cp -Rp the files to it.  But how would I make it
> bootable?  And also, would cp -Rp work on kernel files and /boot
> directory?

Check the faq, in particular the entry titled "How do I move my system
over to my huge new disk?" at <URL:
http://www.freebsd.org/FAQ/admin.html#dmin.html#NEW-HUGE-DISK >

	<mike

> I'm under a bit of a pressure, since I have to babysit the system
> (because it hangs once every hour).  Although any kind of hints are
> very welcome, I'd really appreciate something other than a RTFM
> response. ;^)  I'll RTFM later, I promiss.
> 
> The failed drive is ad0; drive ad3 is a clean 6.4 drive, which I want
> to use as a replacement for ad0 while it is being exchanged.
> 
> ,----[ df -h ]
> | Filesystem    Size   Used  Avail Capacity  Mounted on
> | /dev/ad0s1a   194M    31M   148M    17%    /
> | /dev/ad0s1g   2.8G   8.5M   2.6G     0%    /home
> | /dev/ad0s1e   194M   966K   177M     1%    /tmp
> | /dev/ad0s1h   8.5G   1.1G   6.7G    14%    /usr
> | /dev/ad0s1f   388M   6.2M   350M     2%    /var
> `----
> 
> ,----[ dmesg ]
> | ad0: 13042MB <IBM-DPTA-371360> [26500/16/63] at ata0-master UDMA33
> | ad2: 18366MB <QUANTUM BIGFOOT TS19.2A> [37317/16/63] at ata1-master UDMA33
> | ad3: 6149MB <QUANTUM FIREBALL EX6.4A> [13328/15/63] at ata1-slave UDMA33
> `----
> 
> Many thanks in advance,
> - -- 
> Arcady Genkin
> Don't read everything you believe.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Unix/FreeBSD consultant,	email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14915.48915.886249.656347>