Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2007 15:02:03 -0800
From:      Gary Kline <kline@tao.thought.org>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   What's best way to copy a filesystem? [was: Re: slight emergency here...]
Message-ID:  <20071028230203.GA13943@thought.org>
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. 
> 
	The nutshelll of this posting could be: What's the best tool 
	to copy a /FILESYSTEM to /storage/FILESYSTEM?


-- 
  Gary Kline  kline@thought.org   www.thought.org  Public Service Unix
      http://jottings.thought.org   http://transfinite.thought.org




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