l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2007 Jan 06 16:47

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] RAID drive-How I did it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] RAID drive-How I did it



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I finally figured it out after many attempts to clone my old 100g drive
to a new 300g drive.  Heres the story.

First the players.
RAID:
3ware 8006 2 port Hardware raid controller.
BP-sata3141 B HotSwap backplain (hot swap raid cage).

Drives:
1 100g seagate sata drive (old) 4 partition
1 114g Maxtor sata drive (old) 4 partition
2 320g Maxtor sata drive (new)

Array:
RAID 1 Mirror

The first thing I tried doing seamed the easiest and most likely not to
work.

I used the 3dm web interface to degrade the original array.  This
resulted in two Identical boot able drives.  I then swapped in the new
300g drive and rebuilt the array.  this worked but I once again had 2
100g drive.  The 300g had 200g of wasted space.  I figured ok I'll just
use parted to expand the partition.  This was no good.  Parted and fdisk
both saw the 300g drive as only 100g.  Hmmm, back to the beginning.

Then I came across Gparted (http://gparted.sourceforge.net/).  A live CD
that clones, move, and resizes partition.  Sounded great.  So I used
gparted to copy my old drive to the new drive, and resize the partition.
 This worked just fine but now the new cloned drive wont boot.  All I
got was GRUB _ .  I figured I would just reinstall grub and off I go.

I booted into rescue mode and tried to chroot the new drive.  of course
this didn't work it kept giving me errors.  Because of that grub-install
- -recheck /dev/sda wont work nor would the grub interface
(http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/9398-solving-boot-problems-grub-2nd-edition.html)
is an excellent grub how to btw.

This sent me back on the hunt.  Next I come across G4U
(http://www.feyrer.de/g4u/#disks).  With this tool I did a local disk
clone from old to new.  Following this I was able to boot the new 300g
drive.  This time, however, the drive was 100g of data and 200g of
unallocated disk space.

Back to gparted.  I was now able to resize the partition on the drive.
I then rebooted and in the 3ware bios rebuilt the array and viola.  I
now have an exact copy of my old drive but with a lot more room.

Wade Pinkston wrote:
> Santa was good to me this year and got me a matching pair of 300G SATA
> drives for me server.  I currently have two 100G drives set to RAID 1
> (mirror) in a Hot Swap RAID cage.  This raid cage is connected and
> controlled by a 3ware 8006 raid controller.  This card will only control
> two drives so I want to replace my current drives with the new ones.
> 
> My question is what is the best way to go about this?  Can I simply
> dismantle the raid, remove drive 1 and replace with the new larger drive.
> Reassemble the raid and let the controller do the rest, then repeat for
> drive 0?
> 
> 
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech

- --
Wade Pinkston

Ipsa scientia potestas est

Windows,a
32 bit graphical interface for a
16 bit patch to an
8 bit operating system internally coded for a
4 bit processor written by a
2 bit company that can't stand
1 bit of competition

GnuPG Key ID 0x216FDD35
gpg --keyserver pgp.mit.edu --recv-keys 216FDD35
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFnyVYv+6+qSFv3TURAgbfAKC6mkKNFlZIpAq8kTJaj/1gEIYniQCeNQQb
gVssBLzuHw/+f2CUz+58gys=
=JTiC
-----END PGP SIGNATURE-----
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.