From: Roman Mamedov <rm@romanrm.net>
To: "Niccolò Belli" <darkbasic@linuxsystems.it>
Cc: Qu Wenruo <quwenruo@cn.fujitsu.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: Uncorrectable errors after rebooting with Magic Sysrq Keys
Date: Fri, 15 Apr 2016 21:58:39 +0500 [thread overview]
Message-ID: <20160415215839.7754f866@natsu> (raw)
In-Reply-To: <30940bf0-924b-4ad7-a3d8-24b980ba46f4@linuxsystems.it>
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
On Fri, 15 Apr 2016 17:42:21 +0200
Niccolò Belli <darkbasic@linuxsystems.it> wrote:
> Hi,
> Is it 100% safe to run a btrfs check without --repair?
> Because otherwise I will have to wait for my new external drive to arrive
> and make a backup first.
In cases like these remember that you can use "blockdev --setro /dev/sdX", to
ensure that any program (even the root user with 'dd') can't write anything
to the block device anymore even if tried.
Use "blockdev --setrw /dev/sdX" after you finished.
--
With respect,
Roman
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-04-15 16:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 8:21 Uncorrectable errors after rebooting with Magic Sysrq Keys Niccolò Belli
2016-04-15 9:30 ` Qu Wenruo
2016-04-15 15:42 ` Niccolò Belli
2016-04-15 15:45 ` Hugo Mills
2016-04-15 17:28 ` Niccolò Belli
2016-04-15 16:58 ` Roman Mamedov [this message]
2016-04-16 10:25 ` Niccolò Belli
2016-04-30 13:11 ` Niccolò Belli
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=20160415215839.7754f866@natsu \
--to=rm@romanrm.net \
--cc=darkbasic@linuxsystems.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo@cn.fujitsu.com \
/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;
as well as URLs for NNTP newsgroup(s).