<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3272151957025671982</id><updated>2011-12-27T22:04:20.186-08:00</updated><category term='automate'/><category term='purge'/><category term='RAID5'/><category term='rescan'/><category term='binary logs'/><category term='mysql'/><category term='python'/><category term='tw_cli'/><category term='replication'/><category term='maint'/><category term='administration'/><title type='text'>Lets talk Technical!</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://umangg.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://umangg.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Umang Gopani</name><uri>http://www.blogger.com/profile/08510828055027124010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3272151957025671982.post-3568692196229861809</id><published>2010-02-10T14:59:00.000-08:00</published><updated>2010-02-10T16:31:46.643-08:00</updated><title type='text'>innodb_file_per_table</title><content type='html'>Recently I attempted to use this parameter in one of our InnoDB table and had an experience to make a note of.&lt;br&gt;&lt;br /&gt; So this is what actually happened.&lt;br /&gt;&lt;p&gt;As we know InnoDB writes all the table information into one tablespace file ibdata1.&lt;br /&gt;Obviously this lead to a disk space issue, since the ibdata1 file grew to 90G+ and it was not possible to defragment tablespace using the Alter method (Infact is is hardly possible to do in a production environment, since it leads to a huge downtime.)&lt;br&gt;&lt;br /&gt;So I decided to go for &lt;em&gt;innodb_file_per_table&lt;/em&gt; on our other production database server which was being configured from scratch.&lt;br&gt;&lt;br /&gt;Now this database had around 15 tables and it had very high inserts/deletes/updates. For few days, things went ok. But in few days, I started getting complains from development team regarding performance on the tables and queue being backed up. Apparently whenever a delete / update was made on a table, all the other tables slow down and queries started taking more than 4 to 5 secs to complete.&lt;br&gt;&lt;br /&gt;Dug around, ran some more optimisations , flush tables but not much difference. I was able to get 660 to 661 qps tops.&lt;br&gt;&lt;br /&gt;On digging further and discussing with developers, we figured out that innodb_file_per_table is the culprit.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;InnoDB uses &lt;em&gt;fsync()&lt;/em&gt; instead of &lt;em&gt;fdatasync()&lt;/em&gt; to flush both data and log files on non-Windows system. fdatasync() is like fsync(), except it flushes only files data, not its metadata (last modified time etc.). Therefor fsync() can cause more IO. &lt;br&gt;&lt;br /&gt;&lt;em&gt;innodb_file_per_table&lt;/em&gt; causes each file to be fsync()ed separately which means writes to multiple tables can't be combined into a single IO operation. This requires InnoDB to perform higher total number of &lt;em&gt;fsync()&lt;/em&gt; operations, leading to a IO contention in my case. &lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Finally we had to migrate the database to another machine without innodb_file_per_table since it is also not possible to undo the existing tables for which files are created per table.&lt;br&gt;&lt;br /&gt;As quoted in MySQL documentation : &lt;p&gt;&lt;br /&gt;&lt;code&gt;The  --innodb_file_per_table option affects only table creation, not access to existing tables. If you start the server with this option, new tables are created using .ibd files, but you can still access tables that exist in the shared tablespace. If you start the server without this option, new tables are created in the shared tablespace, but you can still access any tables that were created using multiple tablespaces.&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;Once we migrated the performance started going up , almost upto 1500 qps.&lt;br&gt;&lt;br /&gt;So moral of the story : Better test the  parameter &lt;em&gt; innodb_file_per_table &lt;/em&gt; in a test environment, with the load higher than expected on production. I have read many blogs and many people are benefited by the use of this parametere, but as a general practice I would not favor its use. Sure it can be useful to reclaim some disk space, but I dont think it would be worth at the cost of performance. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3272151957025671982-3568692196229861809?l=umangg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umangg.blogspot.com/feeds/3568692196229861809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://umangg.blogspot.com/2010/02/innodbfilepertable.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/3568692196229861809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/3568692196229861809'/><link rel='alternate' type='text/html' href='http://umangg.blogspot.com/2010/02/innodbfilepertable.html' title='innodb_file_per_table'/><author><name>Umang Gopani</name><uri>http://www.blogger.com/profile/08510828055027124010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3272151957025671982.post-5084442369049898087</id><published>2010-01-12T13:38:00.000-08:00</published><updated>2010-01-12T15:19:24.330-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='purge'/><category scheme='http://www.blogger.com/atom/ns#' term='replication'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='binary logs'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><category scheme='http://www.blogger.com/atom/ns#' term='automate'/><title type='text'>Purging binary logs.</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Being a MySQL DBA , one faces a common issue in replication environment -&gt; Disk space issue on master, since the number of binary logs have increased.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Now, one of the solution to this would be using &lt;/span&gt;&lt;i&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;expire_logs_days &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;parameter in your mysql config file. &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;  But what if, the slave is lagging by few hours or if the slave is broken since few days and the binary logs are removed due to the parameter set. Whenever the salve comes up, it will go bonkers, knowing that the binary log where it last stopped no more exists.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;I faced this issue a couple of times until I decided to automate it using a script. Herewith I am attaching the URL to my python script which can run regularly in cron.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Features : &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Checks the slaves connected to the master (I have limit it to 3 for now.)&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Checks the last binary log file which is being used by the slave.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;All the binary logs until the last bin log used by slave are purged.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;If a slave is not connected, purging is aborted, so that important bin logs are not purged.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You can download this script from &lt;/span&gt;&lt;a href="http://code.activestate.com/recipes/577004/"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tips and Warnings to use this script&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Test a couple of times, different test cases, before using this script on critical or production databases.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;It is advisable to take backup of data before running this script.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You can send the output of this script to syslog or to different mail addresses.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You can embed into you alerting system, so that whenever there is a disk space warning on the machine, this scrip is fired. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3272151957025671982-5084442369049898087?l=umangg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umangg.blogspot.com/feeds/5084442369049898087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://umangg.blogspot.com/2010/01/purging-binary-logs.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/5084442369049898087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/5084442369049898087'/><link rel='alternate' type='text/html' href='http://umangg.blogspot.com/2010/01/purging-binary-logs.html' title='Purging binary logs.'/><author><name>Umang Gopani</name><uri>http://www.blogger.com/profile/08510828055027124010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3272151957025671982.post-7416319517743049309</id><published>2009-10-21T13:08:00.000-07:00</published><updated>2009-10-21T15:22:08.937-07:00</updated><title type='text'>MySQL Cluster : Errors faced while importing data</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Here is the list of errors I have faced while importing a 25G .sql file into my cluster setup.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;This is a test setup and to get maximum RAM availability, I have 3 data nodes and 1 Management node with replication factor of 1. The solutions provided are the ones which helped me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. ERROR 1297 (HY000) at line 1872: Got temporary error 410 'REDO log files overloaded, consult online manual (decrease TimeBetweenLocalCheckpoints, and|or incre' from NDBCLUSTER&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; : Modify / Add parameter TimeBetweenLocalCheckpoints in your config.ini.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style:italic;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value = 20&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;Changed it to &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style:italic;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;TimeBetweenLocalCheckpoints =6&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Setting &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-style: italic; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;TimeBetweenLocalCheckpoints &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;to 6 or less means that local checkpoints will be executed continuously without pause, independent of the cluster's workload.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;2.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ERROR 1297 (HY000) at line 1443: Got temporary error 1220 'REDO log files overloaded, consult online manual (increase FragmentLogFileSize)' from NDBCLUSTER&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; Modify / Add parameter FragmentLogFileSize in your config.ini.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value = 16M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Changed it to FragmentLogFileSize=256M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Setting this parameter allows you to control directly the size of the redo log files. This can be useful in situations when MySQL Cluster is operating under a high load and it is unable to close fragment log files quickly enough before attempting to open new ones. Increasing the size of the fragment log files gives the cluster more time before having to open each new fragment log file.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;. ERROR 1297 (HY000) at line 1826: Got temporary error 1221 'REDO buffers overloaded, consult online manual (increase RedoBuffer)' from NDBCLUSTER&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Modify / Add parameter RedoBuffer in your config.ini.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value = 8M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Changed5 it to RedoBuffer=128M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;All update activities also need to be logged. The REDO log makes it possible to replay these updates whenever the system is restarted. RedoBuffer sets the size of the buffer in which REDO log is written.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;4.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ERROR 1297 (HY000) at line 7064: Got temporary error 233 'Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Modify / Add parameter MaxNoOfConcurrentOperations in your config.ini&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value=32K&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Changed it to MaxNoOfConcurrentOperations=1M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;It is a good idea to adjust the value of this parameter according to the size and number of transactions.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;5.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ERROR 1114 (HY000) at line 8820: The table 'table_1' is full&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Modify the parameter DataMemory in your config.ini&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value: 80M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Changed it to DataMemory=14G &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;This parameter defines the amount of space (in bytes) available for storing database records. The entire amount specified by this value is allocated in memory., so it is extremely important that the machine has sufficient physical memory to accommodate it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The memory allocated by DataMemory is used to store both the actual records and indexes. There is a 16-byte overhead on each record; an additional amount for each record is incurred because it is stored in a 32KB page with 128 byte page overhead. There is also a small amount of wastage per page due to the fact that each record is stored in only one page.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;6.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ERROR 1205 (HY000) at line 10208: Lock wait timeout exceeded; try restarting transaction&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Add / modify the parameter TransactionDeadlockDetectionTimeout in config.ini&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default value = 1200 milliseconds&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Changed the value to TransactionDeadlockDetectionTimeout=15000&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The timeout parameter states how long the transaction coordinator waits for the query execution by another node before aborting the transaction and is important for both node failure handling and deadlock detection.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;7.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;ERROR 1118 (42000) at line 661: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8052. You have to change some columns to TEXT or BLOBs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; This error is generally due to the know limitation in MySQL Cluster 5.1. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 25px; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;"The maximum permitted size of any one row is 8KB." . &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 25px; "&gt;&lt;span class="Apple-style-span" style="line-height: normal; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;The work around for this is modify the table schema so that large varchar values are changed to text&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;8.&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; ERROR 1005 (HY000): Can't create table 'DB1.Table_5' (errno: 136)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Solution: &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Errno: 136 refers to index file being full. Parameter that can be modified here is &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 25px; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt; MaxNoOfOrderedIndexes.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 25px; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;Default Value=128. Change it to something higher based on the size mentioned by running ndb_size.pl. In my case it is 263.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 25px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 25px;"&gt;References: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 25px;"&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-ndbd-definition.html"&gt;Mysql Cluster Document&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3272151957025671982-7416319517743049309?l=umangg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umangg.blogspot.com/feeds/7416319517743049309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://umangg.blogspot.com/2009/10/mysql-cluster-errors-faced-while.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/7416319517743049309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/7416319517743049309'/><link rel='alternate' type='text/html' href='http://umangg.blogspot.com/2009/10/mysql-cluster-errors-faced-while.html' title='MySQL Cluster : Errors faced while importing data'/><author><name>Umang Gopani</name><uri>http://www.blogger.com/profile/08510828055027124010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3272151957025671982.post-707859612589150702</id><published>2009-04-02T17:05:00.000-07:00</published><updated>2009-04-02T17:36:43.703-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RAID5'/><category scheme='http://www.blogger.com/atom/ns#' term='rescan'/><category scheme='http://www.blogger.com/atom/ns#' term='tw_cli'/><category scheme='http://www.blogger.com/atom/ns#' term='maint'/><title type='text'>Replacing a RAID 5 disk with an old already RAID(any level) configured disk.</title><content type='html'>In this use case.&lt;br /&gt;We have a RAID 5 configuration and c1 p5 has been Degraded&lt;br /&gt;&lt;br /&gt;//umang&gt; maint remove c1 p5&lt;br /&gt;&lt;pre class="wiki"&gt;Exporting port /c1/p5.... Done.&lt;br /&gt;&lt;/pre&gt;After replacing the disk with a new disk (It was an already used disk with RAID 1 configured on it) following was found&lt;br /&gt;&lt;br /&gt;&lt;pre class="wiki"&gt;//umang&gt; info c1&lt;br /&gt;&lt;br /&gt;Unit     UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC&lt;br /&gt;------------------------------------------------------------------------------&lt;br /&gt;u0    RAID-5    OK             -      64K     1117.56   ON     OFF      OFF&lt;br /&gt;u1    RAID-5    DEGRADED       -      64K     1117.56   OFF    OFF      OFF&lt;br /&gt;u2    RAID-1    DEGRADED       -      -       372.519   OFF    OFF      OFF&lt;br /&gt;&lt;br /&gt;Port   Status           Unit   Size        Blocks        Serial&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;p0     OK               u0     372.61 GB   781422768     WD-WMAMY1329898&lt;br /&gt;p1     OK               u0     372.61 GB   781422768     WD-WMAMY1329877&lt;br /&gt;p2     OK               u0     372.61 GB   781422768     WD-WMAMY1370633&lt;br /&gt;p3     OK               u0     372.61 GB   781422768     WD-WMAMY1329586&lt;br /&gt;p4     OK               u1     372.61 GB   781422768     WD-WMAMY1367924&lt;br /&gt;p5     OK               u2     372.61 GB   781422768     WD-WMAMY1211759&lt;br /&gt;p6     OK               u1     372.61 GB   781422768     WD-WMAMY1465371&lt;br /&gt;p7     OK               u1     372.61 GB   781422768     WD-WMAMY1369106&lt;br /&gt;&lt;br /&gt;Name  OnlineState  BBUReady  Status    Volt     Temp     Hours  LastCapTest&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;bbu   On           Yes       OK        OK       OK       0      xx-xxx-xxxx&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;*** Notice that c1 p5 has a new unit u2 and instead of Unit u0 and u1 , now you can see three units u0, u1, u2 (Raid 1) out of which u1 and u2 are degraded.&lt;br /&gt;This is because the new replaced disk already has RAID 1 configured on it before.&lt;br /&gt;&lt;br /&gt;So we need to delete this RAID on c1 p5 (new disk)&lt;br /&gt;&lt;br /&gt;&lt;pre class="wiki"&gt;//umang&gt; /c1/u2 del&lt;br /&gt;Deleting /c1/u2 will cause the data on the unit permanently loss.&lt;br /&gt;Do you want to continue ? Y|N [N]: y&lt;br /&gt;Deleting unit c1/u2 ...Done.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And now see&lt;br /&gt;&lt;br /&gt;&lt;pre class="wiki"&gt;//umang&gt; info c1&lt;br /&gt;&lt;br /&gt;Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC&lt;br /&gt;------------------------------------------------------------------------------&lt;br /&gt;u0    RAID-5    OK             -      64K     1117.56   ON     OFF      OFF&lt;br /&gt;u1    RAID-5    DEGRADED       -      64K     1117.56   OFF    OFF      OFF&lt;br /&gt;&lt;br /&gt;Port   Status           Unit   Size        Blocks        Serial&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;p0     OK               u0     372.61 GB   781422768     WD-WMAMY1329898&lt;br /&gt;p1     OK               u0     372.61 GB   781422768     WD-WMAMY1329877&lt;br /&gt;p2     OK               u0     372.61 GB   781422768     WD-WMAMY1370633&lt;br /&gt;p3     OK               u0     372.61 GB   781422768     WD-WMAMY1329586&lt;br /&gt;p4     OK               u1     372.61 GB   781422768     WD-WMAMY1367924&lt;br /&gt;p5     OK               -      372.61 GB   781422768     WD-WMAMY1211759&lt;br /&gt;p6     OK               u1     372.61 GB   781422768     WD-WMAMY1465371&lt;br /&gt;p7     OK               u1     372.61 GB   781422768     WD-WMAMY1369106&lt;br /&gt;&lt;br /&gt;Name  OnlineState  BBUReady  Status    Volt     Temp     Hours  LastCapTest&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;bbu   On           Yes       OK        OK       OK       0      xx-xxx-xxxx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//umang&gt; /c1 rescan&lt;br /&gt;Rescanning controller /c1 for units and drives ...Done.&lt;br /&gt;Found the following unit(s): [none].&lt;br /&gt;Found the following drive(s): [/c1/p5].&lt;br /&gt;&lt;br /&gt;//umang&gt; info c1&lt;br /&gt;&lt;br /&gt;Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC&lt;br /&gt;------------------------------------------------------------------------------&lt;br /&gt;u0    RAID-5    OK             -      64K     1117.56   ON     OFF      OFF&lt;br /&gt;u1    RAID-5    DEGRADED       -      64K     1117.56   OFF    OFF      OFF&lt;br /&gt;&lt;br /&gt;Port   Status           Unit   Size        Blocks        Serial&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;p0     OK               u0     372.61 GB   781422768     WD-WMAMY1329898&lt;br /&gt;p1     OK               u0     372.61 GB   781422768     WD-WMAMY1329877&lt;br /&gt;p2     OK               u0     372.61 GB   781422768     WD-WMAMY1370633&lt;br /&gt;p3     OK               u0     372.61 GB   781422768     WD-WMAMY1329586&lt;br /&gt;p4     OK               u1     372.61 GB   781422768     WD-WMAMY1367924&lt;br /&gt;p5     OK               -      372.61 GB   781422768     WD-WMAMY1211759&lt;br /&gt;p6     OK               u1     372.61 GB   781422768     WD-WMAMY1465371&lt;br /&gt;p7     OK               u1     372.61 GB   781422768     WD-WMAMY1369106&lt;br /&gt;&lt;br /&gt;Name  OnlineState  BBUReady  Status    Volt     Temp     Hours  LastCapTest&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;bbu   On           Yes       OK        OK       OK       0      xx-xxx-xxxx&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After the rescan it will start rebuilding on its own.&lt;br /&gt;&lt;br /&gt;&lt;pre class="wiki"&gt;//umang&gt; info c1&lt;br /&gt;&lt;br /&gt;Unit  UnitType  Status         %Cmpl  Stripe  Size(GB)  Cache  AVerify  IgnECC&lt;br /&gt;------------------------------------------------------------------------------&lt;br /&gt;u0    RAID-5    OK             -      64K     1117.56   ON     OFF      OFF&lt;br /&gt;u1    RAID-5    REBUILDING     1      64K     1117.56   OFF    OFF      OFF&lt;br /&gt;&lt;br /&gt;Port   Status           Unit   Size        Blocks        Serial&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;p0     OK               u0     372.61 GB   781422768     WD-WMAMY1329898&lt;br /&gt;p1     OK               u0     372.61 GB   781422768     WD-WMAMY1329877&lt;br /&gt;p2     OK               u0     372.61 GB   781422768     WD-WMAMY1370633&lt;br /&gt;p3     OK               u0     372.61 GB   781422768     WD-WMAMY1329586&lt;br /&gt;p4     OK               u1     372.61 GB   781422768     WD-WMAMY1367924&lt;br /&gt;p5     DEGRADED         u1     372.61 GB   781422768     WD-WMAMY1211759&lt;br /&gt;p6     OK               u1     372.61 GB   781422768     WD-WMAMY1465371&lt;br /&gt;p7     OK               u1     372.61 GB   781422768     WD-WMAMY1369106&lt;br /&gt;&lt;br /&gt;Name  OnlineState  BBUReady  Status    Volt     Temp     Hours  LastCapTest&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;bbu   On           Yes       OK        OK       OK       0      xx-xxx-xxxx&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3272151957025671982-707859612589150702?l=umangg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://umangg.blogspot.com/feeds/707859612589150702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://umangg.blogspot.com/2009/04/replacing-raid-5-disk-with-old-already.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/707859612589150702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3272151957025671982/posts/default/707859612589150702'/><link rel='alternate' type='text/html' href='http://umangg.blogspot.com/2009/04/replacing-raid-5-disk-with-old-already.html' title='Replacing a RAID 5 disk with an old already RAID(any level) configured disk.'/><author><name>Umang Gopani</name><uri>http://www.blogger.com/profile/08510828055027124010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
