Re: [reiserfs-list] ReiserFS reguarding Superblocks

2002-01-20 Thread Oleg Drokin

Hello!

   In fact we are very interested to hear all unsuccesful stories of
   using reiserfsck to recover dead partitions.
   Also ability to tell us exact requested data (dependent on each case)
   is good, too.
   This way both we and users can benefit in having consistent data and
   stable tools to recover data, if something still got wrong.

Bye,
Oleg
On Mon, Jan 21, 2002 at 02:11:31AM -0500, Shawn Starr wrote:
> 
> Well, it said my partition size was out of range then could not repair
> superblock and blew up :/
> 
> Hopefully, its fixed now.
> 
> On Mon, 21 Jan 2002, Oleg Drokin wrote:
> 
> > Hello!
> >
> > On Sun, Jan 20, 2002 at 03:44:01PM -0500, Shawn wrote:
> >
> > > I've noticed that ReiserFS only have one superblock (?) Is there away I
> >
> > Actually there is up to 4 (?) superblocks copies that can be stored in journal.
> >
> > > can back this superblock up and or make more of them?
> >
> > What for. reiserfsck have --rebuild-sb option that seems to be working
> > for everybody.
> >
> > > I've had reiserfs eat it once and lost all my data :/
> > Have you tried reiserfsck?
> >
> > Bye,
> > Oleg
> >
> >
> 



Re: [reiserfs-list] ReiserFS reguarding Superblocks

2002-01-20 Thread Shawn Starr


Well, it said my partition size was out of range then could not repair
superblock and blew up :/

Hopefully, its fixed now.

On Mon, 21 Jan 2002, Oleg Drokin wrote:

> Hello!
>
> On Sun, Jan 20, 2002 at 03:44:01PM -0500, Shawn wrote:
>
> > I've noticed that ReiserFS only have one superblock (?) Is there away I
>
> Actually there is up to 4 (?) superblocks copies that can be stored in journal.
>
> > can back this superblock up and or make more of them?
>
> What for. reiserfsck have --rebuild-sb option that seems to be working
> for everybody.
>
> > I've had reiserfs eat it once and lost all my data :/
> Have you tried reiserfsck?
>
> Bye,
> Oleg
>
>




Re: [reiserfs-list] Can ReiserFS handle removable storage?

2002-01-20 Thread Oleg Drokin

Hello!

On Mon, Jan 21, 2002 at 07:45:08AM +0100, Russell Coker wrote:
> On Mon, 21 Jan 2002 07:28, Oleg Drokin wrote:
> > > USB by it's nature is something external to the system.  Unplugging a USB
> > > cable with a mounted drive attached should (IMHO) get the same result as
> > > unplugging an Ethernet cable with an NFS mount in progress.  This means
> > > processes go into D state if they have outstanding writes, and for reads
> > > they may go D state depending on mount options, and then you wait for the
> > > device to become available again.
> > How do you distinguish between SCSI & USB storage in Linux on fs level? ;)
> You can have SCSI and IDE unpluggable devices too...
IDE code is not in kernel proper yet.
As for SCSI, it is not recommended to unplug scsi devices with PC powered.
And even Windows asks you to first tell it about device removal, to
get predictable results. (not that it makes windows stable, even if you follow
its directions ;) )

> > > For a file system on USB ReiserFS would have to recheck the superblock
> > > (to make sure that it hasn't been mounted on another computer in the mean
> > > time) before allowing access again.  Also there would have to be a
> > > recovery process for the situation when the USB device is gone for good.
> > Sound not very easy to do ;)
> True.  Writing a good file system is never easy.
Linux lacks API for this kind of stuff anyway.

Bye,
Oleg



Re: [reiserfs-list] Can ReiserFS handle removable storage?

2002-01-20 Thread Russell Coker

On Mon, 21 Jan 2002 07:28, Oleg Drokin wrote:
> > USB by it's nature is something external to the system.  Unplugging a USB
> > cable with a mounted drive attached should (IMHO) get the same result as
> > unplugging an Ethernet cable with an NFS mount in progress.  This means
> > processes go into D state if they have outstanding writes, and for reads
> > they may go D state depending on mount options, and then you wait for the
> > device to become available again.
>
> How do you distinguish between SCSI & USB storage in Linux on fs level? ;)

You can have SCSI and IDE unpluggable devices too...

> > For a file system on USB ReiserFS would have to recheck the superblock
> > (to make sure that it hasn't been mounted on another computer in the mean
> > time) before allowing access again.  Also there would have to be a
> > recovery process for the situation when the USB device is gone for good.
>
> Sound not very easy to do ;)

True.  Writing a good file system is never easy.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page



Re: [reiserfs-list] ReiserFS reguarding Superblocks

2002-01-20 Thread Oleg Drokin

Hello!

On Sun, Jan 20, 2002 at 03:44:01PM -0500, Shawn wrote:

> I've noticed that ReiserFS only have one superblock (?) Is there away I

Actually there is up to 4 (?) superblocks copies that can be stored in journal.

> can back this superblock up and or make more of them?

What for. reiserfsck have --rebuild-sb option that seems to be working
for everybody.

> I've had reiserfs eat it once and lost all my data :/
Have you tried reiserfsck?

Bye,
Oleg



Re: [reiserfs-list] Can ReiserFS handle removable storage?

2002-01-20 Thread Oleg Drokin

Hello!

On Sat, Jan 19, 2002 at 10:46:09AM +0100, Russell Coker wrote:
 
> USB by it's nature is something external to the system.  Unplugging a USB 
> cable with a mounted drive attached should (IMHO) get the same result as 
> unplugging an Ethernet cable with an NFS mount in progress.  This means 
> processes go into D state if they have outstanding writes, and for reads they 
> may go D state depending on mount options, and then you wait for the device 
> to become available again.
How do you distinguish between SCSI & USB storage in Linux on fs level? ;)

> For a file system on USB ReiserFS would have to recheck the superblock (to 
> make sure that it hasn't been mounted on another computer in the mean time) 
> before allowing access again.  Also there would have to be a recovery process 
> for the situation when the USB device is gone for good.
Sound not very easy to do ;)

Bye,
Oleg



Re: [reiserfs-list] Support on Alpha's

2002-01-20 Thread Oleg Drokin

Hello!

On Sat, Jan 19, 2002 at 01:23:12AM -0500, Jean-Francois Landry wrote:
> 
> BTW, does it still generate unaligned traps on Alpha?
> 
I tried to run various stress-stuff on alpha recently (on 2.4.18-pre3
+ 64 bit fixes from pending and testing_in_progress), and had zero problems.

Bye,
Oleg



[reiserfs-list] ReiserFS reguarding Superblocks

2002-01-20 Thread Shawn


I've noticed that ReiserFS only have one superblock (?) Is there away I
can back this superblock up and or make more of them?

I've had reiserfs eat it once and lost all my data :/

Shawn.