• February 23, 2025, 10:21:53 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 [2]

Author Topic: SMART report question  (Read 14086 times)

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: SMART report question
« Reply #15 on: November 06, 2010, 06:22:35 PM »

I think I'm out of ideas here.  My take would be to remove the drive and connect it to a PC and recover the data before doing anything else. :)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

irha

  • Level 1 Member
  • *
  • Posts: 18
Re: SMART report question
« Reply #16 on: November 06, 2010, 08:06:50 PM »

If you clone the entire drive by connecting both the drives to a pc, would DNS-321 treat them to be in sync? The other option is to ssh in and use command line tools to rebuild the array, at least that would probably give a better idea of where things are failing, but I am not sure if DNS-321 uses the standard linux raid configuration and tools and if they are accessible as command-line tools.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: SMART report question
« Reply #17 on: November 06, 2010, 08:59:29 PM »

I would not screw around if the data on the drive is your only copy...
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

irha

  • Level 1 Member
  • *
  • Posts: 18
Re: SMART report question
« Reply #18 on: November 06, 2010, 11:32:02 PM »

I am following this thread now to do a manual resync. I am now monitoring the /proc/mdstat for progress and will continue with the rest of the steps and report back.

PS: I had to get the fdisk2 attached to this post to get the manual partitioning to work, as the fdisk that is already there was crashing.
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: SMART report question
« Reply #19 on: November 07, 2010, 02:25:58 AM »

A potentially easier and safer approach would be:

Backup data somewhere
Remove both drives, attach to PC and erase all partitions/zero fill
Check drives for errors/surface scan
Factory reset
Attach both drives in NAS
Format as RAID1
Copy data back

If any of those steps fail, you've got a problem somewhere.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

irha

  • Level 1 Member
  • *
  • Posts: 18
Re: SMART report question
« Reply #20 on: November 07, 2010, 09:32:06 AM »

I agree, it is a risky operation without having a backup copy. In my case, since I just started consolidating misc. external drives to the NAS solution, I won't have a problem starting over (though I will loose some time).

I have now successfully finished the manual process. Here is what I did:
1. I downloaded fdisk2 from the thread I previously pointed out.
2. Created partitions in the same order and size as on the existing drive.
3. Manually added partition to the array waited for that to finish.
-- /usr/sbin/mdadm --manage --add /dev/md0 /dev/sdx2
4. Manually created ext3 filesystems on the other two partitions
-- /ffp/sbin/mke2fs -j /dev/sdx1
-- /ffp/sbin/mke2fs -j /dev/sdx4
5. Mounted the sdx4 partition
-- mount /dev/sdx4 /mnt/HD_x4
6. Forced an update of the hd_magic_num file for the web UI
-- /usr/sbin/hd_verify -w

Now the UI seems to happy about the state of the array. My only concern is about the steps in 4 and 5 that nobody seem to have mentioned as having to do. I am not sure if I am missing any more steps, e.g., should I be adding an fstab entry somewhere?
Logged
Pages: 1 [2]