From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 00:17:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3DE016A4C2 for ; Wed, 25 Oct 2006 00:17:20 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E1EE43D75 for ; Wed, 25 Oct 2006 00:17:18 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id k9P0EQqG085316; Tue, 24 Oct 2006 20:14:26 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id k9P0EQ1Y085315; Tue, 24 Oct 2006 20:14:26 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 24 Oct 2006 20:14:26 -0400 From: Jerry McAllister To: James Smallacombe Message-ID: <20061025001426.GA85287@gizmo.acns.msu.edu> References: <20061024192723.GB84382@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Copying binaries to new server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 00:17:20 -0000 On Tue, Oct 24, 2006 at 03:57:53PM -0400, James Smallacombe wrote: > On Tue, 24 Oct 2006, Jerry McAllister wrote: > > > > True, but I think the poster was suggesting that dump/restore is > > a better way than using tar. > > I'm not as familiar with BSD dump...does it compress well? Also, what's this? > > su-2.05b# dump -0L -f ns1.usr.dump /usr > DUMP: Date of this level 0 dump: Tue Oct 24 15:52:01 2006 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1d (/usr) to ns1.usr.dump > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 3077070 tape blocks on 79.03 tape(s). > DUMP: dumping (Pass III) [directories] > DUMP: Closing ns1.usr.dump > DUMP: Change Volumes: Mount volume #2 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") yes > DUMP: Volume 2 begins with blocks from inode 149561 > DUMP: Closing ns1.usr.dump > DUMP: Change Volumes: Mount volume #3 > DUMP: Is the new volume mounted and ready to go?: ("yes" or "no") > > What volume? The one I'm dumping? If so, why does it keep asking whether > it's mounted? What are all these different volume numbers? I just want to > dump /usr to one file, compressing and preserving permissions and symlinks as > much as possible, so I can restore it to a new server. It is asking for the next "tape". You apparently left off the 's' flag which you want to use when you write to a file. Otherwise it assumes you are writing to a tape type of media and it tries to guess how big the tape is based on other values you might give it - but if you don't tell it anything, it uses very old very small values for media size. So, anyway, you need the 'a' flag for dumps to a file. ////jerry > > James Smallacombe Internet Access for The Delaware > james@pil.net Valley in PA, NJ and DE > PlantageNet Internet Ltd. http://www.pil.net > ========================================================================= > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"