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.

Want to add another disk for backups from external sources, can i pool them?

Featured Replies

  • Author

How can i make sure it never happens again? Can i set a minimum free size on the pool?

 

Also it looks like it turned back to readonly? :(

afbeelding.png.cac885d0bab22a87acca62b2ace3b742.png

 

 

diags:tower-diagnostics-20240626-1339.zip

  • Replies 58
  • Views 3.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • YourNightmar3
    YourNightmar3

    Thank you, that seems to have fixed that. The backup is running again, everything seems good so far. Thanks a lot for all the help.

Posted Images

  • Community Expert

Try stopping and restarting the array, then run the balance again, if it still goes read-only, you will need to free up some more space.

  • Community Expert

It needs to relocate a few chunks, try with -dusage=20, and if still 0 relocated chunks, try 30, etc

  • Author

afbeelding.png.0c5d08340c0d2ef39ee4a8912b1d241b.png

 

ehhhh??? im confused. Do i restart the array again and try 100 again? Do i move more off the pool?

  • Community Expert

That's weird, re-start the array and post new diags.

  • Author

Huh.... i just noticed the 72G folder that i moved off the pool is back on it. But it's also still in the folder that i moved it to. And both are 72G

 

afbeelding.png.3ae9af0b14ebab3fef9451fdcac70dbb.png

Edited by YourNightmar3

  • Community Expert
6 minutes ago, YourNightmar3 said:

i just noticed the 72G folder that i moved off the pool is back on it.

Possibly the pool was read-only when you tried before, try again now, and post new diags after the move.

  • Author

That's odd because im pretty sure  saw the used space in the UI benig a bit less on the drive that i moved the folder off of.

 

 

This was a screenshot from earlier:

  afbeelding.thumb.png.23f400741b68e7d340180780cd524014.png

 

so it doesnt seem like it was readonly.

 

And now i got this:

afbeelding.thumb.png.647f5f2a2557a62803217c934980eeb1.png

 

:/

 

Edited by YourNightmar3

  • Author

The entire server just crashed suddenly, i've never seen this before.

 

afbeelding.thumb.png.b417e24727747a58e9f65d81ea6535d4.png

  • Community Expert

Do you know which device is this?

 

Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#4 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=DRIVER_OK cmd_age=0s
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#4 CDB: opcode=0x28 28 00 74 6f 6f 80 00 00 08 00
Jun 26 15:29:01 Tower kernel: blk_print_req_error: 4 callbacks suppressed
Jun 26 15:29:01 Tower kernel: I/O error, dev sdb, sector 1953460096 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#5 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=DRIVER_OK cmd_age=0s
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#5 CDB: opcode=0x28 28 00 74 6f 6f 80 00 00 08 00
Jun 26 15:29:01 Tower kernel: I/O error, dev sdb, sector 1953460096 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jun 26 15:29:01 Tower kernel: Buffer I/O error on dev sdb1, logical block 244182256, async page read
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#8 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=DRIVER_OK cmd_age=0s
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#8 CDB: opcode=0x28 28 00 74 6f 6f 80 00 00 08 00
Jun 26 15:29:01 Tower kernel: I/O error, dev sdb, sector 1953460096 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#10 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=DRIVER_OK cmd_age=0s
Jun 26 15:29:01 Tower kernel: sd 5:0:0:0: [sdb] tag#10 CDB: opcode=0x28 28 00 74 6f 6f 80 00 00 08 00
Jun 26 15:29:01 Tower kernel: I/O error, dev sdb, sector 1953460096 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jun 26 15:29:01 Tower kernel: Buffer I/O error on dev sdb1, logical block 244182256, async page read
Jun 26 15:29:02 Tower emhttpd: device /dev/sdb problem getting id

 

Likely a USB device

  • Author

Could it be my boot USB? I have been suspecting it's dying for a little while now because sometimes i have trouble getting the server started up after a shutdown. I am planning to replace it.

 

But that should be unrelated to my drive pool issue because the boot issue was already present before i added the extra hard drive for the pool. It is also the only USB storage device i have plugged into the server.

 

And immediately after starting the array, the pool is readonly again :/

afbeelding.png.5bb697d6d7a3d1e9758a75a634173b39.png

 

I also immediately got this error on my kvm:

afbeelding.png.946361b6c3341790c8a9f0fa3d7369dd.png

that is the 8TB drive in the nas-backup pool that is full.

 

Attached diags again in case its nessecary tower-diagnostics-20240626-1603.zip

Edited by YourNightmar3

  • Community Expert

It's not the flash drive, looks like it's a SanDisk_SSD_PLUS_1000GB, and it's not USB, but it has the same ID as another one, that's not normal with SATA devices. 

  • Author

Ah, i took a look into the physical machine and you're right. There is a SanDisk_SSD_PLUS_1000GB still connected that has died. I used to have two of them for my cache, i now have two nvme ssd's for my cache and both of those Sandisk SATA ssd's are still wired up while one is dead. It's been in there for i think well over a year at this point.

Edited by YourNightmar3

  • Community Expert

It would be better to disconnect it, if nothing else to stop the log spam.

  • Author

Alright i'll take it out when i have physical access to the machine again.

 

I wanted to try the whole thing again from start to finish, this time moving a bigger folder off the pool. I restarted my array, then did:

mkdir /x
mount -t btrfs -o skip_balance /dev/sdh1 /x

 

and i get

mount: /x: wrong fs type, bad option, bad superblock on /dev/sdh1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

 

Which last time meant the /dev/sdh1 wasn't correct, but this time it is:

image.thumb.png.6d9d8c74899dfc98f4f3b5581baf2a59.png

 

So what is going wrong now? :/ tower-diagnostics-20240627-1313.zip

Edited by YourNightmar3

  • Community Expert
7 minutes ago, YourNightmar3 said:
mount -t btrfs -o skip_balance /dev/sdh1 /x

This won't help now, since there's no balance running.

  • Author

Oh alright, so then what can i do now to fix the read only file system error?

 

image.png.13a9ff825a3cedcaffff6267b36bbd8e.png

  • Community Expert
2 minutes ago, JorgeB said:

This won't help now, since there's no balance running

Scratch that, there is balance running, the last one you tried, reboot, son't start the array, and try the skip balance again, using the correct drive letter, but use:

 

mount -vt btrfs -o skip_balance /dev/sdX1 /x

 

It should give more info if it still fails.

  • Author

Alright the disk is now sdf:

image.thumb.png.10d953b540832ca436a2b172fb2c8935.png

So i did:

image.png.cd63c0fc3cc92e046cde386fff76734c.png

 

What is next? :) 

 

  • Community Expert
On 6/26/2024 at 9:00 AM, JorgeB said:
btrfs balance cancel /x
umount /x

 

The start the array and try again to move some data from the pool.

  • Author

Alright thank you, i got this message after the first command which i got last time as well but i closed my console without taking a screenshot of it:

image.png.90317e220f1cac0bb06e4c2a189c2ee7.png

 

Should i still continue with umount /x or should i do something else because of this warning?

  • Community Expert

Yes, you can continue, that is what we are trying to fix, but need to free up some space first.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.