svlug-reiserfs_recovery_techniques

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Thu, 30 Jan 2003 18:11:36 -0500
From: George Georgalis <georgw@galis.org>
To: svlug@lists.svlug.org
Subject: [svlug] booting reiserfs rescue

I'm looking for a way to make a network backup of an install, and
restore that to another box with a different size disk.

tomsrtbt would work fine if it supported reiser filesystems, because I'm
using them too -- I would boot the floppy, mount and copy to device from
nfs.

rsync seems an important tool for restoring images too.

the debian mkrescue program seems close to what I need, if only to get
a shell where I can format a disk and rsync an nfs (or maybe with ssh),
unfortunately I don't see doc on making a root filesystem, and of course
the destination machine has a blank disk.

I'm about to experiment and reverse engineer the bf2.4 install
floppies. But just because I could not find a suitable application
already made doesn't mean there isn't one. Any suggestions?

// George


-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@galis.org 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 



--===============89438341912846497==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Thu, 30 Jan 2003 15:49:27 -0800
From: Rick Schultz <bloodyvikings@sbcglobal.net>
To: svlug@lists.svlug.org
Subject: Re: [svlug] booting reiserfs rescue
Message-ID: <20030130234927.GA3985@superhallway.com>
In-Reply-To: <20030130231136.GA6871@trot.local>
References: <20030130231136.GA6871@trot.local>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 4

On Thu, Jan 30, 2003 at 06:11:36PM -0500, George Georgalis wrote:
> I'm looking for a way to make a network backup of an install, and
> restore that to another box with a different size disk.
> tomsrtbt would work fine if it supported reiser filesystems

If you want the whole filesystem, you can copy the entire partition with
dd.  You wouldn't need reiserfs support, since you wouldn't really be
interacting with the filesystem, just the partition.

After restoring the partition to a target machine, it could be resized
with parted.


In either case, check out Timo's Rescue CD set
(http://rescuecd.sourceforge.net/) as well as the Gentoo Live CD.  I
think both will have all the tools you're looking for.

===

Date: Fri, 31 Jan 2003 00:34:13 +0000
From: "Karsten M. Self" <kmself@ix.netcom.com>
To: svlug@lists.svlug.org
Subject: Re: [svlug] booting reiserfs rescue

on Thu, Jan 30, 2003 at 06:11:36PM -0500, George Georgalis (georgw@galis.org) wrote:
> I'm looking for a way to make a network backup of an install, and
> restore that to another box with a different size disk.
> 
> tomsrtbt would work fine if it supported reiser filesystems, because I'm
> using them too -- I would boot the floppy, mount and copy to device from
> nfs.

LNX-BBC and/or Knoppix will both do what you're looking for.

LNX-BBC is ~15-20M download. It provides a light, but impressive, set of
admin and recovery tools, including IIRC reiserfs support.  Knoppix, at
700MB, is rather larger, but provides a full desktop replacement system
on bootable removable media.

> rsync seems an important tool for restoring images too.
> 
> the debian mkrescue program seems close to what I need, if only to get
> a shell where I can format a disk and rsync an nfs (or maybe with ssh),
> unfortunately I don't see doc on making a root filesystem, and of course
> the destination machine has a blank disk.
> 
> I'm about to experiment and reverse engineer the bf2.4 install
> floppies. But just because I could not find a suitable application
> already made doesn't mean there isn't one. Any suggestions?

Peace.

===


Date: Fri, 31 Jan 2003 00:40:25 -0500
From: George Georgalis <georgw@galis.org>
To: svlug@lists.svlug.org
Subject: [svlug] Re: booting reiserfs rescue

On Thu, Jan 30, 2003 at 03:49:27PM -0800, Rick Schultz wrote:

>On Thu, Jan 30, 2003 at 06:11:36PM -0500, George Georgalis wrote:
>
>> I'm looking for a way to make a network backup of an install, and
>> restore that to another box with a different size disk. tomsrtbt
>> would work fine if it supported reiser filesystems
>
>If you want the whole filesystem, you can copy the entire partition
>with dd.  You wouldn't need reiserfs support, since you wouldn't really
>be interacting with the filesystem, just the partition.
>
>After restoring the partition to a target machine, it could be resized
>with parted.

It's the fdisk/mkreiserfs, restore rsync ssh/nfs (not using dd) that I'm
stuck on.

Also should have been more clear, cdrom drives are not available, need
to use a floppy (or two) and the network.

Using dd like you say sounds like a lot of trouble. I think it would be
easier to make floppies with rsync ssh reiser kernel etc.

>In either case, check out Timo's Rescue CD set
>(http://rescuecd.sourceforge.net/) as well as the Gentoo Live CD.  I
>think both will have all the tools you're looking for.

Haven't seen that one before. Looks like it has a floppy section
too. Will check it out!


===

Date: Thu, 30 Jan 2003 22:08:44 -0800
From: J C Lawrence <claw@kanga.nu>
To: George Georgalis <georgw@galis.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] Re: booting reiserfs rescue

On Fri, 31 Jan 2003 00:40:25 -0500
George Georgalis <georgw@galis.org> wrote:

> Using dd like you say sounds like a lot of trouble. I think it would
> be easier to make floppies with rsync ssh reiser kernel etc.

Use the LNX BBC.  Then, once booted and your partitions made:

  # cd /target ; ssh copy_host " { cd /saved/dir ; tar tar zc . } " | tar xxf -

Voila!

> Haven't seen that one before. Looks like it has a floppy section
> too.

If you have a CD drive, or can arrange for a network boot, then there's
no need for floppies.

===

Date: Fri, 31 Jan 2003 21:29:47 -0500
From: George Georgalis <georgw@galis.org>
To: svlug@lists.svlug.org
Subject: [svlug] Re: Re: booting reiserfs rescue

On Thu, Jan 30, 2003 at 10:08:44PM -0800, J C Lawrence wrote:
>On Fri, 31 Jan 2003 00:40:25 -0500
>George Georgalis <georgw@galis.org> wrote:
>
>> Using dd like you say sounds like a lot of trouble. I think it would
>> be easier to make floppies with rsync ssh reiser kernel etc.
>
>Use the LNX BBC.  Then, once booted and your partitions made:
>
>  # cd /target ; ssh copy_host " { cd /saved/dir ; tar tar zc . } " | tar xxf -
>
>Voila!
>
>> Haven't seen that one before. Looks like it has a floppy section
>> too.
>
>If you have a CD drive, or can arrange for a network boot, then there's
>no need for floppies.

Well that command is exactly what I want to run (would want rsync in
some cases too) but the machines don't have cdrom drives so I'm looking
for the way to do that (and fdisk, mkreiserfs and bring up networking)
from one (network boot) or two floppies (rescue/root on disk).

// George


-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@galis.org 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 



--===============71668584439486938==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Fri, 31 Jan 2003 18:34:28 -0800
From: J C Lawrence <claw@kanga.nu>
To: George Georgalis <georgw@galis.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] Re: Re: booting reiserfs rescue
Message-ID: <2558.1044066868@kanga.nu>
In-Reply-To: Message from George Georgalis <georgw@galis.org>
   of "Fri, 31 Jan 2003 21:29:47 EST." <20030201022947.GB12031@trot.local>
References: <20030130231136.GA6871@trot.local>
	<20030131054025.GF9965@trot.local> <29219.1043993324@kanga.nu>
	<20030201022947.GB12031@trot.local>
Precedence: list
Message: 4
MIME-Version: 1.0

On Fri, 31 Jan 2003 21:29:47 -0500
George Georgalis <georgw@galis.org> wrote:

> Well that command is exactly what I want to run (would want rsync in
> some cases too) but the machines don't have cdrom drives so I'm
> looking for the way to do that (and fdisk, mkreiserfs and bring up
> networking) from one (network boot) or two floppies (rescue/root on
> disk).

Given that you can pick up IDE CDROM drives for $10ea, its hardly not
having CD ROM drives.

--
J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
claw@kanga.nu               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--===============71668584439486938==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Fri, 31 Jan 2003 21:48:48 -0500
From: George Georgalis <georgw@galis.org>
To: svlug@lists.svlug.org
Subject: [svlug] Re: booting reiserfs rescue
Message-ID: <20030201024848.GC12031@trot.local>
In-Reply-To: <20030131084012.GO28054@linuxgeek.net>
References: <20030130231136.GA6871@trot.local>
	<20030131054025.GF9965@trot.local>
	<20030131084012.GO28054@linuxgeek.net>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 5

Have been looking at the doc and can't find a single thing wrong with
this one ( http://www.systemimager.org ), in other words it looks
perfect! Thanks Neil.

===
Date: Sat, 1 Feb 2003 14:30:11 -0800
From: Marc MERLIN <marc_news@merlins.org>
To: J C Lawrence <claw@kanga.nu>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] Re: booting reiserfs rescue

On Thu, Jan 30, 2003 at 10:08:44PM -0800, J C Lawrence wrote:
> Use the LNX BBC.  Then, once booted and your partitions made:
> 
>   # cd /target ; ssh copy_host " { cd /saved/dir ; tar tar zc . } " | tar xxf -

This can take a long time.

Try this instead:
ssh copy_host "cd /saved/dir; tar cf . | nc -l -p 2222"
cd /target; nc copy_host 2222 | tar xvf -

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu