Discussion:
fmd wakeup disks in zpool
Tobias Exner
2008-11-14 09:29:54 UTC
Permalink
Hi experts,

I need a little help from your site to understand what's going on.


I've got a SUN X4540 Thumper and setup some zpools. Further I engaged
the powerd configuration to stop the disks when there are idle for a
specified time.


Now I noticed that all disks come up once in an hour due to the fmd
scanning the disks or the zpools. And here's my problem. Which module of
fmd is responsible for that? Is there a possibility to configure or stop
the regarding part of the fmd?
I read through the fmd documentation but can't find a appropriate info.

regards,

Tobias
Tarik Soydan - Sun BOS Software
2008-11-14 17:28:18 UTC
Permalink
Post by Tobias Exner
Hi experts,
I need a little help from your site to understand what's going on.
I've got a SUN X4540 Thumper and setup some zpools. Further I engaged
the powerd configuration to stop the disks when there are idle for a
specified time.
Now I noticed that all disks come up once in an hour due to the fmd
scanning the disks or the zpools. And here's my problem. Which module of
fmd is responsible for that?
Tobias,

It is probably the "disk-transport" module.
It scans the disks once an hour looking for errors I believe.
Post by Tobias Exner
Is there a possibility to configure or stop
the regarding part of the fmd?
You can try unloading the module:
"fmadm unload disk-transport"

You should also be able to configure the scan interval by adding
an entry to /usr/lib/fm/fmd/plugins/disk-transport.conf file. i.e.

setprop interval 24h

You need to restart fmd or unload/reload the module for this to take effect.

-tarik
Post by Tobias Exner
I read through the fmd documentation but can't find a appropriate info.
regards,
Tobias
_______________________________________________
fm-discuss mailing list
Tobias Exner
2008-11-17 13:52:38 UTC
Permalink
Tarik,

thank you.

I did some tests and that's the solution..

regards,

Tobias Exner
Post by Tarik Soydan - Sun BOS Software
Post by Tobias Exner
Hi experts,
I need a little help from your site to understand what's going on.
I've got a SUN X4540 Thumper and setup some zpools. Further I engaged
the powerd configuration to stop the disks when there are idle for a
specified time.
Now I noticed that all disks come up once in an hour due to the fmd
scanning the disks or the zpools. And here's my problem. Which module
of fmd is responsible for that?
Tobias,
It is probably the "disk-transport" module.
It scans the disks once an hour looking for errors I believe.
Post by Tobias Exner
Is there a possibility to configure or stop the regarding part of the
fmd?
"fmadm unload disk-transport"
You should also be able to configure the scan interval by adding
an entry to /usr/lib/fm/fmd/plugins/disk-transport.conf file. i.e.
setprop interval 24h
You need to restart fmd or unload/reload the module for this to take effect.
-tarik
Post by Tobias Exner
I read through the fmd documentation but can't find a appropriate info.
regards,
Tobias
_______________________________________________
fm-discuss mailing list
David Zhang
2008-11-17 15:18:48 UTC
Permalink
Post by Tobias Exner
Tarik,
thank you.
I did some tests and that's the solution..
regards,
Tobias Exner
Post by Tarik Soydan - Sun BOS Software
Post by Tobias Exner
Hi experts,
I need a little help from your site to understand what's going on.
I've got a SUN X4540 Thumper and setup some zpools. Further I engaged
the powerd configuration to stop the disks when there are idle for a
specified time.
Now I noticed that all disks come up once in an hour due to the fmd
scanning the disks or the zpools. And here's my problem. Which module
of fmd is responsible for that?
Tobias,
It is probably the "disk-transport" module.
It scans the disks once an hour looking for errors I believe.
Hi Tarik,

I have a question for ZFS power management project. We may need to
bypass the scan when the disk is already in low power state in case of
race condition between ZFS power off and disk-transport power on.

David
Post by Tobias Exner
Post by Tarik Soydan - Sun BOS Software
Post by Tobias Exner
Is there a possibility to configure or stop the regarding part of the
fmd?
"fmadm unload disk-transport"
You should also be able to configure the scan interval by adding
an entry to /usr/lib/fm/fmd/plugins/disk-transport.conf file. i.e.
setprop interval 24h
You need to restart fmd or unload/reload the module for this to take effect.
-tarik
Post by Tobias Exner
I read through the fmd documentation but can't find a appropriate info.
regards,
Tobias
_______________________________________________
fm-discuss mailing list
_______________________________________________
fm-discuss mailing list
Loading...