DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-05-11 00:37:24

unmesh
Member
Registered: 2008-03-26
Posts: 55

AFT drive support on DNS-321?

I searched for this on this forum and could not find any references to a firmware upgrade for the DNS-321 to support AFT aka 4K-sector drives.

Is there not such an update (as there is for the DNS-323) or did I not look hard enough?

Thanks.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#2 2011-05-11 00:57:46

voljka
Member
From: Latvia
Registered: 2011-05-09
Posts: 12

Re: AFT drive support on DNS-321?

If you agree, what Western Digital WD20EARS-00MVWB0 2000.4 GB is AFT drive, then I may say, what two such drives is RAID0 was initialised/formatted in DNS-323 rel.C1 firmware 1.0.8, survived flashing ALT-F and was converted from EXT3 to EXT4.
Sector size for me is unknown, I did not any magic tricks to format HDD. They just works.


Ooops! I did it again...

Offline

 

#3 2011-05-11 01:20:36

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

I know it works in the DNS-323 since I have one too. Look at my .sig :-)

The question was about DNS-321 support.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#4 2011-05-11 02:58:30

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: AFT drive support on DNS-321?

voljka wrote:

I did not any magic tricks to format HDD. They just works.

You should do some research on the subject. Running AFT HDDs will cause you issues if you run Raid 1 unless you upgrade to firmware 1.10 and reformat the disks. If youj don't run Raid 1, then it is unlikely you will encounter the problem, but if it was me, I'd reformat with AFT support anyway.

@unmesh - Hopefully the DNS321 will have a firmware update similar to the DNS323 once they officially release 1.10.

Last edited by FunFiler (2011-05-11 02:59:57)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#5 2011-05-11 04:00:07

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

FunFiler, here's hoping that you're right!

voljka, FWIW, I jumped through hoops to force partition alignment on my WD20EARS (and avoid possible data corruption issues down the road) using a pre-1.10 firmware. It was painful enough that I decided to not buy any more AFT drives until they were natively supported by the Dlink firmware.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#6 2011-05-11 10:17:31

voljka
Member
From: Latvia
Registered: 2011-05-09
Posts: 12

Re: AFT drive support on DNS-321?

unmesh wrote:

voljka, FWIW, I jumped through hoops to force partition alignment on my WD20EARS (and avoid possible data corruption issues down the road) using a pre-1.10 firmware. It was painful enough that I decided to not buy any more AFT drives until they were natively supported by the Dlink firmware.

I do not understood all these fuss about 4k sector aligment. If this is purely performance issue, then I do not care, because DNS-323 has not anough power to suffer from it (IMHO).
Why are you care?


Ooops! I did it again...

Offline

 

#7 2011-05-11 13:19:47

dcx_badass
Member
Registered: 2011-02-26
Posts: 22

Re: AFT drive support on DNS-321?

Op, why don't you try format in your DNS-323 with v1.10 then remove and slot them i nthe DNS-321 and see what happens.

Offline

 

#8 2011-05-11 13:37:40

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: AFT drive support on DNS-321?

voljka wrote:

I do not understood all these fuss about 4k sector aligment. If this is purely performance issue, then I do not care, because DNS-323 has not anough power to suffer from it (IMHO).

You obviously have not read all the threads on the topic or you would care. It is not just performance, it is data integrity. If the performance was not affected, no one would have noticed any issues.

You can do whatever you want on your system, but the answer seems obvious to the rest of us.

Last edited by FunFiler (2011-05-11 13:39:53)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#9 2011-05-11 15:23:09

voljka
Member
From: Latvia
Registered: 2011-05-09
Posts: 12

Re: AFT drive support on DNS-321?

FunFiler wrote:

voljka wrote:

I do not understood all these fuss about 4k sector aligment. If this is purely performance issue, then I do not care, because DNS-323 has not anough power to suffer from it (IMHO).

You obviously have not read all the threads on the topic or you would care. It is not just performance, it is data integrity. If the performance was not affected, no one would have noticed any issues.

You can do whatever you want on your system, but the answer seems obvious to the rest of us.

OK, let it be Me vs Rest of You, if you want this that way.
Read this article, no any word on "data integrity" http://www.tomshardware.com/reviews/wd- … 554-3.html
Another article, this speak about big performance hit, not about "data integrity" http://www.osnews.com/story/22872/Linux … ard_Drives
And, finally, paper from Seagate http://www.seagate.com/docs/pdf/whitepa … ectors.pdf

Please post a link to clarify issue, if you please.

Last edited by voljka (2011-05-11 15:51:24)


Ooops! I did it again...

Offline

 

#10 2011-05-11 17:09:26

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: AFT drive support on DNS-321?

I have to say that the integrity argument sounds far-fetched to me as well.
I have two AFT (WD EARS) drives in standard mode in my DNS-323 and I manually formatted them to be 4K aligned.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#11 2011-05-11 20:28:15

voljka
Member
From: Latvia
Registered: 2011-05-09
Posts: 12

Re: AFT drive support on DNS-321?

Funny. I went through DLINK forum and think I have found a root for this myth - "data integrity" issue.
1) DNS-323 is cheap home NAS (my opinion)
2) People with DNS-323 are just people, they want more HDD space for less money and some of them want "security" like RAID1 (my opinion)
3) People buy Consumers/Desktop HDDs (NOT Enterprise/RAID series) with LOT a space. LOT a space means AFT(4k sector).
AFAIK there is no RAID Edition Disks with 4k sector, or they are VERY expensive and not used in cheap NAS. (my opinion)
4) RAID1 with Desktop HDD means Problems (this is I read very much on DLINK forum)
5) Finally, in some mind "Big and cheap HDD" became just AFT drive, so AFT drive = Problems (data integrity - HDD marked off line issue).
Joke is, what Desktop HDD in RAID = Problems, not 4k sector technology.

unmech, I'm sorry for cannibalization of your topic. As I read in Seagate paper, AFT must be supported in kernel, fdisk.
So if you can check kernel and fdisk versions, you can get some peace about 4k support.
"Changes have been made to both the Linux kernel and utilities to support Advanced Format drives. These changes ensure that all partitions on Advanced Format drives are properly aligned on 4K sector boundaries. Kernel support for Advanced Format drives is available in kernel versions 2.6.31 and above. Support for portioning and formatting Advanced Format drives is available in the following Linux utilities:
Fdisk: GNU Fdisk is a command line utility that partitions hard drives.
Versions 1.2.3 and above support Advanced Format drives.
Parted: GNU Parted is a graphical utility for partitioning hard drives.
Versions 2.1 and above support Advanced Format drives."


Ooops! I did it again...

Offline

 

#12 2011-05-13 09:21:16

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

Voljka,

These forums are always interesting places for discussion!

I'd read enough about data integrity concerns in the early days, both on earlier Linux kernels and on Windows Home Server (which I also have) to want to be careful. A few people reported errors only after their disks became relatively full. As others on this thread have said, data integrity is everything. I also remember a few posts with informed speculation about the mechanism for the data corruption but did not save the links.

dcx_badass,

I'm happy to do the experiment you suggest with a new AFT drive that I've ordered but it won't answer my question about native support. What it will do is to partition the drive correctly for the DNS-321 but I already know how to do that using a PC and it is not clear that this method is going to be that much easier with drive swapping etc.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#13 2011-05-20 04:09:32

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

I finally got a new AFT drive and am currently running a test on a PC to make sure the sectors are OK. Hopefully the test will pass and I can do the experiment to see if the aligned partitions created by the DNS-323 persist on the DNS-321.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#14 2011-05-21 03:42:33

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

So I formatted the drive and moved it to the other chassis where it seems to be recognized fine.

A couple of oddities worth mentioning.

The primary drive is a WD20EARS which is also 2TB but df shows a different number of formatted 1K blocks for the 2 drives:
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                    9911      6533      2866  70% /
/dev/root                 9911      6533      2866  70% /
/dev/loop0                4736      4736         0 100% /sys/crfs
/dev/sda2            1951684924 1578182684 373502240  81% /mnt/HD_a2
/dev/sdb2            1921832648    305768 1921526880   0% /mnt/HD_b2
/dev/sda4               497861     10715    487146   2% /mnt/HD_a4
/dev/sdb4               495884      2322    493562   0% /mnt/HD_b4

Also, the WD was manually aligned using the somewhat tedious process described in http://www.consumedconsumer.org/2010/06 … ii_08.html. The fdisk command downloaded from there does not recognize the partitions created by FW1.10B7 and neither does the one included in fun_plug.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#15 2011-05-22 04:24:36

unmesh
Member
Registered: 2008-03-26
Posts: 55

Re: AFT drive support on DNS-321?

I attached the Hitachi 2TB hard drive to a PC running Ubuntu and the partitions are as follows:
Partition    Type          Start sector
/dev/sda1 linux-swap  64
/dev/sda2 ext2           2084368
/dev/sda4 ext2           1060288


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB