Re: Uncorrectable errors after rebooting with Magic Sysrq Keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Apr 2016 17:42:21 +0200
Niccolò Belli <darkbasic@xxxxxxxxxxxxxxx> 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: pgpums4gfZIwI.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux