Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-fs/xfsprogs und experimentelle Funktionen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1924
Location: Schweiz

PostPosted: Mon Jun 25, 2018 8:58 am    Post subject: sys-fs/xfsprogs und experimentelle Funktionen Reply with quote

Heute ist mir aufgefallen das bei jedem Start ein par Dienste nicht wirklich funktionieren:
systemctl list-units --state=failed:
  UNIT                              LOAD   ACTIVE SUB    DESCRIPTION                                               
● xfs_scrub@-.service               loaded failed failed Online XFS Metadata Check for /                           
● xfs_scrub@-mnt-daten.service      loaded failed failed Online XFS Metadata Check for /mnt/daten                 
● xfs_scrub_all.service             loaded failed failed Online XFS Metadata Check for All Filesystems             
● xfs_scrub_fail@-.service          loaded failed failed Online XFS Metadata Check Failure Reporting for /         
● xfs_scrub_fail@-mnt-daten.service loaded failed failed Online XFS Metadata Check Failure Reporting for /mnt/daten

Nach einer kleinen Suche nach den Ursachen ist dann recht schnell klar geworden warum. Diese Dienste (vom Paket "sys-fs/xfsprogs" installiert) starten die Programme "xfs_scrub"/"xfs_scrub_all" welche eine experimentelle Funktion (unter "CONFIG_XFS_ONLINE_SCRUB" zu finden) verwenden die in meinem Kernel schlicht deaktiviert ist.

Ich kann jetzt natürlich hingehen und diese Dienste maskieren oder alternativ auch die experimentelle Funktion im Kernel aktivieren aber eigentlich finde ich ja das in so einem Fall ein USE-Flag wie "experimental" (das die Installation und den Check der dafür nötigen Voraussetzungen solcher Sachen steuert) beim ebuild die bessere Lösung gewesen wäre...
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Mon Jun 25, 2018 11:25 am    Post subject: Reply with quote

Da hast du sicherlich recht.

Allerdings finde ich, dass ein Feature, dass vor über einem Jahr bereits in Version 6 implementiert wurde, nicht mehr unbedingt "experimentell" genannt werden braucht...

Ich hoffe es zumindest, denn auf einer meiner neuen Partitionen mit sehr großen Dateien, wollte ich XFS mit online scrubbing feature verwenden. ;-)
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1924
Location: Schweiz

PostPosted: Mon Jun 25, 2018 11:44 am    Post subject: Reply with quote

Das "experimentell" habe ich von der "xfs_scrub_all"-Ausgabe und aus dem Hilfetext in der Kernel-Menüconfig.
xfs_scrub_all wrote:
...
EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
...

Hilfetext zu CONFIG_XFS_ONLINE_SCRUB wrote:
...
This feature is considered EXPERIMENTAL. Use with caution!
...

Aber ich habe keine Ahnung wie experimentell es im Moment wirklich ist.

Bei Version 4.16.1 von "sys-fs/xfsprogs" steht jedenfalls noch folgendes zu "xfs_scrub" in der Manpage:
Quote:
...
REPAIRS
This program currently does not support making any repairs. Corruptions can only be fixed by unmounting the filesystem and running xfs_repair.
...

Im Moment muss ich bei meinem root, für ein xfs_repair, wohl auch noch weiterhin zur Live-CD oder alternativ zum emergency.target von systemd greifen.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum