Re: problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5)



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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • problems with Nice and Dump in FreeBSD 6.1-Current (Stable-#5)
    ... I usually setup a system building script to automate ... things when I go out or to sleep. ... can dump my root and var systems correctly but my usr ... but comeplete the dump. ...
    (freebsd-questions)
  • Re: Help with savecore (HPUX 10.20)
    ... Physical Volumes belonging in Root Volume Group: ... Swap: lvol2 on: /dev/dsk/c0t0d0 ... partition where the swap is located. ... on which a dump will be written in the case of a crash. ...
    (comp.sys.hp.hpux)
  • [HPADM] Dump failure error
    ... During the dump, it came back with an error that was something ... boot before I could get something to write with. ... Physical Volumes belonging in Root Volume Group: ... This leads me to believe that the c0t6d0 disk may have a problem even ...
    (HP-UX-Admin)
  • Re: reboot on logout
    ... ram but the swap hasn't been adjusted since we ran less than 500mb. ... >> because the last 5% is reserved for use only by root. ... > dump should be. ... > Yes, for Solaris, /tmp should be mounted on swap, not a real filesystem. ...
    (comp.unix.solaris)
  • RE: Is Java/Tomcat on FBSD practical?
    ... I ran Tomcat as root ... Monitor Cache Dump: ...
    (freebsd-questions)