Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BTRFS: Cache "lost" Drive

Featured Replies

Hey.

My server come up and had a missing btrfs device (diagnostics) attached.

I shut down, checked cables and the device returned. Now it is no longer part of the cache pool.

How do I get it back in?...

knowlage-diagnostics-20190910-1524.zip

  • Community Expert

The device is already part of the pool, since it's available again, despite not being assigned, to correct the assignments it's easier to unassign all cache devices (stop VM and docker services first), then start array without any assigned cache devices so Unraid can "forget" current config, then stop the array and re-assign all cache devices, you should then run a scrub to bring the offline device up to date.

  • Author

Cool. Thanks. Back onlline and scrubbing....

 

 

How to deal with the resulting uncorrectables?


scrub status for 841ae120-6e82-44b2-bd5f-ee9fd1de1907
	scrub started at Tue Sep 10 17:55:12 2019, running for 00:00:41
	total bytes scrubbed: 9.82GiB with 2595 errors
	error details: read=4 verify=2571 csum=20
	corrected errors: 2588, uncorrectable errors: 7, unverified errors: 0
  • Community Expert

With uncorrectable errors best way forward is to backup any important data on cache and reformat the pool.

  • Author

Any other way? As the pool only contains VMs and docker data..?

  • Community Expert

Uncorrectable errors can be the result of using NOCOW shares, more info here, you need to delete affected data or format pool, no other way.

  • Author

I dont have any nocow shares. But it seems I cant backup anything ->

cp: error reading 'vdisk1.img': Input/output erro

Is there any way to save this? It is vital for me as I would lose some veryyyy imporant data is just received today (nightly backup did not run yet)

 

It is a RAID6, how can it fail in a way I can not recover anything!? 

 

[/dev/sdm1].write_io_errs 0
[/dev/sdm1].read_io_errs 0
[/dev/sdm1].flush_io_errs 0
[/dev/sdm1].corruption_errs 0
[/dev/sdm1].generation_errs 0
[/dev/sdh1].write_io_errs 0
[/dev/sdh1].read_io_errs 0
[/dev/sdh1].flush_io_errs 0
[/dev/sdh1].corruption_errs 93230
[/dev/sdh1].generation_errs 2571
[/dev/sdk1].write_io_errs 0
[/dev/sdk1].read_io_errs 148
[/dev/sdk1].flush_io_errs 0
[/dev/sdk1].corruption_errs 0
[/dev/sdk1].generation_errs 0
[/dev/sdj1].write_io_errs 0
[/dev/sdj1].read_io_errs 0
[/dev/sdj1].flush_io_errs 0
[/dev/sdj1].corruption_errs 0
[/dev/sdj1].generation_errs 0

Why does the cache appear to be read only?!

Edited by Jaster

  • Community Expert

btrfs raid5/6 still has some issues, there's a warning in the FAQ, input/output error when copying means the file is corrupt, you can override that by using btrfs restore, but the file will still be corrupt, it might be justle a little in a place that doesn't matter, or it might matter, but you can try.

 

Anything important needs to be backed up, even when using other raid profiles or other filesystem.

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.