以下の内容はhttps://narolll.hateblo.jp/entry/20251114/1763070612より取得しました。


Truenas Scale 25.10でのSMB、Samba不具合の件 続報

※試してみました

指定通りのファイルを解凍して

下に貼った通りのコマンドでパッチ充て

で、samba再起動でいけました

正常に表示できる事も確認

 

 

こちらの話の続きです。

narolll.hateblo.jp

 

原因は判明した模様

SMB2 query directory with SMB_REOPEN flag is broken

https://ixsystems.atlassian.net/browse/NAS-138259

 

 

25.10アルファでSMBのコードの最適化を施したら
ディレクトリの構造を忘れるようになっちゃっていたよ。

 

現状でバグ回避する手段は無いので
○前のバージョンに戻す
○Hotfixのリリースを待つ
○Sambaにパッチを充てる

このどれかしかないよ。

 

こんな感じ。
アルファ版で気付かなかったのかなとか思ったり。

 

 

ちなみにパッチは上に貼ったリンク先に『WIP_DIR_FIX』という
ファイルが挙がっています。

 

適用方法は以下の通りです。
コマンド必須なのでボタンぽちーでは解決しません。
以下の説明で分かる方だけどうぞ。
一応Hotfixに適用させる最終バージョンのファイルの様です。
ちなみに自分はまだ試していません。


I have uploaded a zip file WIP_DIR_FIX that contains two .deb files inside it
 (a replacement samba package and its debug symbols).

Feedback would be appreciated. Note that this requires changing the base OS settings 
(and will be basically replaced on next upgrade). su to root account and then

 

* run command /usr/local/libexec/disable-rootfs-protection

 (this makes root filesystem rw and allows running dpkg)
* run command dpkg -i truenas-samba_4.22.3+ix-1_amd64.deb
* restart smb server

 

NOTE: this is an package for 25.10.0 (not 25.04.x and not later truenas version)
NOTE2 (11/13/25): I replaced WIP_DIR_FIX.zip with a new version containing

 the final fix that will go in the hotfix release.

 

 

不便ではありますが全く使用出来ない訳でもないので

Hotfix待ちが賢明かもしれませんね。

 




以上の内容はhttps://narolll.hateblo.jp/entry/20251114/1763070612より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14