From owner-freebsd-questions@FreeBSD.ORG Fri Jun 30 16:26:58 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 7AAAE16A587 for ; Fri, 30 Jun 2006 16:26:57 +0000 (UTC) (envelope-from backyard1454-bsd@yahoo.com) Received: from web81609.mail.mud.yahoo.com (web81609.mail.mud.yahoo.com [68.142.199.161]) by mx1.FreeBSD.org (Postfix) with SMTP id A1802442D6 for ; Fri, 30 Jun 2006 16:01:10 +0000 (GMT) (envelope-from backyard1454-bsd@yahoo.com) Received: (qmail 1369 invoked by uid 60001); 30 Jun 2006 16:01:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZgnX+Y16Vjc4Ynxc3pJUti4Qj3lI7KXJyxdIh5mJAKydZIHRbG+lvXRmMvMOB9vZIO3x8qOpOfB12a8/v4QU01wiaeyoMwzO+KHE7O862wDHae6HTAQQwQ2IRwSOokVZ+Ov6kNjLFwYw3fIkQM/J+KVJJVkSZJvY5B3WFDSBldo= ; Message-ID: <20060630160110.1367.qmail@web81609.mail.mud.yahoo.com> Received: from [63.240.228.37] by web81609.mail.mud.yahoo.com via HTTP; Fri, 30 Jun 2006 09:01:10 PDT Date: Fri, 30 Jun 2006 09:01:10 -0700 (PDT) From: To: Alex Zbyslaw In-Reply-To: <44A5369B.6040208@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: backyard1454-bsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 16:26:58 -0000 --- Alex Zbyslaw wrote: > Brian McKeon wrote: > > >I've been having some issues using nice... > > > >I usually setup a system building script to > automate > >things when I go out or to sleep. something along > >these lines... > > > >echo "cd /usr/sys; make clean && make buildworld && > >make buildkernel" > /root/makeme; chmod u+x > >/root/makeme > > > >then I would under rel_5 just type > >nice -n -20 /root/makeme > > > > > >under Rel_6 this gives a "incorrectly formed number > >error" more or less according the the man pages > this > >should be valid as they basically give this as an > >example. > > > > > > nice is a csh builtin which uses a different > (historic) format > > (cartman)38# nice -n -20 /bin/ls > nice: Badly formed number. > (cartman)39# which nice > nice: shell built-in command. > (cartman)40# whereis nice > nice: /usr/bin/nice /usr/share/man/man1/nice.1.gz > /usr/src/usr.bin/nice > (cartman)41# /usr/bin/nice -n -20 /bin/ls > list of files > {cartman}42# nice -20 /bin/ls > list of files > > Did you change shells between releases? Maybe bash > uses the new format. > > >Then with Dump... > > > >It seems to hit the fan with large filesystems, and > >this seems new to rel_6 at least in my experience. > I > >can dump my root and var systems correctly but my > usr > >file system never works, gives errors during > restore, > >but comeplete the dump. I've been tarring things up > >lateley, probably will keep dumping to just the > root > >system and tar var once I have websites on it. > > > > > Show us the error message! And the dump command > while you are at it. > > --Alex > > > _______________________________________________ > 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" > I forgot about nice being interal to csh, that is likely to source of my problems... I use this for a dump dump -0 -C 32 -f - |bzip2 --best | dd of=/foo/bar.dbz2 and then on a restore bzip2 -dc | (cd /foo; restore -r -f -) the error I get is expected 234234 got 234237 expected 234235 got 234238 expected 234236 got 234239 ... ... expected 234250 got 234267 which fills up the screen with seemingly corruption errors, then the restore bails with an error asking if I wish to continue, if I continue it fails. I will get a screen dump of the error when I can dig up the corrupt dump file, and or make a new one. I believe the error is something about inodes missing or being corrupted. this exact command syntax works on everything but my usr filesystem. brian