D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: titoumimi on January 08, 2011, 08:21:53 AM

Title: Upgrading drives procedure ? (raid1)
Post by: titoumimi on January 08, 2011, 08:21:53 AM
Hi,

My NAS was configured on RAID1, with two 750Gb drives
This morning, one of my drive fails. So i decided to buy two new ones of 2Tb (caviar green).

Is there an easy way to upgrade the disks without loosing datas ? I can't backup the remaining 750Gb on my computer, i don't have enough space (and i have a laptop).

I thought about doing this :

- Removing the dead HDD
- Inserting one on the new 2Tb HDD
- Letting synchronizing the two drives
- Removing the old 750Gb drive
- Inserting the other new 2Tb drive
- Letting synchronizing the two drives

But :

- will it work ?
- will i lose datas ?
- will my RAID be using the full size of my new drives ?

Thanks a lot (and sorry for my english, it's not my mother tongue ;) )
Title: Re: Upgrading drives procedure ? (raid1)
Post by: HSishi on January 08, 2011, 10:03:38 AM
Maybe it's easier if you

- take out *both* drives (dead and living one)
- put in both new drives
- let the NAS initialize, format and prepare them
- attach the old "living" drive to an USB <--> SATA adapter
- install a Linux FS driver (there should be some around, even freeware)
- copy the data from the old drive via network on the NAS

It would take a while, I know, but this is the safest way.

//HSishi
Title: Re: Upgrading drives procedure ? (raid1)
Post by: titoumimi on January 08, 2011, 02:54:43 PM
Thanks a lot.

I saw on this forum that my idea won't work, cause the raid cluster will still be 750 Gb after. So i used your method.

The only thing is that transferring files from Windows 7 was soooo slow, that i downloaded ubuntu as a a live CD, then i mounted my drive ( sudo mount -t ext2 /dev/sdb2 /media/myusb/ ) and now the transfer is faster.

Think it will still take the whole night...  :-\

Thanks a lot anyway.
Title: Re: Upgrading drives procedure ? (raid1)
Post by: HSishi on January 08, 2011, 04:36:24 PM
Mh, ok, didn't think about Linux Boot CD's (never had to use them for any purpose), but this IS a better idea.

Another idea would be to fun_plug the new drive to open the telnet way to your NAS console. Within this, you can attach the still-working HD with an USB adaptor to the USB port, mount it from within the console and then copy your stuff.
I don't know if this would be a faster way. Transferring a lot of data needs his time ...

//HSishi