<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 05/27/2011 08:28 AM, John Doe wrote:
<blockquote cite="mid:541748.52048.qm@web114713.mail.gq1.yahoo.com"
type="cite">
<pre wrap="">From: Steve Clark <a class="moz-txt-link-rfc2396E" href="mailto:sclark@netwolves.com"><sclark@netwolves.com></a>
</pre>
<blockquote type="cite">
<pre wrap="">On 05/27/2011 05:29 AM, John Doe wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Test = <a class="moz-txt-link-freetext" href="https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking">https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking</a> Tested on Fedora (15) and it worked.
</pre>
</blockquote>
<pre wrap="">Hmmm.... How do you determine whether TRIM worked or not?
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
Thanks,<br>
<br>
Unfortunately when I try it on SL 6.0 hdparm gets a segment
violation on the --read-sector command.<br>
hdparm-9.16-3.4.el6.i686<br>
[root@Z764041 ~]# hdparm --fibmap tempfile<br>
<br>
tempfile: underlying filesystem: blocksize 4096, begins at LBA
1600008; assuming 512 byte sectors<br>
byte_offset begin_LBA end_LBA sectors<br>
0 4495880 4496903 1024<br>
524288 4554248 4557319 3072<br>
2097152 4524552 4536839 12288<br>
8388608 4565512 4651527 86016<br>
[root@Z764041 ~]# hdparm --read-sector 4495880 /dev/sda<br>
<br>
/dev/sda:<br>
Segmentation fault<br>
<br>
<br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves</b><br>
Sr. Software Engineer III<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>