D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: Tomcrayfish on December 22, 2019, 02:21:41 AM

Title: Combining RAID 1 and JBOD
Post by: Tomcrayfish on December 22, 2019, 02:21:41 AM
I am satisfied user of DNS-323 for more than 10 years in RAID 1 configuration using WD Caviar Green 640 GB HDDs (firmware version 1.08). I discovered that an indication LED for one of the HDD is amber a week ago. I was not so surprised as the discs are in DNS-323 for 10 years (24/7) running without any problem. So I bought a new WD20EFRX (2T) harddrive, replaced the faulty one and let the DNS-323 rebuild the RAID 1 (640 GB).  So far so good.

After RAID 1 was finished there was a nice suprise for me because as a result 2 Volumes were created:
Volume_1: RAID 1 (the result of RAID 1 rebuild)
Volume:2: JBOD (using the rest of the space on the newly installed harddrive)
This found it excellent as with these 2 volumes I got and extra space for data that does not need to be backed up - just great. So I copied that data to newly created Volume_2.

However yesterday I shut down the DNS-323 just to install surge protection. After switching the DNS-323 on again I found Volume_2 missing. Currently I see Volume_1 only in RAID 1.

Can you advise please? Is this normal behaviour? Is it possible to combine RAID 1 and JBOD in case there are 2 HDDs installed od a different capacity?

Thank you.
Title: Re: Combining RAID 1 and JBOD
Post by: FurryNutz on January 04, 2020, 12:35:46 PM
Any progress on this?
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 04, 2020, 01:50:56 PM
Unfortunately not. Still have RAID1 of the size 640 GB in Volume_1. Unable to identify /connect the Volume_2 (rest of the 2TB HDD) formatted as JBOD. I tried restarting the unit several times - no success.
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 04, 2020, 04:03:55 PM
Did you apply a user and password to the JBOD volume?  If you didn't then it will not show up on a restart - you can have the same user/password for both the RAID1 and JBOD.

sorry I can't remember where you find that in the menus - but I think it is in the same place where you set the user/password for the RAID array.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 05, 2020, 10:13:48 AM
Thank you Ivan,

however I do not know how to apply user/password to individual arrays? I am using user/password just to access the administration. I tried to find it in admin configuration however I did not find this funcionality...
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 06, 2020, 07:05:02 AM
Log on the NAS and open the Configuration menu.

Click on the 'Advanced' tab and then 'Network Access' on the left side options.  This will open a page that should show what can appear on the network at the bottom of the page (SMB List).  It should show Volume_1 and also Volume_2

Pause!!!
A thought - Did you actually format the extra space before you tried to use it?  You didn't mention that at the beginning and if you didn't then you don't have Volume_2 available (rebuilding the RAID array DOES NOT format any other space on the drive).

Please confirm that you formatted the extra space before I go into a long explanation (if you need to format the space use the 'Standard' setting).
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 06, 2020, 09:38:34 AM
Thank you for explanation Ivan!

To your question - I performed the ordinary formatting operation when new HDD was inserted to the unit (without ticking the box RAID 1 resync). When formatting was completed I manually rebuilt RAID 1 array. As a result there were two volumes:
Volume_1 RAID 1 (640 GB)
Volume_2 JBOD (approx. 1,3 TB)

It was a nice surprise for me, I even copied several not important but large files (movies) to Volume_2. I also succeeded to identify Volume_2 from other computers in my home network. However after the first reboot of DNS-323 Volume_2 disappeared.

Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 06, 2020, 11:18:08 AM
Ah!  The problem is the RAID array of the DNS 323 is a software RAID thus without actually formatting the Volume_2 it only lived as a virtual volume and it disappeared when you powered down the unit.

Now you need to actually format Volume_2 (for ease of setup format it as a Standard volume otherwise it could get mixed up with the Volume_1).  It should then appear in the SMB List as I mentioned.  You will then have the opportunity to give it a user/password if you want (found under 'Configuration' --> 'Advanced' --> 'Users and Groups'.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 06, 2020, 11:33:59 AM
OK then...
Well ... but how to identify and format Volume_2 only if I do not see it anywhere in administration?
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 06, 2020, 03:07:43 PM
Open the web UI, select 'Configuration', when that opens select the 'Tools' tab then the RAID item on the left.  This will open the 'Hard Drive Configuration'.  In there you should find a heading 'Remaining Size' that has a button labelled 'Create a new Volume in the Remaining Available Storage Space', click on that and follow the instructions. (see page 61 to 64 in the manual).
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 07, 2020, 11:09:17 AM
Many thanks for the navigation, Ivan!

Unfortunately I do not have the "Create A New Volume From The Remaining Available Storage Space" in my 1.08 rev. B firmware. Is this funcionality related to the latest 1.10 firmware only?
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 07, 2020, 12:22:45 PM
The firmware shouldn't have anything to do with it, I still have 1.08 on all my dnS-323 units but most of them have 1.5 TB drive pairs although the one I started with has a 1 TB and a 1.5 TB in it with the extra space being Volume_2.

Having had time to think maybe your problem stems from the fact you formatted the new drive before you rebuilt the RAID array.  Normally the process is to replace the faulty drive, rebuild the array and then format any extra space.  I will ask my old tech people (I'm retired now) when they get back from holiday next week if they have any ideas of a simple way to solve your problem (that is a way that doesn't require a full backup of the RAID 1 array and a complete reformatting of the unit).

Sorry I can't be more helpful at the moment.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 07, 2020, 01:00:02 PM
Thanks a lot for our time and help so far Ivan!
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 16, 2020, 03:42:24 AM
Sorry, but the conclusion is to backup the RAID 1 array (which you should do anyway), clear the disks with a new MBR (including clearing the partition tables) then reformat the array and format the extra space as a general volume and restore the array from the backup.  I have to say the techs actually built a unit following your guide to test this and that is what they found works.

Even if you added another larger disk you would have to backup the array, format the new larger array and then restore from the backup.

Sorry for that distressing news.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 17, 2020, 07:52:21 AM
Dear Ivan, thank you again for your valuable answer. I thought I would need to start from the zero so no disappointment for me.

Actually one last question - you mentioned "clear the disks with new MBR (including clearing the partition tables)". What exactly do you mean by that? Is not just proper disks formatting enough?

Thanks.
Title: Re: Combining RAID 1 and JBOD
Post by: ivan on January 17, 2020, 10:23:13 AM
The reason for saying that is to restore the disks to 'as new' condition without any residual formatting to mess something up.

In the old days it was a case of using 'fdisk newmbr'  today we use a rather sophisticated program that runs on most operating systems called DFSee available as a fully working evaluation copy at https://hobbes.nmsu.edu/download.pub/os2/util/disk/dfsee165.zip (https://hobbes.nmsu.edu/download.pub/os2/util/disk/dfsee165.zip)  it is a program that can do many things with disks and if one is not careful can also do nasty things to disks.

To use install one of your disks in a SATA/USB adapter and plug it into your computer, unzip the dfsee165.zip and select the dir for your OS, double click on the dfsxxx.exe (dfswin.exe for windows).  Go to Edit on the top menu and select 'UI switch to advanced mode' in the drop down (this gives access to all the menu items).  Then select 'Mode=FDISK' from the menu bar and move down to 'Partition-table operations >>'  this will open an additional set of items, you need 'New MBR code, ERASE tables'  again this will open extra items (all the disks the program sees).  MAKE SURE YOU SELECT THE CORRECT DISK BECAUSE ONCE YOU SELECT A DISK THE NEW MBR IS APPLIED TO THE SELECTED DISK.

Once you have the new MBR on the disk shut down DFSee and eject the disk.  Repeat with the second disk then insert them into your DNS-323, power it on, make the RAID array plus the extra space.  Restore the data from the backup and you are back in business.

NOTE

If you are using DFSee for the first time take care, lack of care can mess up your computer drives if you select the wrong disk.  If in doubt ask.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on January 19, 2020, 02:59:56 PM
Thank you again for explanation, Ivan. I will keep the instructions and let know the result.
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on April 19, 2020, 03:22:33 PM
Hello Ivan, I am back after a while just to tell you my result. Finally I decided to buy another 2TB WD HDD (WD20EFAX) and replace the old WD 640 GB drive. I made a complete backup of original RAID 1 files. I formatted the WD20EFRX I bought in autumn 2019 and rebuild the RAID 1 with WD20EFAX resulting in 1920 GB free space. Everything worked and I enjoy plenty of free space now.

Thank you again for your help.

BR,
Tomas
Title: Re: Combining RAID 1 and JBOD (RESOLVED)
Post by: FurryNutz on April 20, 2020, 05:57:08 AM
Glad you got it working.

Enjoy.  ;)

Hello Ivan, I am back after a while just to tell you my result. Finally I decided to buy another 2TB WD HDD (WD20EFAX) and replace the old WD 640 GB drive. I made a complete backup of original RAID 1 files. I formatted the WD20EFRX I bought in autumn 2019 and rebuild the RAID 1 with WD20EFAX resulting in 1920 GB free space. Everything worked and I enjoy plenty of free space now.

Thank you again for your help.

BR,
Tomas
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on April 27, 2020, 08:12:28 AM
Dear Ivan, FurryNutz,

it has been a week I installed new 2TB WD20EFAX harddrive into my DNS-323. I backed up all the data, formatted the new and existing HDDs successfully and created a 2TB RAID 1 volume. I copied back all backed up data. Everything went smoothly, there were no troubles with detecting and formatting EFAX hdd and establishing RAID 1 volume.

However after few days I noticed that I am not able to wake my DNS-323 up? I was even not able to log in the DNS-323. The DNS-323 indication lights were normal in blue color for both HDDs and power LED was dimmed as usual during hibernation mode. I wanted to avoid reseting HDD as I realized I did not have an up-to-date config back up file. So I unplugged the DNS-323 for approx. 5 minutes, plugged in again and switched it on. The DNS-323 started as usual and worked fine for 2-3 days. I let the HDD Hibernation mode enabled with the aim to explore if the issue repeats again.

After 3 days it happened again - the only difference was that blue LED power indication was in full light. I did the same procedure with unplugging/plugging, disabled HDD hibernation mode + made a config file back up.

Now I am waiting for the next issue. If it happens I intend to solve it through reset pin instead od unplugging the unit. Before installing WD20EFAX everything was OK however the DNS-323 was in RAID 1 for just 640 GB combining 1xWD 64 GB and 1xWD20EFRX. So the troubles started after installing WD20EFAX and increasing the RAID 1 to 2 TB.

My question - are there any known similar issues with 2TB HDDs?

Thank you.
Tomas
Title: Re: Combining RAID 1 and JBOD
Post by: Tomcrayfish on October 13, 2020, 10:52:06 AM
In the end I DO NOT RECOMMEND to use WD EFAX drives in your DNS-323 if you intend to use them in RAID 1 array. For more info - please see this post:
http://forums.dlink.com/index.php?topic=75893.0 (http://forums.dlink.com/index.php?topic=75893.0)