Re: Can't repair raid 1 array after drive failure

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

 



Am Sa., 2. Mai 2020 um 09:56 Uhr schrieb Chris Murphy <lists@xxxxxxxxxxxxxxxxx>:
>
> On Fri, May 1, 2020 at 1:59 PM Rollo ro <rollodroid@xxxxxxxxx> wrote:
> >
> > Am Fr., 1. Mai 2020 um 19:52 Uhr schrieb Chris Murphy <lists@xxxxxxxxxxxxxxxxx>:
> > >
> > > A complete dmesg please (not trimmed, starting at boot) would be useful.
> >
> > dmesg is spammed with btrfs warnings and errors, so all earlier
> > content is already gone. I can increase the buffer in grub
> > configuration and provide the complete dmesg next time.
>
> For the current boot:
> # journalctl -k
> For previous boot:
> # journalctl -b -1 -k

That doesn't work on my setup. As it boots from the usb flash drive,
there have been taken actions to avoid all writes to not wear it out.

>
> > While looking at dmesg I found this:
> > [Fri May  1 16:25:15 2020] BTRFS warning (device sdc1): lost page
> > write due to IO error on /dev/sde
> > [Fri May  1 16:25:15 2020] BTRFS error (device sdc1): error writing
> > primary super block to device 4
> > [Fri May  1 16:25:15 2020] BTRFS info (device sdc1): disk added /dev/sdb
> > [Fri May  1 16:25:49 2020] BUG: kernel NULL pointer dereference,
> > address: 0000000000000000
>
> This might be related to the device vanishing. The actual problem(s)
> happened before this. This is just the consequence of the problem.
>

I won't find out anymore what has gone wrong. I made a new filesystem
with the same two drives, saved about 1 TB on it and now it is running
scrub. It's at about 50% progress now and no errors or warnings yet!
Maybe the wrong timeout values, which are fixed now, have caused much
trouble last time. I'm quite happy about how it's working at the
moment. Now I have an additional installation running on a virtual
machine. The nice thing is, that the VirtualBox project and the
virtual disks are stored via a shared folder on the btrfs filesystem.
Hence, I can mess with that, try if I can get more recent btrfs progs
etc and completely revert the virtual machine if I need to, thanks to
the snapshots! :-)

Thanks for your help!

>
> --
> Chris Murphy



[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