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 2008-11-27 04:10:32

edward3h
Member
Registered: 2007-08-16
Posts: 14

upgrading disks - use PC to copy?

I'm looking into upgrading my 2 500GB disks to 1TB ones. I want to keep the data from the old disks though. Currently they have a RAID1 of about 400GB and JBOD with the rest of the space.

I have a PC which I run Ubuntu on, and it has spare SATA ports and drive bays, so I can physically move the disks into that machine. The question is, if I do that, will it be able to read the existing filesystems so I can copy the data onto the new disks?

I see some posts mentioning mdadm, so I'm reading about that now. Is that the answer?

Offline

 

#2 2008-11-27 04:52:59

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: upgrading disks - use PC to copy?

You should have no difficulty reading data from the RAID1 partition - the JBOD one will be the challenge

Offline

 

#3 2008-11-27 11:43:43

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: upgrading disks - use PC to copy?

yes mounting the raid disks will be no problem - I had to specify the fs type as ext2 though as ubuntu complained otherwise. no idea about the other jbod partition though

Offline

 

#4 2008-11-27 13:34:27

edward3h
Member
Registered: 2007-08-16
Posts: 14

Re: upgrading disks - use PC to copy?

Thanks for the comments.

I think I have enough spare disk capacity that I can copy contents of the JBOD to another machine before I move the disks, so I can work around that issue.

Offline

 

#5 2008-11-27 14:07:53

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: upgrading disks - use PC to copy?

You should be able to do it with just one of the disks.

Offline

 

#6 2008-12-07 19:16:20

edward3h
Member
Registered: 2007-08-16
Posts: 14

Re: upgrading disks - use PC to copy?

Just following up. I'm in the middle of my upgrade, but I managed to put the old disks in my PC without too much trouble.

I'm running Ubuntu 8.04. I installed the 'mdadm' package before I added the disks. Then I moved the disks into the PC (I bought the extra SATA cables I needed last week).

I was a bit disappointed that Ubuntu didn't automatically mount my disks! Anyway, I ran these commands (as sudo):
mdadm --assemble /dev/md0 /dev/sdb2 /dev/sdc2
mdadm --assemble /dev/md1 /dev/sdb3 /dev/sdc3

This was enough for the disks to show up in the 'places' menu on Ubuntu and for them to be readable, which was the main thing I wanted to check. I guess when I get round to it I'll make sure they get assembled at boot and add them to /etc/fstab.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB