<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Tue, Nov 11, 2014, at 07:41 PM, 袁盛东 wrote:<br></div>
<blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello everyone:<br></div>
<div> I use a hard disk as a storage node ,for example: tahoe in /storage folder,then mount /dev/sdb1 /storage ,then start the node I can see a green node in the web page,then I pull the hard disk to simulate the hard disk is broken down.but on the web page,I still see the node is green ,I want it turn red immediately to show the disk is broken down ,How can I do ? <br></div>
</div>
</blockquote><div> </div>
<div>By "disk is broken down" do you mean if the hard disk is failing or is powered down? If you want to see if the disk is failing, on GNU/Linux, the SMART monitoring tools package can help. On a Debian system, you can install it this way:<br></div>
<div> </div>
<div>apt-get install smartmontools<br></div>
<div> </div>
<div>and try looking at the the smartctl(8) man page.<br></div>
<div> </div>
<div>HTH,<br></div>
<div>--<br></div>
<div> Ramakrishnan<br></div>
<div> <a href="https://rkrishnan.org/">https://rkrishnan.org/</a><br></div>
<div> </div>
</body>
</html>