*BSD News Article 39077


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!pipex!sunsite.doc.ic.ac.uk!uknet!cf-cm!isl.cf.ac.uk!paul
From: paul@isl.cf.ac.uk (Paul Richards)
Subject: Re: Are FreeBSD 1.1.5.1 and 2.0 ufs filesystems compatible?
Message-ID: <1994Dec8.010101.6148@cm.cf.ac.uk>
Sender: paul@isl.cf.ac.uk (Paul Richards)
Nntp-Posting-Host: isl-gate.elsy.cf.ac.uk
Organization: ELSYM, University of Wales, College of Cardiff, UK.
References: <3blt5d$sui@shore.shore.net> <JKH.94Dec2160214@whisker.hubbard.ie> <3bnkic$ktm@mars.mcs.com>
Date: Thu, 8 Dec 1994 01:01:00 +0000
Lines: 43

In article <3bnkic$ktm@mars.mcs.com>, Michael Borowiec <mikebo@MCS.COM> wrote:
>In article <JKH.94Dec2160214@whisker.hubbard.ie>,
>Jordan K. Hubbard <jkh@whisker.hubbard.ie> wrote:
>>In article <3blt5d$sui@shore.shore.net> witr@rwwa.com (Robert Withrow) writes:
>>
>>   Ca I just use my 1.1.5.1 file systems on 2.0, and my 2.0 filesystems
>>   on 1.1.5.1, or is that a no-no.
>>
>>1.1.5.1 -> 2.0  Yes.  2.0 -> 1.1.5.1 no.  Forward-compatibility is
>>always a neat trick, but generally impossible.. :-)
>>
>>   If it is a no-no, how do I convert my 5 disks from one to the other?
>>
>>You can convert your 1.x filesystems to 2.0 with `fsck -c2'
>>
>But in some article or another, Garrett A. Wollman wrote:
>> fsck -c2 /dev/device # convert to version 2
>> fsck -c1 /dev/device # convert to version 1 - untested
>> 
>> However, this is an extremely invasive operation, and we don't take
>> any responsibility for fsck screwing up your data in the process.
>
>Does "fsck -c2" work as advertised or not? I have gigabytes of stuff
>on 1.1.5.1 filesystems. If I can avoid backup, newfs, restore self-
>flagellation I would really appreciate it!

I think the bottom line here is, it's *supposed* to work. It was
designed to work, it's worked for some people. However, it's not
been banged on real hard since most of us just started from scratch
with 2.0 filesystems, so basically, if you want to try there's a
good chance it'll go smoothly but don't shout at us if you don't
have backups and something fatal happens.

We have a certain responsibility (remember this is a volunteer
project) to not provide tools that kill systems but sysadmins have
a greater responsibility to backup up their systems properly in
case we inadvertantly do.

-- 
  Paul Richards, FreeBSD core team member. 
  Phone: +44 1222 874000 x5958 (work), +44 1222 457651 (home)
  Dept. Mechanical Engineering, University of Wales, College Cardiff.
  Internet: paul@FreeBSD.org,  JANET(UK): RICHARDSDP@CARDIFF.AC.UK