D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320 => Topic started by: coolius on August 21, 2011, 08:13:25 AM

Title: HDD Format
Post by: coolius on August 21, 2011, 08:13:25 AM
Hi,


I've just received my new DNS320 and would like to use my existing 2TB hard drive. This hard drive is half full and formatted in NTFS.

I know that the NAS requires its drive to use EXT3 so I was hoping that if I shrunk the NTFS partition, created a new EXT3 partition, moved the files onto the new partition and the deleted the NTFS partition and expanded the EXT3 partition with the data using something like G-Parted, I could use this drive in the NAS without losing the data.

Would this work or does the 320 require a fresh, empty partition on setup? I've tried looking for the answer in the manual and on these forums but had no luck.

Thanks
Title: Re: HDD Format
Post by: threepwood on August 23, 2011, 10:24:35 AM
don't fiddle with partitions if the data you have on the drive is the only copy. Always a bad idea!
Title: Re: HDD Format
Post by: JavaLawyer on August 23, 2011, 10:43:14 AM
Hi,


I've just received my new DNS320 and would like to use my existing 2TB hard drive. This hard drive is half full and formatted in NTFS.

I know that the NAS requires its drive to use EXT3 so I was hoping that if I shrunk the NTFS partition, created a new EXT3 partition, moved the files onto the new partition and the deleted the NTFS partition and expanded the EXT3 partition with the data using something like G-Parted, I could use this drive in the NAS without losing the data.

Would this work or does the 320 require a fresh, empty partition on setup? I've tried looking for the answer in the manual and on these forums but had no luck.

Thanks

A DNS-320 HDD formatted as a standard volume should be mountable in a Linux box. Based on this, there is reason to believe that the reverse is also true, but you'll have to experiment to validate.

If you choose to go down this path, please post your results.
Title: Re: HDD Format
Post by: coolius on August 23, 2011, 12:32:04 PM
I plan to move as much as I can onto other drives before playing around with the partitions, just in case something does go wrong.

The DNS-320 does prompt you before doing any formatting itself doesn't it? It doesn't just automatically wipe the disk as soon as you drop it in?
Title: Re: HDD Format
Post by: JavaLawyer on August 23, 2011, 12:36:03 PM
The DNS-320 is designed to prompt for end-user validation prior to formatting.
However, you should always maintain a separate physical backup of your data in the in the event that something goes wrong.
Title: Re: HDD Format
Post by: ivan on August 23, 2011, 12:42:34 PM
You could pick up one of the cheap 1TB USB drives and transfer as much as you can to there before you start to experiment.
Title: Re: HDD Format
Post by: JavaLawyer on August 23, 2011, 01:00:28 PM
My sentiments exactly. "An ounce of prevention is worth a pound of cure."
Title: Re: HDD Format
Post by: noem on August 28, 2011, 10:07:59 AM
Will this work? Bought two 2TB drives.

1. Transfer existing data from NAS too one 2tb drive in my computer.
2. Remove current disks, put one 2tb drive in to Nas an format as RAID1.
3. Transfer backup from 2tb disk in computer to nas with RAID1.
4. When done, remove disk from computer and insert into NAS with RAID1. Of course this disk will then be in the RAID1 setup.

Will above work? Which slot should i put first disk in?
Title: Re: HDD Format
Post by: JavaLawyer on August 28, 2011, 10:28:50 AM
You should format the new HDD in slot 1. If the DNS-320 permits you to format only one HDD as a RAID 1 array, the array will show as degraded since there is no second HDD.

Not sure I understand step 4. If you succeed at steps 1-3, when you insert the HDD from your PC to slot 2 of the DNS-320, you will have to reformat the second HDD as RAID 1.

If the second HDD is formatted as EXT and moved to the DNS-320, the unit will most likely recognize the HDD as a standard volume rather than part of the RAID 1 array. You will most likely need to manually rebuild the second HDD for inclusion in the array.
Title: Re: HDD Format
Post by: noem on August 28, 2011, 10:52:28 AM
second drive is in a external case attached to my computer. it is formattade as ntfs. i hope when i put it in slot 2 it will be formatted as ext and included in the raid1 setup.
Title: Re: HDD Format
Post by: JavaLawyer on August 28, 2011, 11:01:50 AM
When you insert the NTFS HDD in slot 2, the DNS-320 will prompt you that the drive is not formatted and present you with some options.
Title: Re: HDD Format
Post by: ivan on August 28, 2011, 12:48:54 PM
Noem, one thing isn't clear, do you have two or three disks?

If you have three then there is no need for any convoluted messing about, and most likely data loss.  Just put two disks in the NAS, format them as RAID1 then transfer the data from the third disk.

If you only have two disks, the first thing you should try and do is to transfer everything from your NTFS formatted disk to your computer.  Having done that, you can put two drives in the NAS and proceed as normal.

Trying to format one drive at a time will, I think, just give you a JBOD setup, not the RAID1 that you want.  You may be able to convert JABOD to RAID1 but there is the risk of loosing everything.
Title: Re: HDD Format
Post by: JavaLawyer on August 28, 2011, 01:24:25 PM
Based on the original poster's migration techniques, I'm assuming there are only 2 HDDs. And yes, if the HDD configurations are changed from JBOD to RAID 1, all data will be lost.

The one open question (on my end) is whether the DNS-320 will offer the option of configuring a HDD as RAID-1 array with only 1 drive is available in the unit at the time of format.
Title: Re: HDD Format
Post by: noem on August 28, 2011, 11:36:29 PM
I only have two new 2tb disks.

Well, this didn't work. It wont let me format to RAID1 with only one drive. I can only choose "Standard" :(. So, now I have to put my two old 500 GB drives into my computer, copy everything from the external 2tb to the two 500gb drives in my computer. Remove the 2tb from the external casing and put it into the nas. Build a RAID1 array. Then copy everything to the nas from the two 500gb drives. phew... :)
Title: Re: HDD Format
Post by: JavaLawyer on August 29, 2011, 04:28:40 AM
Thanks for clarifying the RAID 1 formatting question.

With the relatively low cost of storage, why not purchase another 2TB HDD? It's considered good practice to maintain at least one spare HDD in the event of a drive failure. . . And ideally, the spare should be the same make/model as the original HDD.
Title: Re: HDD Format
Post by: noem on August 29, 2011, 06:54:39 AM
well, cheap or not cheap. it depends on you economic situation :). I live in Sweden and i bought one disk for 135 usd in sweden. where I bought it its probably not the cheapest place but it had it in stock.
I will use one of the old 500gb in a external case to backup the most critical data. thank you for all your help.
Title: Re: HDD Format
Post by: JavaLawyer on August 29, 2011, 06:59:34 AM
Glad to help and best of luck.
Title: Re: HDD Format
Post by: noem on August 31, 2011, 07:26:55 AM
Maybe a useless post but now I have finally retransferred all data back to the NAS. Running RAID1 with no problems. It took a while though but not as long as I thought. Average speed was 20 mb/s. I have a dns323 that only reach 12 mb/s. Maybe due to faster cpu in 320? I always get mbit/mb/s etc confused but I think you know what I mean  :P.

Would be nice though if the NAS would be able to format as RAID1 only if there where one disk in the NAS. But I guess there is probably a very good reason why it doesnt work...
Title: Re: HDD Format
Post by: JavaLawyer on August 31, 2011, 08:08:52 AM
Would be nice though if the NAS would be able to format as RAID1 only if there where one disk in the NAS. But I guess there is probably a very good reason why it doesnt work...

By definition, RAID 1 has two HDDs. If the DNS-320 were to create a 1 HDD RAID 1 array, the array would be broken and subject to data loss. Given your unique situation, I was hoping there was a way around the formatting issue, but in practice, the DNS-320 shouldn't allow the creation of a partially formatted array (for multiple reasons).
Title: Re: HDD Format
Post by: coolius on September 18, 2011, 12:37:57 PM
Hi,


I've just received my new DNS320 and would like to use my existing 2TB hard drive. This hard drive is half full and formatted in NTFS.

I know that the NAS requires its drive to use EXT3 so I was hoping that if I shrunk the NTFS partition, created a new EXT3 partition, moved the files onto the new partition and the deleted the NTFS partition and expanded the EXT3 partition with the data using something like G-Parted, I could use this drive in the NAS without losing the data.

Would this work or does the 320 require a fresh, empty partition on setup? I've tried looking for the answer in the manual and on these forums but had no luck.

Thanks

Hey guys,

I successfully managed to reformat my hard drive from NTFS to EXT2 without losing any of the data.

After dropping it in to the NAS for the first time however, it still sees it as a new drive. I suspect this is because I have created one large partition with my data which it seems isn't the way that the 320 likes the drive to be laid out.

Does anybody know how I can trick the DNS-320 into thinking this drive is not new, there fore allowing me to keep my data rather than have the NAS reformat it?
Title: Re: HDD Format
Post by: ivan on September 19, 2011, 03:05:31 AM
As far as I know there is no way that you are going to get that drive in the NAS without letting the NAS format it.

If the data it contains is important then you will have a backup of it so the only inconvenience of allowing the NAS to format the drive is the copying of the data back to it.  If you don't have a backup then I would say you need to get one of the 1 TB USB drives and copy as much of the data to there - anything that won't fit should go on to your PC.  Then you can let the NAS format the drive and your data will be safe and all you have to do is copy it to the NAS.