Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 12:13:42 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: slight emergency here...
Message-ID:  <20071029161342.GE11142@gizmo.acns.msu.edu>
In-Reply-To: <20071028215454.GA52631@thought.org>
References:  <20071028215454.GA52631@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@thought.org   www.thought.org  Public Service Unix
>       http://jottings.thought.org   http://transfinite.thought.org
> 
> _______________________________________________
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071029161342.GE11142>