Jump to content

Cache Unmountable: No file system


Recommended Posts

Earlier today I was noting that Plez was not loading poster images. I went and checked UnRAID just to find the message "Unmountable: No file system" to the right of the cache. I have no clue what happened. Nothing about the setup has been changed in a good while and I have no clue what to do to fix it.

 

Untitled.png

 

unraid-syslog-20200528-2325.zip

unraid-diagnostics-20200528-1627.zip

Edited by GyroDragona
Link to comment

One of the devices is considered missing (despite being assigned), this suggests the superblock is damaged, and it's failing to mount read/write with a single device due to no redundancy, at least partially (this could be the result of the pool not being redundant if it was created during v6.7.x due to a bug):

 

May 28 12:33:14 unRAID kernel: BTRFS warning (device sdc1): chunk 101054414848 missing 1 devices, max tolerance is 0 for writeable mount
May 28 12:33:14 unRAID kernel: BTRFS warning (device sdc1): writeable mount is not allowed due to too many missing devices

 

You should be able to recover the data by mounting read only, see here.

 

Link to comment
43 minutes ago, johnnie.black said:

One of the devices is considered missing (despite being assigned), this suggests the superblock is damaged, and it's failing to mount read/write with a single device due to no redundancy, at least partially (this could be the result of the pool not being redundant if it was created during v6.7.x due to a bug):

 


May 28 12:33:14 unRAID kernel: BTRFS warning (device sdc1): chunk 101054414848 missing 1 devices, max tolerance is 0 for writeable mount
May 28 12:33:14 unRAID kernel: BTRFS warning (device sdc1): writeable mount is not allowed due to too many missing devices

 

You should be able to recover the data by mounting read only, see here.

 

Is there a way to do this with mounting the main array while mounting the cache array as read only and just shifting it all over to the protected array? I'm not super good with messing about with commands on UnRAID.

 

Do you have any guesses about what might cause corruption to the superblock? The server has a UPS that's only half a year old and can keep the server running for about an hour with drive activity and I have not done any hard power downs or resets of the system in a non clean manner. It started giving problems while it was all still running.

Link to comment
32 minutes ago, GyroDragona said:

Is there a way to do this with mounting the main array while mounting the cache array as read only and just shifting it all over to the protected array?

Yes, just start the array as is, cache will still be unmountable and you can try the recovery options.

 

32 minutes ago, GyroDragona said:

Do you have any guesses about what might cause corruption to the superblock?

Not without the diagnostics from when the problem started, also see here for better pool monitoring.

Link to comment
19 hours ago, johnnie.black said:

Yes, just start the array as is, cache will still be unmountable and you can try the recovery options.

 

Not without the diagnostics from when the problem started, also see here for better pool monitoring.

 

It kicked out:
mount: /x: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

Link to comment
14 hours ago, johnnie.black said:

Make sure you try all the options (except check --repair) on the FAQ on both cache devices, if none of them work best bet is to ask for help on #btrfs on freenode IRC. It's usually frequented by actual btrfs developers or very experienced users and they are very helpful there.

I have followed those instructions on the link but it just kicks out the same bad superblock there and I can't seem to talk in that IRC group and there does not seem to be and instructions on how to gain that right within the group. I'm kind of out of options and my server has been doing for about 4 days now.

 

With it being a two drive cache is it possible to bring up both drives with info from the second drive?

Edited by GyroDragona
Link to comment
9 hours ago, GyroDragona said:

With it being a two drive cache is it possible to bring up both drives with info from the second drive?

Like mentioned you should try the command on both devices (and both should always be connected), please post a screenshot of terminal (including the commands) after typing these commands, I find it odd that none of them worked:

mkdir /x
mount -o degraded,usebackuproot,ro /dev/sdc1 /x

Assuming device letters are the same as the screenshot if not make the appropriate correction.

 

Link to comment
12 hours ago, johnnie.black said:

Like mentioned you should try the command on both devices (and both should always be connected), please post a screenshot of terminal (including the commands) after typing these commands, I find it odd that none of them worked:


mkdir /x
mount -o degraded,usebackuproot,ro /dev/sdc1 /x

Assuming device letters are the same as the screenshot if not make the appropriate correction.

 

Untitled.png

 

Oh, it didn't kick out an error. Is there a way to know if data from both drives or just the one is there?

 

Where do I copy stuff so it is on the protected array to make it work from the protected array for now?

Edited by GyroDragona
Link to comment
13 hours ago, GyroDragona said:

Is there a way to know if data from both drives or just the one is there?

Post output of:

btrfs fi usage -T /x

 

13 hours ago, GyroDragona said:

Where do I copy stuff so it is on the protected array to make it work from the protected array for now?

Create a new share called e.g. backup and then copy from /x to /mnt/user/backup

Link to comment
19 hours ago, johnnie.black said:

Post output of:


btrfs fi usage -T /x

 

Untitled.png.bd644f07486c0b64af0e3bc8b10450ea.png

 

19 hours ago, johnnie.black said:

Create a new share called e.g. backup and then copy from /x to /mnt/user/backup

Is there anything special I need to do maintain permissions and ownership with the copy?

Edited by GyroDragona
Link to comment

Multicore on #btrfs spent hours trying to help me but there just wasn't any luck to be had. There was just too much weirdness going on with the drive and btrfs. Superbocks were in the wrong places, the drive vanishing from the btrfs setup. Something with unraid mangled things and I have no clue how it managed to do it.

 

I gave up.

 

I ended up wiping the drives, formated them and got them properly set up as a mirror btrfs. I wasn't able to recover any useable/useful data from the old setup other than a single config file. It's a wash. That said, thank you very much for your help and time in trying to help me out.

Edited by GyroDragona
Link to comment

I have had CA Backup / Restore Appdata installed for ages but I guess it didn’t take or something. I thought it was doing backups but I guess I didn’t save the configuration or something got messed up with it. I don’t know. I do keep backups but this time they just were not being made. 

Edited by GyroDragona
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.

×
×
  • Create New...