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.

Lost data/mountable fs while shrinking cache pool

Featured Replies

I was trying to remove one nvme disk from my raid1 pool by following the guide: 

I did the following:

  1. Stopped docker and VM
  2. Stopped array
  3. Removed cache2 from pool 
  4. Pressed "I am sure" 
  5. Started array
  6. I saw the unmountable fs
  7. I stopped array and tried adding back the removed cache2.
  8. It didn't work.

 

Now I cannot mount any of the nvme's and I'm afraid the fs is corrupt.

 

I tried to rescure it by following the guide:

 

The guide does not specify how to mount multiple nvme drives. Also, /dev/sdX1 devices are array disks and not nvme's. 

I tried with the command:

mount -o rescure=all,ro /dev/nvme0n1p1 /temp

but it gives error:

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

 

I am not sure what I am doing with brtfs.

 

What can I do? 

 

tower-diagnostics-20230105-1935.zip

  • Community Expert
Jan  5 19:10:20 Tower kernel: BTRFS warning (device nvme1n1p1): chunk 6698602332160 missing 1 devices, max tolerance is 0 for writable mount

This indicates the pool was not raid1, at least not totally.

 

Stop the array and type

btrfs-select-super -s 1 /dev/nvme0n1p1

 

After that post the output of

btrfs fi show

 

  • Community Expert

Since I'm about to go offline for the day, and if the output shows both fs devices a spresent, then unassign the other cache device (leave the pool without any device assigned), start array, stop array, now assign both devices and the pool should mount, then post new diags to check the pool profile(s) in use.

  • Author

@JorgeB

Correct - It was a typo. It was RAID0.

 

I did not see your reply before I tried running last night:

btrfs restore -v /dev/nvme0n1p1 /mnt/disk2/restore

It worked! I have all my data in the restore folder now and things are back to how they should be. Thanks for the suggestion though!

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.