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 2007-05-27 02:05:44

lelle
Member
From: Stockholm, Sweden
Registered: 2007-05-23
Posts: 5

How do I create 2 partitions, one as RAID-1, the other as RAID-0?

Hi,

I've recently bought a DNS-323 and installed a pair of Samsung 500GB disks. My idea was to create a 200GB mirrored (RAID-1) partition and a striped (RAID-0) partition of the remaining 600GB. However, after creating the RAID-1 partition, the DNS-323 will automatically create a linear (JBOD) partition of the rest of the disk space and there isn't any option to change this.

My question is: How can I create a RAID-0 array instead? I've installed fun_plug and telnet and I've read about the mdadm utility, but I need some advice before continuing. I have no data stored on  600GB JBOD partition, it could be removed.

Offline

 

#2 2007-05-31 17:34:11

kruzes
Member
Registered: 2007-05-31
Posts: 22

Re: How do I create 2 partitions, one as RAID-1, the other as RAID-0?

I'd be interested in this too. Anyone?

My only guess would be editing /etc/raidtab and then reformating (raid-level linear to raid-0). But I have no idea about /etc/raidtab2web, and how would the unexpected configuration interfere with dlink's raid utilities (raidlevel_parser, raidsync_time, raidtab_parser)

Offline

 

#3 2007-05-31 17:52:05

vthinsel
Member
Registered: 2007-05-24
Posts: 41

Re: How do I create 2 partitions, one as RAID-1, the other as RAID-0?

Hello to everyone (this is my first post by the way),

What would be the benefit of such configuration ? It would probably increase transfer rate, as both disks would work in parallel. But the bottleneck will be the ethernet giga port, correct ?

Vincent, waiting for his DNS-323

Offline

 

#4 2007-05-31 19:05:20

kruzes
Member
Registered: 2007-05-31
Posts: 22

Re: How do I create 2 partitions, one as RAID-1, the other as RAID-0?

Hi,

Well 1Gbit/s perfectly used amounts to transfer rates up to 120MiB/s. With a couple Seagate Barracuda's (7200 250GB 16MiB - ST3250620AS 3.AA) I get these (very crude) transfer rates:

Code:

read   RAID-1  52MiB/s
write  RAID-1  44MiB/s
read   JBOD    44MiB/s
write  JBOD    44MiB/s

I got these numbers reading and writing a 256MiB file in situ with dd. As you can see, you do get a (rather small, tough) boost from RAID. The limiting factor is most likely the CPU, though I may have my drives set to SATA-150 (I'm unsure). If it is the CPU, samba will be a lot slower, which is consistent with reported speeds of 20MiB/s reads and 15MiB/s writes (still enough to exhaust a 10Mbit/s LAN, but not 1Gbit/s).

Anyway, I like to tinker with thinks, and I do run Debian on the JBOD partition, so I'm interested in local performance too.

Last edited by kruzes (2007-05-31 19:07:22)

Offline

 

#5 2007-05-31 20:08:27

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: How do I create 2 partitions, one as RAID-1, the other as RAID-0?

Curious regarding how this configuration affects recovery...if a drive fails you'll lose all the RAID0 data, right?  I assume the RAID1 mirror would rebuild when you inserted a new drive to replace the failed one, and you'd have to recreate your RAID0 partition...can someone clarify how recovery would work in this setup?


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#6 2007-05-31 22:33:55

vthinsel
Member
Registered: 2007-05-24
Posts: 41

Re: How do I create 2 partitions, one as RAID-1, the other as RAID-0?

DNS-323 Talker wrote:

Curious regarding how this configuration affects recovery...if a drive fails you'll lose all the RAID0 data, right?  I assume the RAID1 mirror would rebuild when you inserted a new drive to replace the failed one, and you'd have to recreate your RAID0 partition...can someone clarify how recovery would work in this setup?

According to DLINK, it should be very simple: RAID1 rebuilt with same config, and remainig space as part of JBOD space, even if the new drive is bigger. Waiting for my dns-323 to verify....

Date of Reply: 5/25/2007
Products: DNS-323
Operating System: Windows XP Pro

Vincent

Oh yes it will... It will take any remaining space and create a separate drive, No mater what larger size you use on eather side of the DNS-323 it will create a JBOD drive with the left over and the RAID remains the same size.

Should you require further assistance with your D-Link products, please reply to this message, or call toll free at 877-453-5465.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB