今日の朝、再起動するとファイル共用ができない現象が起こりました。
昨年暮れに購入した東芝の液晶テレビREGZAの録音用のLAN-HDとして、XPのファイル共用を使用していますが、HDエラーで急に録音できなくなったのです。再生を試みましたが、接続できませんでせん。
そこでシステムのイベントログを見てみると、
「サーバーの構成パラメータ "irpstacksize" が小さすぎるため、サーバーはローカル デバイスを使用できません。このパラメータの値を大きくしてください。」のログがアクセスごとに出力されていました。
(1)ローカルディスクではアクセスできます。
(2)ネットワークのファイル共用ができません。
=>XPではファイル共用は、サーバの機能として動作しているようです。このサーバがローカルディスク(ファイル共用しているディスクです)をアクセスできないのです。
イベントログから詳細を検索すると
=============
Explanation
The server is configured with too many file system filter drivers (for example, Quota and anti-virus) and/or too many devices, or the irpstacksize parameter is set to less than the default of 15 stack frames. The irpstacksize represents the number of kernel modules that can store information in the input/output (I/O) Request Packet (IRP). The IRP is used to track I/O requests in the kernel.
User Action
The irpstacksize parameter can be increased by changing the registry value.
To change the registry value
Using Regedit, open the following registry key:
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\IrpStackSize
In the Value data box, type 15.
The default size is 15 stack frames. Each stack frame is 50 bytes. If the value is less than 15, advanced users can safely set it back to 15. If 15 is too small, try increasing the number by increments of 5 until this event is no longer logged. Changing this registry key requires a restart of the Server service.
==============
何もしていないのに何故急にこの様な現象が発生するのか解せないのですが、インターネットを検索しているとノートンアンチウィルスをインストールすると(自動アップデートでもか?)、
IrpStackSize=11に設定するとの情報がありました。もしかすると、再起動の時に、おかしな更新があった可能性があります。
しかし、この値を20,30,50(MAXは50のようです)に変更したのですが、現象は改善しませんでした。
IrpStackSizeの値は定義されていませんので、Dwordを確保し、名前をIrpStackSize、値を 20 とかに設定して、PCの再起動となります。
ノートンアンチウィルスのサービスと止めたり、機器をはずしたりいろいろ模索したのですが、改善できませんでした。 あきらめかけていた時に、レジストリの設定をみていると、設定したレジストリが
LanmanWorkstation
になっていました。
LanmanServer
に変更して、半信半疑で、再起動すると==>ネットワークでファイル共用ができるようになりました
ほんと、symantecはたまにこのようなことをするのでうすよね! 憎たらしいです
昨年末から、 REGZAのLAN-HD設定でいろいろ試していましたが、これで解決のようです。
あと1つ、Hitachi HDの省電力設定です。