All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hendrik Friedel <hendrik@friedels.name>
To: Donald Pearson <donaldwhpearson@gmail.com>
Cc: osandov@fb.com, Hugo Mills <hugo@carfax.org.uk>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: size 2.73TiB used 240.97GiB after balance
Date: Tue, 07 Jul 2015 07:42:33 +0200	[thread overview]
Message-ID: <559B66C9.6060606@friedels.name> (raw)
In-Reply-To: <CAC=t97AcztZ9vKvMe8o70F3VsGR-_9TdFO4t=Rdt8q=9hDYm8A@mail.gmail.com>

Hello,

while mounting works with the recovery option, the system locks after 
reading.
dmesg shows:
[  684.258246] ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[  684.258249] ata6.00: irq_stat 0x40000001
[  684.258252] ata6.00: failed command: DATA SET MANAGEMENT
[  684.258255] ata6.00: cmd 06/01:01:00:00:00/00:00:00:00:00/a0 tag 26 
dma 512 out
[  684.258255]          res 51/04:01:01:00:00/00:00:00:00:00/a0 Emask 
0x1 (device error)
[  684.258256] ata6.00: status: { DRDY ERR }
[  684.258258] ata6.00: error: { ABRT }
[  684.258266] sd 5:0:0:0: [sdd] tag#26 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[  684.258268] sd 5:0:0:0: [sdd] tag#26 Sense Key : Illegal Request 
[current] [descriptor]
[  684.258270] sd 5:0:0:0: [sdd] tag#26 Add. Sense: Unaligned write command
[  684.258272] sd 5:0:0:0: [sdd] tag#26 CDB: Write same(16) 93 08 00 00 
00 00 00 01 d3 80 00 00 00 80 00 00


So, also this drive is failing?!

Regards,
Hendrik

On 07.07.2015 00:59, Donald Pearson wrote:
> Anything in dmesg?
>
> On Mon, Jul 6, 2015 at 5:07 PM, hendrik@friedels.name
> <hendrik@friedels.name> wrote:
>> Hallo,
>>
>> It seems, that mounting works, but the System locks completely soon after I
>> backing up.
>>
>>
>> Greetings,
>>
>> Hendrik
>>
>>
>> ------ Originalnachricht------
>>
>> Von: Donald Pearson
>>
>> Datum: Mo., 6. Juli 2015 23:49
>>
>> An: Hendrik Friedel;
>>
>> Cc: Omar Sandoval;Hugo Mills;Btrfs BTRFS;
>>
>> Betreff:Re: size 2.73TiB used 240.97GiB after balance
>>
>>
>> If you can mount it RO, first thing to do is back up any data that youcare
>> about.According to the bug that Omar posted you should not try a
>> devicereplace and you should not try a scrub with a missing device.You may
>> be able to just do a device delete missing, then separately doa device add
>> of a new drive, or rebalance back in to raid1.On Mon, Jul 6, 2015 at 4:12
>> PM, Hendrik Friedel  wrote:> Hello,>> oh dear, I fear I am in trouble:>
>> recovery-mounted, I tried to save some data, but the system hung.> So I
>> re-booted and sdc is now physically disconnected.>> Label: none  uuid:
>> b4a6cce6-dc9c-4a13-80a4-ed6bc5b40bb8>         Total devices 3 FS bytes used
>> 4.67TiB>         devid    1 size 2.73TiB used 2.67TiB path /dev/sdc>
>> devid    2 size 2.73TiB used 2.67TiB path /dev/sdb>         *** Some devices
>> missing>> I try to mount the rest again:> mount -o recovery,ro /dev/sdb
>> /mnt/__Complete_Disk> mount: wrong fs type, bad option, bad superblock on
>> /dev/sdb,>        missing codepage or helper program, or other error>
>> In some cases useful info is found in syslog - try>        dmesg | tail  or
>> so>> root@homeserver:~# dmesg | tail> [  447.059275] BTRFS info (device
>> sdc): enabling auto recovery> [  447.059280] BTRFS info (device sdc): disk
>> space caching is enabled> [  447.086844] BTRFS: failed to read chunk tree on
>> sdc> [  447.110588] BTRFS: open_ctree failed> [  474.496778] BTRFS info
>> (device sdc): enabling auto recovery> [  474.496781] BTRFS info (device
>> sdc): disk space caching is enabled> [  474.519005] BTRFS: failed to read
>> chunk tree on sdc> [  474.540627] BTRFS: open_ctree failed>>> mount -o
>> degraded,ro /dev/sdb /mnt/__Complete_Disk> Does work now though.>> So, how
>> can I remove the reference to the failed disk and check the data for>
>> consistency (scrub I suppose, but is it safe?)?>> Regards,> Hendrik>>>>> On
>> 06.07.2015 22:52, Omar Sandoval wrote:>>>> On 07/06/2015 01:01 PM, Donald
>> Pearson wrote:>>>>>> Based on my experience Hugo's advice is critical, get
>> the bad drive>>> out of the pool when in raid56 and do not try to replace or
>> delete it>>> while it's still attached and recognized.>>>>>> If you add a
>> new device, mount degraded and rebalance.  If you don't,>>> mount degraded
>> then device delete missing.>>>>>>> Watch out, replacing a missing device in
>> RAID 5/6 currently doesn't work>> and will cause a kernel BUG(). See my
>> patch series here:>>
>> http://www.spinics.net/lists/linux-btrfs/msg44874.html>>>>> --> Hendrik
>> Friedel> Auf dem Brink 12> 28844 Weyhe> Tel. 04203 8394854> Mobil 0178
>> 1874363>>> ---> Diese E-Mail wurde von Avast Antivirus-Software auf Viren
>> geprüft.> https://www.avast.com/antivirus>


-- 
Hendrik Friedel
Auf dem Brink 12
28844 Weyhe
Tel. 04203 8394854
Mobil 0178 1874363

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


  reply	other threads:[~2015-07-07  5:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000f4242.05e425492a977c7b@friedels.name>
2015-07-06 22:59 ` size 2.73TiB used 240.97GiB after balance Donald Pearson
2015-07-07  5:42   ` Hendrik Friedel [this message]
2015-07-07 13:14     ` Donald Pearson
2015-07-08 18:56       ` Hendrik Friedel
2015-07-08 19:06         ` Donald Pearson
2015-07-08 21:29           ` Hendrik Friedel
2015-07-08 22:16             ` Donald Pearson
2015-07-09 12:02               ` Austin S Hemmelgarn
2015-07-09 11:59           ` Austin S Hemmelgarn
2015-07-06 19:20 Hendrik Friedel
2015-07-06 19:44 ` Hendrik Friedel
2015-07-06 19:49   ` Hugo Mills
2015-07-06 20:01     ` Donald Pearson
2015-07-06 20:52       ` Omar Sandoval
2015-07-06 21:12         ` Hendrik Friedel
2015-07-06 21:49           ` Donald Pearson

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=559B66C9.6060606@friedels.name \
    --to=hendrik@friedels.name \
    --cc=donaldwhpearson@gmail.com \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=osandov@fb.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 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.