Date: 21 Dec 2000 20:11:53 -0500 From: Arcady Genkin <antipode@thpoon.com> To: freebsd-questions@FreeBSD.ORG Subject: Clone an installation (urgent help needed) Message-ID: <87n1dp5kfa.fsf@tea.thpoon.com>
next in thread | raw e-mail | index | archive | help
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? 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87n1dp5kfa.fsf>