June 15, 201214 yr Author Hey there, the array is stable now just one disk not added needs to be precleared. I have to add the disk as new and there is no recovery for the disk so I thought may as well just upgrade to V5 and then add the new disk. Hardware is only three disks, parity and cache with a Gigabyte board so no sata cards or anything just yet.
June 23, 201214 yr Author Hi all, I added the disk and all was well for a while after it was formatted and re addded but.... The disk has now come up flashing red and looking in unmenu it reports it as "DISK_DSBL". I can still access and browse the disk over the network but it is not online from what i can see. Any ideas?
June 23, 201214 yr Author I have looked in the syslog and its full of this - Jun 23 11:28:25 Server kernel: mdcmd (45339): spindown 3 Jun 23 11:28:35 Server emhttp: mdcmd: write: Read-only file system Jun 23 11:28:35 Server kernel: mdcmd (45340): spindown 3 Jun 23 11:28:45 Server emhttp: mdcmd: write: Read-only file system Jun 23 11:28:45 Server kernel: mdcmd (45341): spindown 3
June 23, 201214 yr A write failed to the disk and is now being simulated by the parity and other data drive. Post a smart test. Check your cabling. It will have to be rebuilt to make it green /write enabled. Cant look at the syslog now... Does it contain crc or media errors?
June 23, 201214 yr A write failed to the disk and is now being simulated by the parity and other data drive. Post a smart test. Check your cabling. It will have to be rebuilt to make it green /write enabled. Cant look at the syslog now... Does it contain crc or media errors? In addition, one of your file systems is corrupted and is now been marked as read-only to prevent further corruption. Just re-constructing it onto a replacement disk will fix the red-indicator, but not the corrupted file-system causing it to be marked as read-only. You must run reiserfsck on the specific file-system to fix it before it will be writable again. (and also deal with the fact that a write to the disk failed, so A. the corrupt file-system must be re-constructed onto a replacement disk, then fixed using reiserfsck, OR B. the simulated file-system fixed using reiserfsck, and then re-constructed onto a replacement disk. (your choice)
July 6, 201213 yr Author Cheers all, I have managed to get all the data of the disk and I am going to shutdown the array shortyl and run the command you suggested. How long does the reiserfsck command take to run and complete as I don't want the box to be down for to long?
July 6, 201213 yr Author Ok so there is nothing on the drive as I took it all off.... I ran the commands as shown on the wiki and this is what it tells me - ########### reiserfsck --check started at Sat Jul 7 08:31:56 2012 ########### Replaying journal: Done. Reiserfs journal '/dev/md3' in blocks [18..8211]: 0 transactions replayed Checking internal tree.. finished Comparing bitmaps..finished Checking Semantic tree: finished No corruptions found There are on the filesystem: Leaves 1 Internal nodes 0 Directories 3 Other files 0 Data block pointers 0 (0 of them are zero) Safe links 0 So I am guessing the disk is ok and I should do the following to get the drive back - 1) Stop the arrray 2) Unassign the disk from the array 3) Pre clear the disk 4) Re add it back to the array I am thinking in everything that happened the best bet is to just pre clear and give it a fresh start?? Could be wrong though!!
July 6, 201213 yr Unless you set a new configuration without the disk assigned, the array will assume you want it reconstructed. Your steps as shown will put you back exactly as you are now. If you set a new initial configuration and rebuild parity without the disk assigned, adding it back will then add it as a new drive with the option to format it. You will be without parity protection during that process. You could theoretically run the preclear on the drive at the same time parity protection is being rebuilt.
July 7, 201213 yr Author Cheers for the info I have done as you suggested... Parity is rebuilding and then ill do a pre clear and then will add it back into the array and fingers crossed all this is just a distant memory......
Archived
This topic is now archived and is closed to further replies.