xfs
[Top] [All Lists]

Re: newbie

To: krypto <krypto@xxxxxxxxxxxx>
Subject: Re: newbie
From: Daniel Moore <dxm@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Sep 2000 09:40:34 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 05 Sep 2000 13:31:54 +0200." <231379678.20000905133154@elrancho.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
krypto writes:
 => Hi all...

 =>      is there anyway (from user space) to crash a
 =>   partition, I mean unmount it uncleanly as it
 =>   happens when you power off the computer without
 =>   unmounting. I would like to unmount uncleanly just
 =>   the partition I choose, in order not to crash the
 =>   root partition too.

You can simulate a crash with "reboot -fn" as root. This
will reboot the machine immediately.

I've set up my test box so that the root partition is
mounted read-only, with symlinks into a ramdisk where
all the read-write stuff lives. The ramdisk is initialized
on boot. Since the root is mounted read-only I can crash
my machine and never need to fsck.

I wrote some instructions on how to do this to a redhat
box and they're in the xfs crash test directory which
is part of the xfs release. YMMV - AFAIK there's no
really simple way of getting this configuration going.

Regards,
-----------------------------------------------------
 Daniel Moore                  dxm@xxxxxxx
 R&D Software Engineer         Phone: +61-3-98348209
 SGI Performance Tools Group   Fax:   +61-3-98132378
-----------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>