Unresponsive system

:+1:

This is what I have in the system log file:
Jan 2 16:56:13 smartd[6711]: Device: /dev/sdk [SAT], 112 Currently unreadable (pending) sectors
Jan 2 16:56:15 kernel: BTRFS info (device sda): found 87 extents
Jan 2 16:56:17 systemd-logind: New session 9196 of user timecapsule.
Jan 2 16:56:17 afpd[37320]: Login by timecapsule (AFP3.4)
Jan 2 16:57:56 afpd[37320]: dsi_stream_read: len:0, unexpected EOF
Jan 2 16:57:56 afpd[37320]: dsi_disconnect: entering disconnected state
Jan 2 16:58:50 systemd-logind: New session 9197 of user timecapsule.
Jan 2 16:58:50 afpd[37467]: Login by timecapsule (AFP3.4)
Jan 2 16:59:57 afpd[37467]: dsi_stream_read: len:0, unexpected EOF
Jan 2 16:59:57 afpd[37467]: dsi_disconnect: entering disconnected state
Jan 2 17:01:59 kernel: BTRFS info (device sda): relocating block group 212272628367360 flags data|raid6
Jan 2 17:04:06 systemd-logind: New session 9200 of user timecapsule.
Jan 2 17:04:06 afpd[37814]: Login by timecapsule (AFP3.4)
Jan 2 17:05:07 systemd-logind: New session 9201 of user timecapsule.
Jan 2 17:05:07 afpd[37869]: Login by timecapsule (AFP3.4)
Jan 2 17:05:07 afpd[37869]: afp_disconnect: trying primary reconnect
Jan 2 17:05:07 afpd[12538]: Reconnect: transferring session to child[37814]
Jan 2 17:05:07 afpd[12538]: Reconnect: killing new session child[37869] after transfer
Jan 2 17:05:09 afpd[37869]: afp_disconnect: primary reconnect succeeded
Jan 2 17:05:09 systemd-logind: Removed session 9201.
Jan 2 17:05:57 afpd[37814]: afp_dsi_transfer_session: succesfull primary reconnect
Jan 2 17:06:58 systemd-logind: New session 9202 of user timecapsule.
Jan 2 17:06:58 afpd[37981]: Login by timecapsule (AFP3.4)
Jan 2 17:06:58 afpd[37981]: afp_disconnect: trying primary reconnect
Jan 2 17:06:58 afpd[12538]: Reconnect: transferring session to child[37814]
Jan 2 17:06:58 afpd[12538]: Reconnect: killing new session child[37981] after transfer
Jan 2 17:07:00 afpd[37981]: afp_disconnect: primary reconnect succeeded
Jan 2 17:07:00 systemd-logind: Removed session 9202.
Jan 2 17:07:54 afpd[37814]: afp_dsi_transfer_session: succesfull primary reconnect
Jan 2 17:08:55 systemd-logind: New session 9203 of user timecapsule.
Jan 2 17:08:55 afpd[38103]: Login by timecapsule (AFP3.4)
Jan 2 17:08:55 afpd[38103]: afp_disconnect: trying primary reconnect
Jan 2 17:08:55 afpd[12538]: Reconnect: transferring session to child[37814]
Jan 2 17:08:55 afpd[12538]: Reconnect: killing new session child[38103] after transfer
Jan 2 17:08:57 afpd[38103]: afp_disconnect: primary reconnect succeeded
Jan 2 17:08:57 systemd-logind: Removed session 9203.
Jan 2 17:09:51 afpd[37814]: afp_dsi_transfer_session: succesfull primary reconnect
Jan 2 17:10:51 systemd-logind: New session 9205 of user timecapsule.
Jan 2 17:10:51 afpd[38236]: Login by timecapsule (AFP3.4)
Jan 2 17:10:51 afpd[38236]: afp_disconnect: trying primary reconnect
Jan 2 17:10:51 afpd[12538]: Reconnect: transferring session to child[37814]
Jan 2 17:10:51 afpd[12538]: Reconnect: killing new session child[38236] after transfer
Jan 2 17:10:53 afpd[38236]: afp_disconnect: primary reconnect succeeded
Jan 2 17:10:53 systemd-logind: Removed session 9205.
Jan 2 17:11:46 kernel: NFSD: client 10.10.2.8 testing state ID with incorrect client ID
Jan 2 17:11:46 kernel: NFSD: client 10.10.2.8 testing state ID with incorrect client ID
Jan 2 17:11:46 kernel: NFSD: client 10.10.2.8 testing state ID with incorrect client ID
Jan 2 17:11:46 kernel: NFSD: client 10.10.2.8 testing state ID with incorrect client ID
Jan 2 17:11:49 afpd[37814]: afp_dsi_transfer_session: succesfull primary reconnect
Jan 2 17:12:49 systemd-logind: New session 9206 of user timecapsule.
Jan 2 17:12:49 afpd[38344]: Login by timecapsule (AFP3.4)
Jan 2 17:12:49 afpd[38344]: afp_disconnect: trying primary reconnect
Jan 2 17:12:49 afpd[12538]: Reconnect: transferring session to child[37814]
Jan 2 17:12:49 afpd[12538]: Reconnect: killing new session child[38344] after transfer
Jan 2 17:12:51 afpd[38344]: afp_disconnect: primary reconnect succeeded
Jan 2 17:12:51 systemd-logind: Removed session 9206.
Jan 2 17:13:58 afpd[37814]: afp_dsi_transfer_session: succesfull primary reconnect
Jan 2 17:13:58 afpd[37814]: dsi_stream_read: len:0, unexpected EOF
Jan 2 17:13:58 afpd[37814]: dsi_stream_read: len:0, unexpected EOF
Jan 2 17:13:58 afpd[37814]: dsi_disconnect: entering disconnected state
Jan 2 17:14:04 kernel: RPC request reserved 108 but used 268
Jan 2 17:14:23 systemd-logind: New session 9207 of user admin.
Jan 2 17:14:23 afpd[38430]: Login by admin (AFP3.4)
Jan 2 17:16:10 afpd[38430]: dsi_stream_read: len:0, unexpected EOF
Jan 2 17:16:10 afpd[38430]: dsi_disconnect: entering disconnected state

Yes, during the CPU high load I’m getting slowness for btrfs fi show.

If I physically unplug the HDD from the system, the btrfs know how to recover by itself? I mean that should be the basic functionality of raid6 just as a HDD crash :wink:
The delete tries to move everything from the drive to the others or what the process behind?

Force restarted the fs, removed the faulty hdd, mounted as degraded and everything is working fine now :slight_smile:
Now I’ve issued the btrfs device delete missing /path/to/fs and for the moment FS is running fine, let’s see :slight_smile:

The slowness is back, it’s not that bad as it’s not hanging that often now.

After few hours I had the same issues. Process up to 100% and system become unresponsive. As the first time I was unable to stop the process. I have force restarted the system and now is running ok, in degraded mode. The process was running slow as the initial one, only increased few mb in 12h.

Any idea or should I try to run another OS with a better BTRFS kernel and try to recover from degraded?

Issue seems similar to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1294531
Just seen the redhat reply on Feb ‘19. Interesting :slight_smile:

@phillxnet any beta for the suse edition? :slight_smile:

@shocker Re:

That issue references CentOS’s default kernel version which was 3.19, as per our CentOS based installer. But our installer then immediately update this to 4.12 from elrepo via their kernel-ml offering. We also bundle similarly versioned btrfs-progs of 4.12.

The slow “btrfs dev delete” issue is not unknown and has come up again recently on the linux-btrfs mailing list:
https://lore.kernel.org/linux-btrfs/7c82851a-21cf-2a66-8d1c-42d57ca0538f@dubiel.pl/T/#mc93039e2c22c9eb279ffa8ee433ee27db5291c32

And again your experience is likely compounded by the known lower performance of the parity raid variants and the duff disk likely slowing things even more initially. We will have to move to supporting the quicker disk replace functionality sooner rather than later but it is a non trivial task and we currently have a lot on with our openSUSE move.

Speaking of which:

Yes, please see the following recent ‘Announcements’ tagged forum post:

So more alpha than beta but if your game!! Also if you do take the plunge then go for a Leap 15.1 rather than a Tumbleweed. Leap 15.1 is our next main target and has hundreds of btrfs kernel backports in comparison to what our CenOS offering has so don’t be put off by the major kernel version. Suse employ quite a few btrfs developers so they have the required expertise to do this, and SLES is now binary compatibly with the openSUSE Leap line as it is now based directly off of openSUSE Leap. Plus SUSE are a significant backer of openSUSE once again.

We also have a working pre-release installer based on openSUSE Leap15.1 but I have yet to clear it’s use/config with the openSUSE folks prior to release and I don’t think I’ve quite yet jumped through all the debranding issues that are required to do this. But when this is sorted I will of course announce here on the forum and make a download link available.

All in the works but still a lot to do such as making the move over to our ‘yet to be release’ openSUSE variant as smooth as possible. By way of this here has been a fair bit of work done on the config save restore (@Flox mainly) and the ongoing work to achieve feature/function parity. Still if you fancy getting involved then that above link should get you sorted. But please do read the referenced post and it’s subsequent references fully first as this is defiantly not yet ready for general release. But we do have some forum members that have already build from source on openSUSE variants but reports of the now available openSUSE rpms is a little more relevant with regard to finally getting an openSUSE Stable channel rpm offering out.

Hope that helps, at least as an status update. I’m due to post more on the forum soon on this but as always there is lots to do and we have our current CentOS users to support during all of this. And without the Stable subscribers currently on CentOS we would have no project to have openSUSE aspirations with in the first place.

Awesome! Thanks! I’ll try to switch this weekend to the opensuse one. Should I try the Tumbleweed first and try to recover? Or it have the same btrfs ports in the kernel?
I’ve seen that Tumbleweed comes with kernel 5.3 by default.

Hi @shocker,

Allow me to chip in on this one:

I would personally try Leap 15.1 first as I see it as a lot more safe than Tumbleweed and received a ton of backports from the newer kernel. As a result, from a Btrfs perspective, it is far ahead from a generic 4.12 kernel. See below for examples:

On a freshly-updated Leap 15.1 system, for instance, you can see that the kernel package was updated just a month ago:

rockdev:~ # zypper info kernel-default
Loading repository data...
Reading installed packages...


Information for package kernel-default:
---------------------------------------
Repository     : Main Update Repository
Name           : kernel-default
Version        : 4.12.14-lp151.28.36.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 311.1 MiB
Installed      : Yes
Status         : up-to-date
Source package : kernel-default-4.12.14-lp151.28.36.1.nosrc
Summary        : The Standard Kernel
Description    :
    The standard kernel for both uniprocessor and multiprocessor systems.


    Source Timestamp: 2019-12-06 13:50:27 +0000
    GIT Revision: 8f4a495fffe8cb92ade0b0afc0abe10de21a1d4a
    GIT Branch: openSUSE-15.1

If we look at the Btrfs-related changes, we have (listing only the 40 most recent ones):

rockdev:~ # rpm -q --changelog kernel-default | grep btrfs | head -n 40
- btrfs: tracepoints: Fix bad entry members of qgroup events
- btrfs: tracepoints: Fix wrong parameter order for qgroup  events
- btrfs: qgroup: Always free PREALLOC META reserve in
  btrfs_delalloc_release_extents() (bsc#1155179).
- btrfs: block-group: Fix a memory leak due to missing
  btrfs_put_block_group() (bsc#1155178).
- btrfs: Ensure btrfs_init_dev_replace_tgtdev sees up to date
- btrfs: remove wrong use of volume_mutex from
  btrfs_dev_replace_start (bsc#1154651).
- btrfs: Ensure replaced device doesn't have pending chunk allocation (bsc#1154607).
- btrfs: qgroup: Fix reserved data space leak if we have  multiple
- btrfs: qgroup: Fix the wrong target io_tree when freeing
- btrfs: relocation: fix use-after-free on dead relocation  roots
- Btrfs: do not abort transaction at btrfs_update_root() after
- Btrfs: remove BUG() in btrfs_extent_inline_ref_size
- Btrfs: convert to use btrfs_get_extent_inline_ref_type
- blacklist.conf: Add invalid btrfs commits
  patches.suse/btrfs-add-missing-inode-version-ctime-and-mtime-upda.patch.
- btrfs: start readahead also in seed devices (bsc#1144886).
- btrfs: clean up pending block groups when transaction commit
- btrfs: handle delayed ref head accounting cleanup in abort
- btrfs: add cleanup_ref_head_accounting helper (bsc#1050911).
- btrfs: fix pinned underflow after transaction aborted
- btrfs: Fix delalloc inodes invalidation during transaction abort
- btrfs: Split btrfs_del_delalloc_inode into 2 functions
- btrfs: track running balance in a simpler way (bsc#1145059).
- btrfs: use GFP_KERNEL in init_ipath (bsc#1086103).
- btrfs: scrub: add memalloc_nofs protection around init_ipath
- patches.suse/Btrfs-kill-btrfs_clear_path_blocking.patch:
  patches.suse/btrfs-reloc-also-queue-orphan-reloc-tree-for-cleanup-to-avoid-bug_on.patch.
  patches.suse/btrfs-fix-wrong-ctime-and-mtime-of-a-directory-after.patch.
- btrfs: qgroup: Check bg while resuming relocation to  avoid
  patches.suse/btrfs-reloc-also-queue-orphan-reloc-tree-for-cleanup-to-avoid-bug_on.patch.
- btrfs: don't double unlock on error in btrfs_punch_hole
- btrfs: reloc: Also queue orphan reloc tree for cleanup to avoid  BUG_ON() (bsc#1133612).
  patches.suse/0001-btrfs-extent-tree-Fix-a-bug-that-btrfs-is-unable-to-.patch.
- btrfs: qgroup: Don't scan leaf if we're modifying reloc  tree
- btrfs: extent-tree: Use btrfs_ref to refactor
  btrfs_free_extent() (bsc#1063638 bsc#1128052 bsc#1108838).
- btrfs: extent-tree: Use btrfs_ref to refactor

Now, looking at the most recent change listed there…

- btrfs: tracepoints: Fix bad entry members of qgroup events

… we can see it actually was submitted last October for inclusion in kernel 5.4-rc5 (unless I misunderstand this, of course):
https://lkml.org/lkml/2019/10/22/440

Now, looking at a freshly-updated Tumbleweed:

rockdev:~ # zypper info kernel-default
Loading repository data...
Reading installed packages...


Information for package kernel-default:
---------------------------------------
Repository     : Main Repository (OSS)
Name           : kernel-default
Version        : 5.3.12-2.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 163.1 MiB
Installed      : Yes
Status         : up-to-date
Source package : kernel-default-5.3.12-2.2.nosrc
Summary        : The Standard Kernel
Description    :
    The standard kernel for both uniprocessor and multiprocessor systems.


    Source Timestamp: 2019-11-21 07:21:43 +0000
    GIT Revision: a6f60814d3dbf81b05caf84e6143251ca14f5f37
    GIT Branch: stable

and most importantly:

rockdev:~ #  rpm -q --changelog kernel-default | grep btrfs | head -n 40
- btrfs: block-group: Fix a memory leak due to missing
  btrfs_put_block_group() (bnc#1151927).
- btrfs: don't needlessly create extent-refs kernel thread
- btrfs: tracepoints: Fix wrong parameter order for qgroup events
- btrfs: tracepoints: Fix bad entry members of qgroup events
- btrfs: fix uninitialized ret in ref-verify (bnc#1151927).
- btrfs: fix incorrect updating of log root tree (bnc#1151927).
- btrfs: fix balance convert to single on 32-bit host CPUs
- btrfs: allocate new inode in NOFS context (bnc#1151927).
- btrfs: relocation: fix use-after-free on dead relocation roots
- btrfs: delayed-inode: Kill the BUG_ON() in
  btrfs_delete_delayed_dir_index() (bnc#1151927).
- btrfs: extent-tree: Make sure we only allocate extents from
- btrfs: tree-checker: Add ROOT_ITEM check (bnc#1151927).
- btrfs: Detect unbalanced tree with empty leaf before crashing
- btrfs: fix allocation of free space cache v1 bitmap pages
- btrfs: Relinquish CPUs in btrfs_compare_trees (bnc#1151927).
- btrfs: adjust dirty_metadata_bytes after writeback failure of
- btrfs: qgroup: Fix the wrong target io_tree when freeing
- btrfs: qgroup: Fix reserved data space leak if we have multiple
- btrfs: Fix a regression which we can't convert to SINGLE profile
  writeback attempts (btrfs hangup).
- btrfs: trim: Check the range passed into to prevent overflow
- btrfs: qgroup: Don't hold qgroup_ioctl_lock in
  btrfs_qgroup_inherit() (bnc#1012628).
- btrfs: Flush before reflinking any extent to prevent NOCOW write
- btrfs: fix minimum number of chunk errors for DUP (bnc#1012628).
- btrfs: tree-checker: Check if the file extent end overflows
- btrfs: inode: Don't compress if NODATASUM or NODATACOW set
- btrfs: shut up bogus -Wmaybe-uninitialized warning
- btrfs: correctly validate compression type (bnc#1012628).
  patches.suse/btrfs-8447-serialize-subvolume-mounts-with-potentially-mi.patch
- btrfs: start readahead also in seed devices (bnc#1012628).
  patches.kernel.org/5.1.8-025-btrfs-qgroup-Check-bg-while-resuming-relocation.patch
- btrfs: correct zstd workspace manager lock to use spin_lock_bh()
- btrfs: qgroup: Check bg while resuming relocation to avoid
- btrfs: reloc: Also queue orphan reloc tree for cleanup to
- btrfs: don't double unlock on error in btrfs_punch_hole
- btrfs: Check the compression level before getting a workspace
- Btrfs: do not abort transaction at btrfs_update_root() after

As you can see by looking only at the most recent changes, we only are missing 3 changes in the Leap 15.1 kernel when compared to the Tumbleweed one (Btrfs-related, of course).

Hope this helps,

1 Like

Thank you @Flox for making time to share those!
My only concern is the system force restarts during recovery :slight_smile:
For example the delete process cannot be stopped and not even killed. The only way to recover and have a working FS is a force restart :slight_smile:
To be honest now I’m searching the internet for cloud backup solutions to drop everything there before playing with delete command again.
Anyway I’ll join the alfa testing and share my feedback. It’s ok if there are bugs in the gui as most of the time I’m a cli guy :slight_smile:

Cheers!

@Flox Thanks for that excellent break down of the Leap15.1 vs Tumbleweed kernel btrfs backports.

I fully concur, plus in the Leap15.1 / SLES kernel we have the benefit of better 3rd party driver compatibility via the ‘qualification’ programs that often accompany enterprise linux kernels.

Thanks again for publishing your findings on this very pertinent issue.

Well sharing is caring :smile: It’s aleways great to share. This is how you can improve the product, others can easily find others and devs can identify issues. :slight_smile:

I’ll switch to beta for sure in the upcomming days, right now I’ve discovered dropbox for business with unlimited storage and it’s great! I’m doing a full backup to dropbox just to feel safe to continue troubleshooting :slight_smile:
As of now my upload is 600Mbps, I’ll try tomorrow to balnce the as-path through some 10G peerings or split uploads via different upstreams in BGP to speed up things :slight_smile:

Thanks for the feedback. Actually it’s a raid6 so I’m still heaving one more drive. I’ll switch to the openSUSE in the near future but plans changed with this new isolation situation :slight_smile:
I’ll try to do a scrub but only after I’ll switch to openSUSE to ensure that I have most of the bug fixes in place.

Installed opensuse leap 15.1 and rockstor.

If i’m trying to restore from backup, i’m getting this:

[13/Apr/2020 12:53:50] ERROR [storageadmin.views.disk:418] Error running a command. cmd = /usr/sbin/smartctl --info /dev/disk/by-id/usb-Samsung_Flash_Drive_0363015100009329-0:0. rc = 1. stdout = [‘smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp151.28.44-default] (SUSE RPM)’, ‘Copyright © 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org’, ‘’, ‘/dev/disk/by-id/usb-Samsung_Flash_Drive_0363015100009329-0:0: Unknown USB bridge [0x090c:0x1000 (0x1100)]’, ‘Please specify device type with the -d option.’, ‘’, ‘Use smartctl -h to get a usage summary’, ‘’, ‘’]. stderr = [’’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/disk.py”, line 416, in _update_disk_state
do.name, do.smart_options)
File “/opt/rockstor/src/rockstor/system/smart.py”, line 338, in available
[SMART, “–info”] + get_dev_options(device, custom_options)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 176, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/smartctl --info /dev/disk/by-id/usb-Samsung_Flash_Drive_0363015100009329-0:0. rc = 1. stdout = [‘smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp151.28.44-default] (SUSE RPM)’, ‘Copyright © 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org’, ‘’, ‘/dev/disk/by-id/usb-Samsung_Flash_Drive_0363015100009329-0:0: Unknown USB bridge [0x090c:0x1000 (0x1100)]’, ‘Please specify device type with the -d option.’, ‘’, ‘Use smartctl -h to get a usage summary’, ‘’, ‘’]. stderr = [’’]
^C

P.S. It’s not an issue I’m experiencing, USB stick is unplugged now, just to mention about this bug :slight_smile:

Another bug is that NFS service appears off in the web gui but it’s running fine into the system.
Warning! NFS Service is not running . Clients won’t be able to mount unless NFS is running.

@shocker Hello again, and thanks for the reports.

The following:

Just means that the USB stick was not known to smarmontools so essentially independant of Rockstor. Just means there will be log spamming as we use the smarctl program to assess if smart is supported to inform the enablement of the smart switch at the end of each disk entry on the disk over view page.

A newer version of smartmontools could fix this if anyone reports that device to them. I’ve done one or two of these reports myself over the years. Another option is to try and configure a custom S.M.A.R.T option for that device. This is covered in the following Rockstor documentation section:

Disk Custom S.M.A.R.T Options

Which uses an almost identical error message as an example of how these custom options can help smartctl retrieve useful info from devices that are not currently in it’s database of supported devices. But with many USB keys there is simply no smart support to be had, irrespective of that option is tried.

So in short it’s a smartmontools thing in this case.

Re:

This one is worth a new thread and it would help to specify that it’s openSUSE testing realated. Also if you could include in that thread some investigative info say from the logs it might help to track this down. I’ve not looked at the NFS stuff on the openSUSE side just yet so it may help to kick off whatever individual bugs we can tease out of that area before our relaunch on openSUSE.

Thanks again for the reports and well done on moving over the the ‘Built on openSUSE’ variant. Hopefully it’s serving your well bar the outstanding differences from our stable offerings on CentOS. And if you could start a new thread on the inability to detect NFS service status; it’s likely just down to a difference in service names or the like so may be an easy fix once we have enough info on why it’s failing. Try and include as much info as possible, ie how you setup NFS etc so your observed failure can be reproduced. We can then make an issue of it and hopefully get it sorted quickly.

2 Likes

Done :slight_smile:
One more thing, I’m trying to move my license to the new server. I have updated the Appliance ID in appman.rockstor.com but it’s not applied. Do I need to do something else?

I’ll continue the troubleshooting now on this topic, balance and try to recover my degraded raid6 :wink:

Cheers!

Tried to balance, seems that the system is doing 1 chunk per minute, way too slow but it’s not freezing anymore :slight_smile:

btrfs balance status -v /mnt2/mount/

Balance on ‘/mnt2/mount/’ is running
3 out of about 20965 chunks balanced (4 considered), 100% left
Dumping filters: flags 0x7, state 0x1, force is off
DATA (flags 0x0): balancing
METADATA (flags 0x0): balancing
SYSTEM (flags 0x0): balancing

Now the broken HDD is removed and my FS looks like:

devid 19 size 12.73TiB used 12.01TiB path /dev/sda
devid 20 size 12.73TiB used 12.01TiB path /dev/sdf
*** Some devices missing

Should I try to btrfs device delete missing /mnt2/mount ?
The faulty device wasn’t replaced I just removed it from the pool and the disk is also deleted from “disks”.

The FS usage looks like:

btrfs filesystem usage /mnt2/mount

WARNING: RAID56 detected, not implemented
WARNING: RAID56 detected, not implemented
WARNING: RAID56 detected, not implemented
Overall:
Device size: 172.83TiB
Device allocated: 0.00B
Device unallocated: 172.83TiB
Device missing: 7.28TiB
Used: 0.00B
Free (estimated): 0.00B (min: 8.00EiB)
Data ratio: 0.00
Metadata ratio: 0.00
Global reserve: 512.00MiB (used: 0.00B)

Data,RAID6: Size:137.86TiB, Used:135.36TiB
/dev/sda 12.00TiB
/dev/sdb 12.00TiB
/dev/sdd 12.00TiB
/dev/sde 12.00TiB
/dev/sdf 12.00TiB
/dev/sdg 7.26TiB
/dev/sdh 7.26TiB
/dev/sdi 7.26TiB
/dev/sdj 7.26TiB
/dev/sdk 7.26TiB
/dev/sdl 7.26TiB
/dev/sdm 7.26TiB
/dev/sdn 7.26TiB
/dev/sdo 7.26TiB
/dev/sdp 7.26TiB
/dev/sdq 7.26TiB
/dev/sdr 7.26TiB
/dev/sds 7.26TiB
/dev/sdt 7.26TiB
missing 6.67TiB

Metadata,RAID6: Size:153.79GiB, Used:149.60GiB
/dev/sda 9.97GiB
/dev/sdb 9.97GiB
/dev/sdd 9.97GiB
/dev/sde 9.97GiB
/dev/sdf 9.97GiB
/dev/sdg 9.38GiB
/dev/sdh 9.38GiB
/dev/sdi 9.38GiB
/dev/sdj 9.38GiB
/dev/sdk 9.38GiB
/dev/sdl 9.38GiB
/dev/sdm 9.38GiB
/dev/sdn 9.38GiB
/dev/sdo 9.38GiB
/dev/sdp 9.38GiB
/dev/sdq 9.38GiB
/dev/sdr 9.38GiB
/dev/sds 9.38GiB
/dev/sdt 9.38GiB
missing 8.63GiB

System,RAID6: Size:13.81MiB, Used:10.97MiB
/dev/sdg 1.06MiB
/dev/sdh 1.06MiB
/dev/sdi 1.06MiB
/dev/sdj 1.06MiB
/dev/sdk 1.06MiB
/dev/sdl 1.06MiB
/dev/sdm 1.06MiB
/dev/sdn 1.06MiB
/dev/sdo 1.06MiB
/dev/sdp 1.06MiB
/dev/sdq 1.06MiB
/dev/sdr 1.06MiB
/dev/sds 1.06MiB
/dev/sdt 1.06MiB
missing 1.06MiB

Unallocated:
/dev/sda 736.16GiB
/dev/sdb 736.16GiB
/dev/sdd 736.16GiB
/dev/sde 736.16GiB
/dev/sdf 736.16GiB
/dev/sdg 8.31GiB
/dev/sdh 8.31GiB
/dev/sdi 8.31GiB
/dev/sdj 8.31GiB
/dev/sdk 8.31GiB
/dev/sdl 8.31GiB
/dev/sdm 8.31GiB
/dev/sdn 8.31GiB
/dev/sdo 8.31GiB
/dev/sdp 8.31GiB
/dev/sdq 8.31GiB
/dev/sdr 8.31GiB
/dev/sds 8.31GiB
/dev/sdt 8.31GiB
missing 616.87GiB

@shocker Re:

So that’s god to know. Have you disable quotas again, that’s usually the main slow down. Also note that the parity raids are rather slow, especially on the repair side of things.

Given your report indicates missing disks I’m assuming you must have mounted degraded. And the Web-UI should be giving you pointers on how to do the delete missing. But yes you do really need to get the pool into a non device missing state, either through the Web-UI or command line. This would have been best done prior to initiating a balance however. And given it’s potentially poorly until there are no missing devs and you are likely mounted degraded you need to stick to one thing at a time.

Let us know how it goes. I’d be tempted to cancel the balance and wait until it’s confirmed as not running and then disable quotas, then remove the missing device from command or Web-UI and this in turn will kick off a kind of internal balance which will not show (or at least didn’t use to) in a balance status request. Although in some situations the Web-UI can indicate this but the btrfs balance status didn’t use to indicate it. Haven’t tried it recently.

Let us know how you get on. But do remember such things as the following output at the command line:

Are further indicators that the btrfs parity levels have a little way to go. Although I did see a proposed fix for this particular short fall on the btrfs mailing list more recently so maybe that will arrive in good time via our upstream kernel updates.

So in short one thing at a time and get quota turned off if they arn’t off already. And give each thing a change to properly settle before moving on. But prime directive is to get to a no missing devices as otherwise you are dependant on a degraded mount which is exclusively for repair procedures and balance is not that, unless initiated internally via a dev delete, and again that type of balance at least fairly recently didn’t use to show up at all other than by watching space move around and having a device indicated as zero size: that’s how our ‘internal’ balance indicator works within the Web-UI.

Hope that helps.

1 Like

Indeed the quotas are enabled again :slight_smile:
I have already canceled the balance and I will give it a try to delete to see if this will not freeze the system anymore. I’m waiting for the maintenance hours to play with and I’ll use the gui as this way we can also test the functionality :slight_smile:

Thanks!

Quick question any idea about the application activation via the appman? I have changed it on the appman but the gui is keep asking to activate. Do i need to do something else?

1 Like