linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't remove device -> I/O error
@ 2017-09-29 20:00 Dirk Diggler
  2017-09-29 20:22 ` DocMAX
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dirk Diggler @ 2017-09-29 20:00 UTC (permalink / raw)
  To: linux-btrfs

Hi,

is there any chance to get my device removed?
Scrub literally takes months to complete (SATA 2/3 mix, about 1 minute
per gigabyte) and i'm not sure if that helps.
I guess same with balance. Mabye there is a quicker way. I can do
without some data if it's corrupted. I have a backup, but i want to
avoid to copy all data from scratch!

Whenever i try to remove dev 6, i get:

console:
ERROR: error removing device '/dev/sdj': Input/output error

dmesg (i/o error right after this):
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675115520
csum 0x98f94189 expected csum 0x585e5744 mirror 1
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675119616
csum 0x98f94189 expected csum 0xcefd2ae0 mirror 1
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675115520
csum 0x98f94189 expected csum 0x585e5744 mirror 1
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675119616
csum 0x98f94189 expected csum 0xcefd2ae0 mirror 1
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675115520
csum 0x4023cac1 expected csum 0x585e5744 mirror 2
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675119616
csum 0xea91b663 expected csum 0xcefd2ae0 mirror 2
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675115520
csum 0x98f94189 expected csum 0x585e5744 mirror 1
BTRFS warning (device sdl): csum failed root -9 ino 365 off 3675115520
csum 0x4023cac1 expected csum 0x585e5744 mirror 2

My setup:
/dev/sdf, ID: 3
   Device size:             2.73TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:              5.00GiB
   Unallocated:             2.40TiB

/dev/sdg, ID: 2
   Device size:             1.82TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            955.00GiB
   Data,RAID5:              5.57GiB
   Metadata,RAID1:          3.00GiB
   Unallocated:           566.44GiB

/dev/sdh, ID: 4
   Device size:             1.82TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            955.00GiB
   Data,RAID5:              5.57GiB
   Metadata,RAID1:          2.00GiB
   System,RAID1:           32.00MiB
   Unallocated:           567.41GiB

/dev/sdi, ID: 7
   Device size:             2.73TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            955.00GiB
   Data,RAID5:              5.57GiB
   Metadata,RAID1:         11.00GiB
   System,RAID1:           32.00MiB
   Unallocated:             1.45TiB

/dev/sdj, ID: 6
   Device size:           465.76GiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            587.38MiB
   Unallocated:           132.19GiB

/dev/sdk, ID: 1
   Device size:             1.82TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            955.00GiB
   Data,RAID5:              5.57GiB
   Metadata,RAID1:          3.00GiB
   Unallocated:           566.44GiB

/dev/sdl, ID: 5
   Device size:             1.82TiB
   Device slack:              0.00B
   Data,RAID5:            333.00GiB
   Data,RAID5:            955.00GiB
   Data,RAID5:              5.57GiB
   Metadata,RAID1:          3.00GiB
   Unallocated:           566.44GiB

Thanks,
DocMAX

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-09-30 23:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-29 20:00 Can't remove device -> I/O error Dirk Diggler
2017-09-29 20:22 ` DocMAX
2017-09-29 21:04 ` Goffredo Baroncelli
2017-09-29 21:09   ` DocMAX
2017-09-29 21:48     ` Goffredo Baroncelli
2017-09-29 23:06       ` DocMAX
2017-09-30  7:16         ` Goffredo Baroncelli
2017-09-30 10:40           ` DocMAX
2017-09-30 11:40             ` Goffredo Baroncelli
2017-09-30 11:48               ` DocMAX
2017-09-30 23:54 ` Duncan

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).