CACHE: UNMOUNTABLE: UNSUPPORTED OR NO FILE SYSTEM


Recommended Posts

Hello,

 

I was working to replace my cache drive to upgrade it to a larger size, I stopped the array and added the second cache drive after I went to start the array again and got his error.

 

UNMOUNTABLE: UNSUPPORTED OR NO FILE SYSTEM

 

 

Mar 24 15:21:35 Trouble emhttpd: shcmd (538): mkdir -p /mnt/cache
Mar 24 15:21:35 Trouble emhttpd: shcmd (539): mount -t xfs -o noatime,nouuid /dev/sdb1 /mnt/cache
Mar 24 15:21:35 Trouble root: mount: /mnt/cache: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

 

I have attached my system Diag.

 

trouble-diagnostics-20240324-1543.zip

Link to comment
17 hours ago, JorgeB said:
btrfs fi show

 

Label: none  uuid: 08eee0be-7acb-4342-926b-3a54cf7cf730
        Total devices 2 FS bytes used 195.96GiB
        devid    1 size 238.47GiB used 238.47GiB path /dev/sdb1
        *** Some devices missing

Link to comment
Posted (edited)

Fixed the SMBUS issue now having an issue with the cache still.  I'm really just trying to turn it into a raid 1 so I can mirror the data and pull the old 256GB Drive.

 

Docker Service wont start.

 

Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state A): chunk_block_rsv: size 0 reserved 0
Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state A): delayed_block_rsv: size 0 reserved 0
Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state A): delayed_refs_rsv: size 3670016 reserved 0
Mar 25 16:12:11 Trouble kernel: BTRFS: error (device sdb1: state A) in __btrfs_free_extent:3075: errno=-28 No space left
Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state EA): forced readonly
Mar 25 16:12:11 Trouble kernel: BTRFS error (device sdb1: state EA): failed to run delayed ref for logical 2817023393792 num_bytes 16384 type 176 action 2 ref_mod 1: -28
Mar 25 16:12:11 Trouble kernel: BTRFS: error (device sdb1: state EA) in btrfs_run_delayed_refs:2149: errno=-28 No space left
Mar 25 16:12:11 Trouble kernel: BTRFS: error (device sdb1: state EA) in btrfs_create_pending_block_groups:2472: errno=-28 No space left
Mar 25 16:12:11 Trouble emhttpd: shcmd (412): mount -o remount,discard=async /mnt/cache
Mar 25 16:12:11 Trouble kernel: BTRFS: error (device sdb1: state EA) in btrfs_create_pending_block_groups:2484: errno=-28 No space left
Mar 25 16:12:11 Trouble kernel: BTRFS: error (device sdb1: state EA) in add_block_group_free_space:1390: errno=-28 No space left
Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state EMA): allowing degraded mounts
Mar 25 16:12:11 Trouble kernel: BTRFS info (device sdb1: state EMA): turning on async discard
Mar 25 16:12:11 Trouble emhttpd: /mnt/cache: autotrim setxattr error: Read-only file system
Mar 25 16:12:11 Trouble emhttpd: /mnt/cache: compression setxattr error: Read-only file system
Mar 25 16:12:11 Trouble emhttpd: shcmd (413): /sbin/wipefs -af /dev/nvme1n1p1
Mar 25 16:12:11 Trouble emhttpd: shcmd (414): /sbin/blkdiscard /dev/nvme1n1p1
Mar 25 16:12:12 Trouble emhttpd: shcmd (415): /sbin/btrfs device add -f /dev/nvme1n1p1 /mnt/cache
Mar 25 16:12:14 Trouble root: ERROR: error adding device '/dev/nvme1n1p1': Read-only file system
Mar 25 16:12:14 Trouble root: WARNING: Multiple block group profiles detected, see 'man btrfs(5)'
Mar 25 16:12:14 Trouble root: WARNING:    System: single, dup
Mar 25 16:12:14 Trouble root: Performing full device TRIM /dev/nvme1n1p1 (465.76GiB) ...
Mar 25 16:12:14 Trouble emhttpd: shcmd (415): exit status: 1
Mar 25 16:12:14 Trouble emhttpd: shcmd (416): /sbin/btrfs device delete missing /mnt/cache && /sbin/btrfs balance start --full-balance /mnt/cache &

 

Mar 25 16:12:20 Trouble kernel: BTRFS info (device loop2): first mount of filesystem fe63c179-fef7-4a64-b409-1b380b22e89c
Mar 25 16:12:20 Trouble kernel: BTRFS info (device loop2): using crc32c (crc32c-intel) checksum algorithm
Mar 25 16:12:20 Trouble kernel: BTRFS info (device loop2): using free space tree
Mar 25 16:12:20 Trouble kernel: BTRFS info (device loop2): bdev /dev/loop2 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
Mar 25 16:12:20 Trouble kernel: BTRFS info (device loop2): enabling ssd optimizations
Mar 25 16:12:20 Trouble root: ERROR: unable to resize '/var/lib/docker': Read-only file system
Mar 25 16:12:20 Trouble root: Resize device id 1 (/dev/loop2) from 75.00GiB to max
Mar 25 16:12:20 Trouble emhttpd: shcmd (447): /etc/rc.d/rc.docker start
Mar 25 16:12:20 Trouble root: starting dockerd ...
Mar 25 16:12:21 Trouble avahi-daemon[32830]: Server startup complete. Host name is Trouble.local. Local service cookie is 1813167402.
Mar 25 16:12:22 Trouble avahi-daemon[32830]: Service "Trouble" (/services/ssh.service) successfully established.
Mar 25 16:12:22 Trouble avahi-daemon[32830]: Service "Trouble" (/services/smb.service) successfully established.
Mar 25 16:12:22 Trouble avahi-daemon[32830]: Service "Trouble" (/services/sftp-ssh.service) successfully established.
Mar 25 16:12:43 Trouble nmbd[32761]: [2024/03/25 16:12:43.010079,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Mar 25 16:12:43 Trouble nmbd[32761]:   *****
Mar 25 16:12:43 Trouble nmbd[32761]:   
Mar 25 16:12:43 Trouble nmbd[32761]:   Samba name server TROUBLE is now a local master browser for workgroup WORKGROUP on subnet 10.1.20.2
Mar 25 16:12:43 Trouble nmbd[32761]:   
Mar 25 16:12:43 Trouble nmbd[32761]:   *****
Mar 25 16:12:50 Trouble emhttpd: shcmd (449): umount /var/lib/docker
Mar 25 16:12:50 Trouble kernel: BTRFS info (device loop2): last unmount of filesystem fe63c179-fef7-4a64-b409-1b380b22e89c
Mar 25 16:12:50 Trouble emhttpd: nothing to sync
Mar 25 16:12:50 Trouble unassigned.devices: Mounting 'Auto Mount' Remote Shares...
Mar 25 16:12:50 Trouble unassigned.devices: Using Gateway '10.1.20.1' for Remote Shares.
Mar 25 16:12:50 Trouble unassigned.devices: Waiting 5 secs before mounting Remote Shares...
Mar 25 16:22:00 Trouble root: Fix Common Problems Version 2024.03.09
Mar 25 16:22:00 Trouble root: Fix Common Problems: Warning: Share appdata set to cache-only, but files / folders exist on the array
Mar 25 16:22:00 Trouble root: Fix Common Problems: Warning: Share media set to not use the cache, but files / folders exist on the cache drive
Mar 25 16:22:03 Trouble root: Failed to write /mnt/cache/809538006.tmp
Mar 25 16:22:03 Trouble root: Fix Common Problems: Error: Unable to write to cache

 

Thanks for all your help.

 

 

 

trouble-diagnostics-20240325-1616.zip

Edited by TroubleMedia
Link to comment
12 hours ago, TroubleMedia said:

No space left

It's going read-only due to not enough space, the filesystem is fully allocated and it still has a missing device, move some data of the pool, then balance and see if it can remove the missing device.

 

 

Link to comment
Posted (edited)

I've tried to change the shares to the array and evoke Mover but it is not doing anything.

 

There is also 43 GB free on the cache drive currently.  I just really want to backup the cache drive and replace it with a new drive.  But changing the shares to Array the mover does not move the files.

Edited by TroubleMedia
Link to comment
27 minutes ago, TroubleMedia said:

I've tried to change the shares to the array and evoke Mover but it is not doing anything.

Mover won't work on a read-only filesystem.

 

27 minutes ago, TroubleMedia said:

There is also 43 GB free on the cache drive currently. 

Yes, but it's fully allocated, this is a btrsf quirk, nothing else can be written until that's fixed, though if it goes ready only right after array start you won't be able to move some data to fix that.

Link to comment
50 minutes ago, TroubleMedia said:

I don't have any missing Pool drives now. 

You still do, btrfs is unable to delete the missing device, because the balance is failing due to the not enough space issue:

 

             Data      Metadata System   System                             
Id Path      single    single   single   DUP     Unallocated Total     Slack
-- --------- --------- -------- -------- ------- ----------- --------- -----
 1 /dev/sdb1 235.43GiB  3.01GiB 32.00MiB 4.00MiB     1.05MiB 238.47GiB     -
 2 missing           -        -        -       -   465.76GiB 465.76GiB     -
-- --------- --------- -------- -------- ------- ----------- --------- -----
   Total     235.43GiB  3.01GiB 32.00MiB 2.00MiB   465.76GiB 704.24GiB 0.00B
   Used      194.75GiB  1.21GiB 48.00KiB   0.00B         

                   

Note also the unallocated value of just 1MiB, that's what I mean by the filesystem being fully allocated, there's a thing you could try, but easiest way forward might be to just copy anything important you have on the pool to the array and then re-format.

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.