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] 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 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 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] 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