[wplug-bsd] Re: UFS 2

Tom Rhodes trhodes at FreeBSD.org
Wed Sep 27 23:59:47 EDT 2006


On Wed, 27 Sep 2006 23:47:06 -0400 (EDT)
Brandon Kuczenski <b at 301south.net> wrote:

> On Wed, 27 Sep 2006, Tom Rhodes wrote:
> 
> > On Wed, 27 Sep 2006 22:03:52 -0400 (EDT)
> > Brandon Kuczenski <brandon at 301south.net> wrote:
> >
> >> Thanks for your rapid response!
> >>
> >> ... so are you saying that I need to re-format the disk and re-copy my
> >> files, or can newfs -O 1 somehow 'remaster' the disk?
> >
> > There are a few things you can do, each of them a bit dangerous:
> >
> > 1: Upgrade the 4.X machine.
> >
> > 2: Hack around the 4.X kernel to get minimal UFS1 support, diffing
> > the UFS code bases would help here but this is still dangerous.
> >
> > 3: Try to find a utility which could do the conversion (I don't
> > know of one).
> >
> > 4: Re-newfs the disk and recopy your data.
> >
> > Sorry for the bad news Brandon.  :(
> >
> 
> No problem.  I was quite disappointed... I had planned everything out.. I 
> would have had no more than FOUR MINUTES' downtime!  I dumped the disk... 
> piped to restore (over nfs); (then after a day of mail-receiving I had to 
> update files that had been modified since the dump).. and then I would 
> shut down the machines, swap the disks, and be in business!
> 
> It .. almost worked.  Instead, since I had already shutdown the machine, I 
> just put both disks in the server and redid the dump/restore locally.. 
> took about 35 minutes instead of hours (but I had the mail server down 
> that whole time).. now I'm all up and running.

I've learned through many years experience, plans are good.  But
always expect that something may alter them.  :)

> 
> I will remember -O 1 next time.
> 
> Thanks for your quick and ever-present support.

No problem at all.  In fact, we should probably have a FAQ entry
on the FreeBSD.org site ... but our FAQ is in horrible shape.

-- 
Tom Rhodes


More information about the wplug-bsd mailing list