slight emergency here...

Jerry McAllister jerrymc at msu.edu
Mon Oct 29 11:05:28 PDT 2007


On Sun, Oct 28, 2007 at 01:54:54PM -0800, Gary Kline wrote:

> 	Guys,
> 
> 
> 	I think I've found the reason for the intermittent rashes.
> 	Part of /var is bad, and fsck cannot allocate inoinfo to repair
> 	the damage.
> 
> 	At any rate, how do i as root, single user, cp -rp all of /var to
> 	elsewhere (/storage) and rmdir /var, them mkdir /var and copy
> 	everything back?? I've forgotten the cpio magic command. 
> 
> 	I'll do same while i'm at it  with /usr/home  -> home, if that is
> 	advisable.  tao2 has been rebooting automatically in an infinite 
> 	loop for about .5 hour.   I managed to  go single-user.  Time to 
> 	ask peoples' suggestions.

On your system, is /var a separate filesystem (partition) or is
it just a directory?

If it is a filesystem, then use dump(8).
If it is just a directory, use tar.

////jerry

> 
> 	gary
> 
> 
> -- 
>   Gary Kline  kline at thought.org   www.thought.org  Public Service Unix
>       http://jottings.thought.org   http://transfinite.thought.org
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list