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.

VM pauses under load

Featured Replies

Hi, 

I have a big problem. My VMs pauses under heavy load or data transfers.

 

I read in another thread that this is possible when the cache drive is full. But my cache drives have 60gb left. 

I have 2x240GB (Pool of two devices).

I checked the folder via terminal:

root@Tower:/mnt# du -sh cache/
151G	cache/

And this shows always up in the log when the VMs are pausing:

Sep 19 20:56:46 Tower kernel: loop: Write error at byte offset 456073216, length 4096.
Sep 19 20:56:46 Tower kernel: print_req_error: I/O error, dev loop2, sector 890752
Sep 19 20:56:46 Tower kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 31, rd 0, flush 0, corrupt 0, gen 0
Sep 19 20:56:46 Tower kernel: loop: Write error at byte offset 457043968, length 4096.
Sep 19 20:56:46 Tower kernel: print_req_error: I/O error, dev loop2, sector 892544
Sep 19 20:56:46 Tower kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 32, rd 0, flush 0, corrupt 0, gen 0
Sep 19 20:56:46 Tower kernel: loop: Write error at byte offset 457048064, length 4096.
Sep 19 20:56:46 Tower kernel: print_req_error: I/O error, dev loop2, sector 892672
Sep 19 20:56:46 Tower kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 33, rd 0, flush 0, corrupt 0, gen 0
Sep 19 20:56:46 Tower kernel: loop: Write error at byte offset 457404416, length 4096.
Sep 19 20:56:46 Tower kernel: print_req_error: I/O error, dev loop2, sector 893312
Sep 19 20:56:46 Tower kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 34, rd 0, flush 0, corrupt 0, gen 0
Sep 19 20:56:46 Tower kernel: loop: Write error at byte offset 467271680, length 4096.
Sep 19 20:56:46 Tower kernel: print_req_error: I/O error, dev loop2, sector 912640
Sep 19 20:56:46 Tower kernel: BTRFS error (device loop2): bdev /dev/loop2 errs: wr 35, rd 0, flush 0, corrupt 0, gen 0

 

Thanks for your help!

Edited by hans-peter123

  • Community Expert

You should post the system diagnostics zip file (obtained via Tools->Diagnostics).   The short snippet you posted is not enough for a sensible diagnosis.

  • Community Expert

Cache filesystem is fully allocated resulting in ENOSPC, see here.

  • Author

Yes thank you thats it!

 

But now I have another problem. I changed a share from "cache only" to "cache yes" and run the mover to get free space.

 

but now the log is spamming messages like this:

Quote

Sep 20 12:44:22 Tower move: move: file /mnt/cache/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Plug-in Support/Caches/com.plexapp.agents.lastfm/HTTP.system/a7/efc9c924b561a6fa249fdab2fa129778a75573_attributes
Sep 20 12:44:22 Tower move: move: create_parent: /mnt/cache/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Plug-in Support/Caches/com.plexapp.agents.lastfm/HTTP.system/a7 error: Read-only file system
Sep 20 12:44:22 Tower move: move: file /mnt/cache/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Plug-in Support/Caches/com.plexapp.agents.lastfm/HTTP.system/a7/ad4141c5f568f4b58f8d968b4ea22ff263349d.content
Sep 20 12:44:22 Tower move: move: create_parent: /mnt/cache/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Plug-in Support/Caches/com.plexapp.agents.lastfm/HTTP.system/a7 error: Read-only file system
Sep 20 12:44:22 Tower move: move: file /mnt/cache/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Plug-in Support/Caches/com.plexapp.agents.lastfm/HTTP.system/a7/ad4141c5f568f4b58f8d968b4ea22ff263349d_attributes

So ich changed it back... The cache pool is in in read only mode now?!

Quote

root@Tower:~# btrfs balance start -dusage=75 /mnt/cache

ERROR: error during balancing '/mnt/cache': Read-only file system

There may be more info in syslog - try dmesg | tail

Even after a reboot :(

 

Also the array don't want to start correctly. WebGUI show "Array starting . Starting services..." Docker and VMs aren't online. I can only access shares that aren't cached/cache related.

 

tower-diagnostics-20190920-1103.zip

Edited by hans-peter123

  • Community Expert

Filesystem is corrupt, try rebooting after disabling docker and VM services.

  • Author

After I turned if Docker and VMs, the Array stated now completely. But I still can't access some files in the cache

 

I wanted to move a vdisk image into the array, than those 3 last log messages came up:

Quote

Sep 20 13:40:28 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 4096
Sep 20 13:40:28 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 4096
Sep 20 13:40:28 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 16384

 

tower-diagnostics-20190920-1140.zip

Edited by hans-peter123

  • Community Expert

Filesystem is still crashing, there are some recovery options in the FAQ, start by mounting the pool just read only.

  • Author

Ok thank you so much for you fast answers!!

So after saving hopefully every file :), format the cache drives und create a "new pool"?

  • Community Expert

Yes.

  • Author

I have one more question. I have a very important file (VM Image). When I try to move it, always this error show up:

Quote

cp: vdisk1.img: failed to get extents info: Input/output error

And in the log:

Quote

Sep 20 13:52:34 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 4096
Sep 20 13:52:34 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 4096
Sep 20 13:52:34 Tower kernel: BTRFS critical (device sdg1): unable to find logical 4611686019636789248 length 16384

Is it possible to rescue the file? I thought I have redundancy!? Not at a filesystem corruption? 

  • Community Expert
1 hour ago, hans-peter123 said:

I thought I have redundancy!?

It can't help if for example both copies are corrupt, try btrfs restore also on the FAQ, it might be able to copy the file, though some corruption is possible.

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.