Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Ok after the struggle with getting RAID 1 to work ...
http://dns323.kood.org/forum/p15702-Tod … tml#p15702
Does RAID 1 really work any one actually have disk die,
have it go limp mode, no pwr cycle remove the drive
grab another drive hot plug the drive, and then tools/raid/reformat
the new 2nd drive
and have it sync w/o data loss or have the firmware try & format BOTH drives ?
I kinda doubt the knuckle heads dink-sys err link-sys have ever tried a fail use case?
Last edited by tc66 (2008-05-27 06:01:51)
Offline
RAID1 works - RAID1 has only one function - to reduce and/or eliminate the down time that would occur in the event of a disk failure - you can hot unplug a drive and see for yourself - as long as your data remains available, then RAID1 has done it's job.
You apparently have your own expectations of how RAID1 should work, and the unit may or may not meet those expectations.
Different manufacturers will have different recommendations on how to restore a degraded RAID array, no doubt based on the design of their equipment - I've included D-Link's instructions below, in my simulations the procedure has worked.
The following text comes from this FAQ on the D-Link website.
Q. How do I restore my RAID1 settings if a drive has failed?
A. Note: If a RAID1 drive has failed, the DNS-323 will display the HDD LED light, of the corresponding drive, in Amber.
If this happens, follow these steps to restore the RAID1 settings:
Step 1 Power down the DNS-323
Step 2 Remove the failed drive from the DNS-323
Step 3 Insert the new drive into the DNS-323
Note: The new drive must blank with no partition on the drive
Step 4 Power on the DNS-323
Step 5 After a minute log into the DNS-323 web interface
Step 6 You will be prompt to format and resync on entry, click OK
Note: This action will format the replaced drive only and sync the two hard drives in RAID1
Step 7 Wait for format and resync to complete. The DNS-323 is now ready for use
Offline
I have my DNS set as RAID 1.
Let's say in the event a drive fails down the track...say in 2 years...and I can't get hold of an identical drive anymore. Will another drive maybe even from another manufacturer be ok as a replacement as long as it is similar in capacity?
Or does it need to be identically the same...for reasons such as disk performance specs?
Offline
As long as the replacement has equal or larger capacity, it'll work - there is no need for the drives to be identical or even of the same performance specification.
Part of my job involves supporting RAID arrays in corporate environments and we routinely replace failed disks with units from other manufacturers.
On my DNS-323 I've had RAID1 arrays using 1x80GB & 1x250GB - you'll get 80GB of RAID1 array and a 170GB Volume_2, I've also used 1x250GB Seagate & 1x250GB Maxtor with no trouble.
Offline
fordem wrote:
You apparently have your own expectations of how RAID1 should work, and the unit may or may not meet those expectations.
kinda bizzare stmt that is a std hot swap SOP, not sure that is MY own expectations, this device is just NOT a hot swap
fordem wrote:
The following text comes from this FAQ on the D-Link website.
that is good enuff if it works when the time comes
Last edited by tc66 (2008-05-27 15:44:38)
Offline
tc66 wrote:
kinda bizzare stmt that is a std hot swap SOP, not sure that is MY own expectations, this device is just NOT a hot swap
You are correct, the RAID component (mdadm) works correctly on the DNS-323, it is the hot-swap components
which do not operated correctly. This is evidenced by the fact the device node is not freed when a hard disk is
removed.
tc66 wrote:
that is good enuff if it works when the time comes
Why wait until the "time comes" to find out? To have confidence in your disaster recovery procedure, you should
"practice" the procedure and prove to yourself it WILL work...
So, backup up your data, and simulate a drive failure. Pull a disk, wipe it clean (just like you would get a replacement
drive from a vendor), put it back into the DNS-323 and get the unit fully RAID1 operation again. If you have any
problem or issues write down your solutions so you can remember that when the "time comes". Be sure to
simulate both the left and right drive failures, perhaps the recovery procedure will be different?
Offline
tc66 wrote:
fordem wrote:
You apparently have your own expectations of how RAID1 should work, and the unit may or may not meet those expectations.
kinda bizzare stmt that is a std hot swap SOP, not sure that is MY own expectations, this device is just NOT a hot swap
Hot swap and RAID are not related - you can have RAID arrays without having hot swap disks - YOU obviously associate RAID & hotswap - and that is the reason I made that statement.
There are many (and perhaps the majority of) RAID implementations that use hot swap drives, but hot swap is not a requirement of RAID. RAID predates hotswap by a decade or more. RAID implementations without hot swap drives are quite common in SMB - and sooner or later, if you're unlucky enough, you'll come across a hot swap drive implementation (or more correctly - a hot plug implementation) that does not use RAID.
tc66 wrote:
Does RAID 1 really work any one actually have disk die, have it go limp mode, no pwr cycle remove the drive
grab another drive hot plug the drive, and then tools/raid/reformat the new 2nd drive and have it sync w/o data loss or have the firmware try & format BOTH drives ?
On second thought - I reread your post, you did say hot plug - my bad
Last edited by fordem (2008-05-27 20:51:55)
Offline
you can hot unplug a drive [...] then RAID1 has done it's job.
This will probably draw unfriendly fire onto me, but to be picky - I think associating hot swapping with RAID1 was initially done in the statement above.
Last edited by vedeja (2008-05-27 19:26:16)
Offline
fordem wrote:
As long as the replacement has equal or larger capacity, it'll work - there is no need for the drives to be identical or even of the same performance specification.
Part of my job involves supporting RAID arrays in corporate environments and we routinely replace failed disks with units from other manufacturers.
On my DNS-323 I've had RAID1 arrays using 1x80GB & 1x250GB - you'll get 80GB of RAID1 array and a 170GB Volume_2, I've also used 1x250GB Seagate & 1x250GB Maxtor with no trouble.
Thanks fordem. I currently have 2 x 1TB drives configured in RAID 1.
Let's say 1 of the 1TB drives fail in the future and there are 1.5TB drives available. If I replace the failed drive with a 1.5TB drive, would the DNS-323 automatically use the remaining 500GB and automatically create Volume_2 after resync of Volume_1?
Last edited by noisuf (2008-05-28 11:07:54)
Offline
What you describe is what it would do if you tried to create a RAID1 array with a 1GB & 1.5GB disk - I'm not certain if it will create the Volume_2 if you're replacing a failed disk.
I'll test it and let you know, but it might take me a day or two - got some other stuff that's a little more time critical
Offline
I'm seriously considering buying a DNS-323 or CH3SNAS and using it with RAID1, since my NSLU2 with WD500GB crashed losing all my data. I have about 95% backed up, but still not good enough...
I'm considering to include two 500 GB disk as RAID1, this is currently enoug. Bigger is costing a lot more, and I expect (who doesn't) that bigger drives will become cheaper. So why spend more money now, if I don't need the capacity now.
So I would like to be able to upgrade my 2x500GB RAID1 setup, to (let say) 2x1TB RAID1 in two years from now. How can this be done without loosing the data?
Is the following a valid procedure?
1.Reset the RAID1 to standard configuration. Is this possible? Does this result in two seperate accesible drives?
2.Remove one of the two disks.
3.Insert one of the two new bigger disks, and format it in standard setup.
4.Copy all data to the new disk.
5.Remove the other old disk. Does this create any boot issues? Will any additional installed tools still be OK?
6.Insert the second drive, and set it again to RAID1.
Has anyone tried this? Is this the way to upgrade your RAID configuration?
Offline
rochefort - can you see my signature?
Offline
What determines whether a planned procedure is valid or not? If it requires additional tools, such as fun_plug does that mean it's not valid? If it can be done with an out of the box DNS-323 with no more than a D-Link supplied firmware upgrade does that make it valid?
As of firmware 1.05, you can add a second drive and create a RAID1 array without reformatting the first drive and thereby losing the data.
In theory (and that means I haven't tested it) you could ....
1) BACK UP the data - out of an abundance of caution.
2) Reset the DNS-323 to factory default, thus breaking the RAID array in to two separate drives
3) Remove one of the old disks and replace it with a larger new one, allow it to format
4) Copy the data from old disk to new disk - see note below.
5) Remove the second old disk and replace it with the second new one, allow to format and sync
Note - without fun_plug, telnet and rsync, a Volume_1 to Volume_2 copy is going to traverse the network twice, just the same as if you were backing it up and restoring it, so if this is your plan, then you might as well back it up, swap both disks, format as RAID1 and restore, it'll be quicker.
Additional installed tools should remain intact and if you place the new drive in the right bay then should remain available for your use.
Offline
noisuf wrote:
Thanks fordem. I currently have 2 x 1TB drives configured in RAID 1.
Let's say 1 of the 1TB drives fail in the future and there are 1.5TB drives available. If I replace the failed drive with a 1.5TB drive, would the DNS-323 automatically use the remaining 500GB and automatically create Volume_2 after resync of Volume_1?
OK - here's what I tried.
2x80GB Maxtors in a RAID1 array with about 1GB data - hot unplugged the right drive to simulate a failure and after I got the amber LED and email, powered it down and inserted a clean 160GB disk disk and then repowered it.
On logging in I got the expected offer to format the 160GB disk, which I accepted, and when the format complete screen showed up I nearly had a fit - it showed me that it had formatted two 78GB drives - Volume_1 & Volume_2 - it turns out (and I guess, in hind sight, this is to be expected) that Volume_1 was the other "half" of my RAID1 array and Volume_2 was the remaining space.
It is still syncing as I post this, but, I think I can safely say - yes - if you were to replace a 1TB drive with a 1.5TB drive - assuming they are available - it will recreate your RAID pair and make the remaining space available as a separate volume.
Offline
fordem wrote:
OK - here's what I tried.
2x80GB Maxtors in a RAID1 array with about 1GB data - hot unplugged the right drive to simulate a failure and after I got the amber LED and email, powered it down and inserted a clean 160GB disk disk and then repowered it.
On logging in I got the expected offer to format the 160GB disk, which I accepted, and when the format complete screen showed up I nearly had a fit - it showed me that it had formatted two 78GB drives - Volume_1 & Volume_2 - it turns out (and I guess, in hind sight, this is to be expected) that Volume_1 was the other "half" of my RAID1 array and Volume_2 was the remaining space.
It is still syncing as I post this, but, I think I can safely say - yes - if you were to replace a 1TB drive with a 1.5TB drive - assuming they are available - it will recreate your RAID pair and make the remaining space available as a separate volume.
Fordem mate, thanks so much for taking the time to simulate the failure and trying out the scenario practically.
I can now rest easier knowing that on the eventful day when one of my drives fail, it will be a simple process to fix. Cheers.
Offline
fordem wrote:
What determines whether a planned procedure is valid or not? If it requires additional tools, such as fun_plug does that mean it's not valid? If it can be done with an out of the box DNS-323 with no more than a D-Link supplied firmware upgrade does that make it valid?
Valid for is me that I can get it to work. If external tooling is needed, that is fine. I'm used to unix, and have used linux a bit. So I feel confident enough to perform all kind of actions command line.
fordem wrote:
Additional installed tools should remain intact and if you place the new drive in the right bay then should remain available for your use.
I'm not to sure what you mean with this. Do you refer to the new drive as the first new drive to install?
Anyway. I guess the best way (and safest) would just be to backup all data externally, replace the drives, and restore all the data. Including the tooling. The additional tooling actually bothers me the most. I expect that I probably tweaked the system a good bit after two years, and reinstalling all tooling is simply not convenient. That also bothers me most with my hard disk crash on the NSLU2. Most data I maintain in multiple backups, especially the data that I consider critical (pictures, and music collection :-) ). I did loose some data, but I'm not to worried about that, it's inconvenient.
Offline
Whoops -
Additional installed tools should remain intact and if you place the new drive in the right bay then should remain available for your use.
That should actually have said LEFT bay - and yes, I meant the first new drive. This unit sees the right bay first.
And I agree the best and safest way is to backup the data, replace the drives and then restore the data.
Offline
I have the DNS-323 and have a problem with accessing my data. I had 1 500 GB drive in there for a long time. We had many power outages and I could always access the data. I wanted more security for the data so I bought an identical drive. I loaded it into the 2nd bay and set up raid 1. It synced the data and things seemed fine. I could access all of our data after the sync. Then, we had a power outage and all of the sudden I cannot access the drives. When I log into the NAS it asks me if I want the drives to be individual or to be in a raid array. It says it needs to reformat the drives. I did not want to lose my data, so I refused. Now I cannot access the data through the NAS at all. I tried to take the drives out and hook them directly to my PC, but when I used a partition manager to look at the drives, it said they were Linux based. That must be why the drives show up on startup, but do not show up in windows. I performed an integrity analysis on the drives and they are perfect.
I am at a loss as to what to do to get my data. I have sent them off to a data recovery company for a free analysis, but I am sure recovery through them will be horribly expensive. Does anyone have any ideas on how I can recover the data? Also, has anyone had a similar issue with raid failure and not being able to access either drive through the NAS? I wanted to set up raid 1 for extra protection, and now it seems to have caused me more problems than if I had just used one drive. My guess is this is all user error, but I don't know what to do next.
Any help would be greatly appreciated.
Regards.
Matt
Offline
Don't blame it on RAID1 - blame it on your not having a backup of your data and not having your NAS on a UPS.
You could try reading the data off of the drives using the ext2ifs installable file system driver for windows
Offline
I was definitely stupid for not having the NAS on a UPS, but even a UPS won't save you indefinitely (i.e. if you are not home when the power goes out). I don't understand why the NAS won't let me access at least one of the drives without reformatting. That is the part that does not make sense to me. How are you ever supposed to recover if a drive goes if the system wants to reformat if the raid array fails?
As for ext2ifs, I have not heard of it but I appreciate the suggestion. I will see what I can find online. Is it just a file (driver) that you install on your system to allow it to read linux based partitions?
Thanks for the advice.
Matt
Last edited by fourstar77 (2008-05-29 21:01:53)
Offline
Have you read my signature?
Your backup is what saves you when your RAID array fails - all your RAID array is designed to do is ensure your data remains availble when a drive fails.
Ext2ifs is available here, yes, it is a file system driver that allows you to mount linux file systems in Windows.
Offline
Thanks. I will give your suggestion a try.
Offline
SO, I just had a flooded basement. My DNS-323 was half submerged, one of the two drives I have are dead... the other... hooked it up to an sata USB2.0 and it is running full and windows recognizes the partitions. They are unknown, but the large ones are still in tact.... before this drive dies on me, how do Igo about recovering the data without the DNS-323? or, if I get a new DNS-323 and pop this working drive in, will I be able to recover?
does d-link have any software to mimic the RAID 1 without the hardware??
I'm at a loss here...
thanks,
BRIAN
Offline
Windows won't recognize the partitions because they are linux ext2 partitions - I would suggest that you download and install the ext2ifs installable file system driver, which should allow you access to your data, and copy it off of that drive whilst you still can.
Offline
thank you fordem!
I got that ext2IFS driver and the files are now copying over to a secure drive as we speak. Your a lifesaver. I plan to make a modest donation to the site I got it from now too. thanks for the quick reply as well.
Brian
Offline