rcffp stop
rcffp disable
loadsave_settings -sf
reboot
As for the log, I could create it on md0 and attached.
Now I have degraded and RO disks so I will manually run fsck.ext2 -fy /mnt/md1 and also on /mnt/sdb4. Next I am planning to reboot. If all goes well the next I would like to do is to convert the ext2 to ext4 and destroy Raid1 and JBOD and just have two standard ext4 disks. What order do you recommend doing it?
Current disks status
Many thanks in advance, I really appreciate your help.
Csaba
Hi Joao, thank you so much for you reply! You are right I had in the Dlink firmware time ffp and fun_plug installed, but before the upgrade I have renamed them to ffp.orig and fun_plug.orig.
Feb 1 19:03:22 DNS-323-EAB29D user.notice hot_aux: ffp directory found in md0
Feb 1 18:37:22 DNS-323-EAB29D daemon.crit smartd[3186]: Device: /dev/sdb [SAT], 1464 Currently unreadable (pending) sectorsFeb 1 18:37:22 DNS-323-EAB29D daemon.crit smartd[3186]: Device: /dev/sdb [SAT], 142 Offline uncorrectable sectors
I cannot remove them from the WebUI. I have executed the commands you suggested and so far it did not block my connection to the box :), I am already happy!!! here is the screenshot:As for the log, I could create it on md0 and attached.
Now I have degraded and RO disks so I will manually run fsck.ext2 -fy /mnt/md1 and also on /mnt/sdb4.
Next I am planning to reboot. If all goes well the next I would like to do is to convert the ext2 to ext4 and destroy Raid1 and JBOD and just have two standard ext4 disks. What order do you recommend doing it?
Hi Joao,
Thank you for your precise answer and description. I have done many things ever since my last message on the box.- YOU and the logs are absolutely right, after installing Alt-f, I have renamed back the ffp from ffp.orig which was a mistake and I thought it was only needed until the migration is done.- rcffp disable was the key as afterwards I had no more connection issues and I could start doing the disk troubleshooting. So big thank you here!!!- since I had a degraded Raid1 and a RO md1 and RO sdb4 I did the following:- I was able to fix md1 unmounting and run a fsck -fy /dev/md1- I did the same for sdb4, it gave me a lot of errors, but at the end it become RW- setting back the Raid1 was the most difficult, I did the following here:- under Disk/Raid I have selected sdb2 (this was the failing part of the raid1) under Component Options and put it to "fail"- I could not do much with it so I selected "clear" as a next step - now it disappeared from Component Options partitions- from command prompt run fsck -fy /dev/sdb2 and could mount the drive, still didn't know what do at this point as it did not appeared as sdb2 under Disk/Raid and I could not figure how to partition it back- this time I was able to see full content of md0 and md1 data, so did the backup quickly - all my data are saved!!! you are right there is basically nothing under sdb4 and sda4. All data that was only on DNS 323 now backed up!- used the command mdadm --add /dev/md0 /dev/sdb2 it added back the missing part of the Raid1 and started a long about 2.5 hours process to rebuild the raid1 partition. It has gone through successfully- I have rebooted the system and now I have an error free healthy system!!!!As you mentioned these disks might need some maintenance, so my plan is to reformat them and create 2 standard ext4 disks. Please note that I will only use this box as a backup for a Qnap NAS, so for simplicity I will just use standard disks, unless you say it is not a wise idea. I will place it to a remote location as a backup nas.Now I am here to start the disk maintenance and set up the box as new. Do you think if I go to Disk/Wizard and select "One big filesystem per disk, for easy management (standard)" and ext4is the only thing I should do? Will it reformat and do everything for me?? What is your recommendation in regards to setting up the box as new and the formats (RAIDx, standard disk, etc) and also ext3 ot 4?
9 Power_On_Hours 0x0032 027 027 000 Old_age Always - 53509
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 1263786
197 Current_Pending_Sector 0x0032 192 192 000 Old_age Always - 1464
198 Offline_Uncorrectable 0x0030 200 199 000 Old_age Offline - 142
I am planning to run:#badblocks -wsv -o /mnt/PENDRM-5LYV/sdb_badblocks.log /dev/sdbit will wipe my sdb drive and send the sdb_badblocks.log to the connected pendrive. When its done, in about a day. I could go to Disk/Wizard and select "One big filesystem per disk, for easy management (standard)" and ext4 to re-image the disks. sda looks ok I am not planning to run the badblocks on it.Would you agree on the above steps?
The smart test shows that the drives are pretty old, 53509 hours, or about 6 years on 24/7 usage9 Power_On_Hours 0x0032 027 027 000 Old_age Always - 53509and193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 1263786is also very low, meaning that you probably have a very low spindown timeout, which made the disk heads to retract too often. That is of concern.The197 Current_Pending_Sector 0x0032 192 192 000 Old_age Always - 1464is not that bad, but significative, and198 Offline_Uncorrectable 0x0030 200 199 000 Old_age Offline - 142
also.The test stopped by a "read failure", on LBA (512 bytes sector) 1990397, near the disk end, so you might want to start badblock a little before that zone first(*), to see if the drive will remap those sectors. If that isn't possible, the better is to throw the disk away. Afterwards a new smart long test (which is *much* faster than badblocks).Of course, it is possible to collect a list of all badblocks and pass it to mkfs (or run badblock directly from mkfs), but that would imply that no new badblocks would develop in the future.(*) use "badblocks -other-options last-block first-block" to do that, but I think that you should use '-b 512' in this case to have a LBA (smart) sector/block (badblocks) correspondence. Or use a bigger badblock block size, which is faster, and made the necessary LBA adjustments.
executed this command:#badblocks -wsv -f -s -b 512 -o /mnt/PENDRM-5LYV/sdb_badblocks.log /dev/sdb 2000000 1700000