From owner-freebsd-questions Tue Oct 17 23:13:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 38D7E37B4C5 for ; Tue, 17 Oct 2000 23:13:25 -0700 (PDT) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.10.0/8.10.0) with ESMTP id e9I6DFn27518; Wed, 18 Oct 2000 08:13:15 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20001017175658.E89971@poeza.iconnect.co.ke> Date: Wed, 18 Oct 2000 08:13:14 +0200 (CEST) From: Micke Josefsson To: Odhiambo Washington Subject: Re: Defragmentation Cc: FBSD-Q Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17-Oct-00 Odhiambo Washington wrote: > * Micke Josefsson [20001017 17:21]: > => > =>On 17-Oct-00 Daniel Bye wrote: > =>> As far as I know, there are no defragmentation agents for FreeBSD (or most > =>> other *NICES). Therefore, you would have to rebuild your file systems. > =>> Take a tape backup of the entire system (this is sequential, so disk > =>> fragmentation is not an issue), rebuild your disk slice/partition setup, > and > =>> then restore the backed up file systems from the tape. > > Now that is where the dilemna is..my box has no tape drive! But I have a > tape of 10GB and there is another FBSD box near me which has the tape > drive. I've heard about amanda and some network backup applications but I > think I may be able to backup but not restore....what is the procedure > when the tape drive is not on the box?? Something like this works for me: dump -0aub 64 -f vanheden:/dev/nrsa0 / dump -0aub 64 -f vanheden:/dev/nrsa0 /usr dump -0aub 64 -f vanheden:/dev/rsa0 /var (this way it'll rewind when done) authentication is through rsh, which maybe is dangerous for you? Variations on that theme e.g. tar -c -v -p -f - -b 20 directory | ssh -c arcfour vanheden dd \ of=/dev/rmt/0n obs=20b should do just as well I imagine. Try not to use a too computer intensive encipherment though. Anyway man dump and man restore is prolly what you want. /M ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.5-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message