From owner-freebsd-questions@FreeBSD.ORG Sun Aug 19 00:38:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E100C16A41A for ; Sun, 19 Aug 2007 00:38:03 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7128413C483 for ; Sun, 19 Aug 2007 00:38:02 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by eunet.yu (8.13.6/8.13.6) with ESMTP id l7J0btV3032196; Sun, 19 Aug 2007 02:37:57 +0200 Message-Id: <200708190037.l7J0btV3032196@eunet.yu> Date: Sun, 19 Aug 2007 02:32:58 +0200 From: Nikola Lecic To: "Konrad Scorciapino" In-Reply-To: References: X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-questions@freebsd.org Subject: Re: Migrating from reiserfs to ext3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2007 00:38:04 -0000 Hello Konrad, On Sat, 18 Aug 2007 05:51:19 -0300 "Konrad Scorciapino" wrote: > Hello! >=20 > I have a single 200GB HD that is divided in three partitions, one with > FreeBSD, another with Linux and the other with my media. The first > two are 10GB, and the latter, 180GB. > > The problem is that it is a ReiserFS partition, not writable from > FreeBSD, so I'll have to change it to, say, ext3, if I'm going to be > able to use xMule again. Since I can't backup the whole thing, I'll > have to use another method to "convert" it. Well, migration from ReiserFS to EXT3 is not really a question for FreeBSD list. :) They are both native to Linux; ReiserFS is fully implemented in Linux only. You might consider using UFS2 instead of EXT3 -- but I'm not sufficiently sure if write support in Linux is still marked as "experimental" (it was some time ago). > I'm using quotes because apparently there is no such utility that > converts a given partition to another type. Why is that so? I was > thinking about the hard links. True, with a couple of not very interesting exceptions (it's possible to convert EXT2 to EXT3 in place, and pure little window$ has a built-in convertor from FAT32 to NTFS) -- as far as official conversions are concerned; for unofficial, see below. (Let someone corrects me if I'm mistaken, but it's not possible to convert UFS to UFS2 in place.) > Since the partition has some free space and its file hierarchy is > quite simple (eg, mp3/baroque/bach/bwv82_1.mp3), wouldn't it work if > I resize it to be full, using the freed space to create a new > partition, and then, until the first one is empty, move content from > it to the newly created, resizing both so that the first one is full > again? I think it's the best for you to do so. How much free space you have there? You can shrink ReiserFS partition either from Linux or, maybe easier, using GParted (http://gparted.sourceforge.net). Please note that GParted surrently cannot resize Reiser4 partitions. Or, if you are extremely brave, you can try http://freshmeat.net/projects/convertfs/ (I wouldn't do it.) > Anybody ever tried something like that? Are there utilities that > could help out, or dangers I need to avoid? Every utility dealing with partition resizing will tell you to backup your data first if you really need them. Since you can't do that, I'd suggest reading ReiserFS manual and careful deciding what tool to use for shrinking. But this is a Linux part of your job. However, if you end up with one or two UFS2 partitions, then further work with them will be a different story and you'll certainly get much more answers. :) Nikola Le=C4=8Di=C4=87