From: Anton Altaparmakov <aia21@cam.ac.uk>
To: Ben Greear <greearb@candelatech.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No
Date: Wed, 07 Mar 2001 13:49:17 +0000 [thread overview]
Message-ID: <5.0.2.1.2.20010307130210.00a25180@pop.cus.cam.ac.uk> (raw)
In-Reply-To: <3AA5B0F3.143E0528@candelatech.com>
In-Reply-To: <E14aGFU-0000YQ-00@the-village.bc.nu>
At 03:54 07/03/01, Ben Greear wrote:
>Alan Cox wrote:
> > Its not a bug. As the system administrator you reconfigured a hard disk on
> > the fly and shit happened. The hdparm man page warnings do exist for a
> reason.
>
>I'm not arguing it was a smart thing to do, but I would think that the
>fs/kernel/driver writers could keep really nasty and un-expected things
>from happenning. For instance, the driver could dis-allow any new
>(non-hdparm) writes while hdparm is doing it's test. Or maybe the driver
>could realize it was being told to do something that would break and just
>not do it?
No. This would be against Linux/Unix philosphy of giving you enough rope.
Maybe I want to break my hd? You never know. Or maybe the same commands
work perfectly well on a different hd/controller? In general, if you don't
understand the consequences of something you want to do, then *don't* do
it! Or at least have a backup handy and don't complain afterwards...
>Considering this disk is my root disk, is there *any* safe way to test
>out hdparm on this disk?
Of course. Boot/change into single user mode, sync, and remount any
readwrite mounted fs readonly. Then it should be safe to check things out
with hdparm, at least I have done it this way for ages and never run into a
problem even though in my early stage of hdparm experimentation I would
cause kernel crashes more often then not... Chances are that if readonly
works fine, so will write, so once I find the fastest settings that still
give 100% reliability on reads I switch back to normal network multi user
mode and try read-write. Never failed me so far but YMMV, so keep a backup...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://sourceforge.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/
next prev parent reply other threads:[~2001-03-07 13:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-05 5:21 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No such file or directory)) Frédéric L. W. Meunier
2001-03-06 6:49 ` Ben Greear
2001-03-06 12:07 ` 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No Alan Cox
2001-03-07 3:54 ` Ben Greear
2001-03-07 12:57 ` Alan Cox
2001-03-08 5:40 ` Ben Greear
2001-03-08 5:34 ` Alexander Viro
2001-03-08 6:32 ` 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ?(No Ben Greear
2001-03-08 6:21 ` Alexander Viro
2001-03-08 20:30 ` God
2001-03-08 21:31 ` Alexander Viro
2001-03-08 20:10 ` God
2001-03-08 20:37 ` Andre Hedrick
2001-03-08 21:04 ` Roman Zippel
2001-03-08 20:34 ` 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No Oliver Xymoron
2001-03-07 13:49 ` Anton Altaparmakov [this message]
2001-03-06 10:14 ` 2.4.2 ext2 filesystem corruption ? (was 2.4.2: What happened ? (No such file or directory)) SteveC
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.0.2.1.2.20010307130210.00a25180@pop.cus.cam.ac.uk \
--to=aia21@cam.ac.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greearb@candelatech.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®