cache drive read-only after unclean shutdown


Recommended Posts

hi

after a unclean shutdown of my unraid system i have the problem, that the cache drive is read-only...

i run a btrfs check and got the following errors:

 

Files on the cache drive:

- appdata

- domains

- system

- some Share1 data

- some Share2 data (<-- these files are making problems(?))

 

short Log Version:

checking extents
bad key ordering 39 40
bad block 129892352
ERROR: errors found in extent allocation tree or chunk allocation
checking free space cache
checking fs roots
bad key ordering 39 40
bad key ordering 39 40
bad key ordering 39 40
[..]
bad key ordering 39 40
bad key ordering 39 40
bad key ordering 39 40
root 5 inode 667841 errors 500, file extent discount, nbytes wrong
Found file extent holes:
	start: 0, len: 49160192
root 5 inode 692316 errors 2001, no inode item, link count wrong
	unresolved ref dir 60099 index 171 namelen 18 name mariadb-bin.000040 filetype 1 errors 4, no inode ref
root 5 inode 706261 errors 2001, no inode item, link count wrong
	unresolved ref dir 462105 index 4630 namelen 25 name 2_2019-02-13_16-44-59.mp4 filetype 1 errors 4, no inode ref
root 5 inode 721389 errors 2001, no inode item, link count wrong
	unresolved ref dir 60097 index 166 namelen 6 name ibtmp1 filetype 1 errors 4, no inode ref
root 5 inode 721391 errors 2001, no inode item, link count wrong
	unresolved ref dir 60099 index 184 namelen 18 name mariadb-bin.000044 filetype 1 errors 4, no inode ref
root 5 inode 721392 errors 2001, no inode item, link count wrong
	unresolved ref dir 286834 index 325594 namelen 27 name pihole.0.matterandlight.txt filetype 1 errors 4, no inode ref
[..]
root 5 inode 721393 errors 2001, no inode item, link count wrong
	unresolved ref dir 286834 index 325595 namelen 25 name pihole.1.parsedmatter.txt filetype 1 errors 4, no inode ref
ERROR: errors found in fs roots
Checking filesystem on /dev/sde1
UUID: b6d0f945-1076-45a0-96b0-ff269b4c38d9
found 164876419072 bytes used, error(s) found
total csum bytes: 13425832
total tree bytes: 52658176
total fs tree bytes: 18792448
total extent tree bytes: 17088512
btree space waste bytes: 9265946
file data blocks allocated: 164879409152
 referenced 164237107200

i tried to fix the problems with scrub, but this is not working.

 

 

Is there any way to get up the drive again without losing all files in appdata / system. (the lost of the files shown in the log(share2 data) would be no problem) ?

 

my solution now would be to copy all data to my array  --> remove the cache drive out of the array --> fomat it --> get it back in

 

but the problem is my appdata and system folder are on the cache drive and i dont know what would happen to the server if these files are missing.

 

hope you can help me

log.txt

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.