All of lore.kernel.org
 help / color / mirror / Atom feed
* FAQ 29 says to put 0s into /etc/fstab -- What if I don't?
@ 2003-03-24  9:10 Christian Fritze
  2003-03-24  9:23 ` Oleg Drokin
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Fritze @ 2003-03-24  9:10 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Christian Fritze

Hello everybody!

Doing forensics...

A customer has leased a low budget server for a couple of small projects. 
Recently the disk in that machine failed and was replaced. The provider's
technician who did the replacement and the initial setup (up to a running
sshd where I take over such a machine) installed reiserfs systems on the
partitions that (on the old disk) had carried ext3. However he did *not*
tell me about the change *and* he put '1 1' and '1 2' resp. into fstab as
he usually does whith ext3 filesystems. And yes: I did not check in due
time, trusting in work done by others... :-(

Last weekend that machine rebooted (for no apparent reason, I'm beginning
to feel annoyed about that provider...) the first time after the hardware
replacement. Hours later my customer tells me that something seems to be 
wrong. I look at the machine and the partition that carries project data
seems to be completely empty, not a single file or directory, nothing!

After a first moment of horror thinking came back, I checked a few things
and came across those unexpected reiserfs lines in fstab. Then I read the 
FAQ and finally daring a 'reiserfsck --rebuild-tree' brought me back to 
normal life.

Is this behaviour to be expected when putting the wrong things into fstab? 
(In this case the FAQ could probably talk a bit 'louder' about it... ;-)
Or should I still search for other reasons as well? I had no time yet to
build a nice kernel after the disk failure and maybe running the standard 
SuSE 2.4.19 as installed from DVD isn't such a good idea in the first place?


greetings
Christian


--
Grüße aus Europas größtem       Greetings from Europe's largest
Urban Sprawl (DUDOMA -- Duisburg Dortmund Metropolitan Axis ;-)
Christian Fritze   <The.Finn@sprawl.de>   http://www.sprawl.de/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FAQ 29 says to put 0s into /etc/fstab -- What if I don't?
  2003-03-24  9:10 FAQ 29 says to put 0s into /etc/fstab -- What if I don't? Christian Fritze
@ 2003-03-24  9:23 ` Oleg Drokin
  0 siblings, 0 replies; 2+ messages in thread
From: Oleg Drokin @ 2003-03-24  9:23 UTC (permalink / raw)
  To: Christian Fritze; +Cc: reiserfs-list

Hello!

On Mon, Mar 24, 2003 at 10:10:50AM +0100, Christian Fritze wrote:

> Doing forensics...
> A customer has leased a low budget server for a couple of small projects. 
> Recently the disk in that machine failed and was replaced. The provider's
> technician who did the replacement and the initial setup (up to a running
> sshd where I take over such a machine) installed reiserfs systems on the
> partitions that (on the old disk) had carried ext3. However he did *not*
> tell me about the change *and* he put '1 1' and '1 2' resp. into fstab as
> he usually does whith ext3 filesystems. And yes: I did not check in due
> time, trusting in work done by others... :-(

This is nothing to fear.
reiserfsck will be sturted on each boot, and it will immediately terminate once
it discovers it was called during boot process.

> Last weekend that machine rebooted (for no apparent reason, I'm beginning
> to feel annoyed about that provider...) the first time after the hardware
> replacement. Hours later my customer tells me that something seems to be 
> wrong. I look at the machine and the partition that carries project data
> seems to be completely empty, not a single file or directory, nothing!

Hm, any chance that it was not mounted and you are looking at non-mounted directory?

> After a first moment of horror thinking came back, I checked a few things
> and came across those unexpected reiserfs lines in fstab. Then I read the 
> FAQ and finally daring a 'reiserfsck --rebuild-tree' brought me back to 
> normal life.

Hm. Was there anything strange in logs prior to/immediately after unexpected reboot?

> Is this behaviour to be expected when putting the wrong things into fstab? 

No.

> (In this case the FAQ could probably talk a bit 'louder' about it... ;-)
> Or should I still search for other reasons as well? I had no time yet to

Yes, you should.

> build a nice kernel after the disk failure and maybe running the standard 
> SuSE 2.4.19 as installed from DVD isn't such a good idea in the first place?

They had lots of updates since then, I think. You might want to pick up those.

Bye,
    Oleg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-24  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24  9:10 FAQ 29 says to put 0s into /etc/fstab -- What if I don't? Christian Fritze
2003-03-24  9:23 ` Oleg Drokin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.