l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2007 Aug 28 13:50

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] I'm over my head - need a cookbook for transferingsystem to new disks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] I'm over my head - need a cookbook for transferingsystem to new disks

This was fantastic help. This evening I went for it and got pretty far.
Doing the RAID clone was a wonderful idea - the files copied in about
an hour. I now have a booting system with both the 500GB drives in there
in a RAID 1.

Just one last thing to do. During the RAID merge with the mismatched
drive sizes, mdadm drew down my partition size on the 500GB drive to
create a partition that matched the size of the Linux Raid partition on
the 300GB drive. So, even though I have a working system, I still have
to extend that booted partition to fill the remainder of the free space.
That's for tomorrow - hopefully I'll use the right program and not
have to go back to the start.

Thanks to all who have tried to help,

-- Dave Spencer, PageWeavers

--- Original Message ---

I also figured I'd mentioned that with a mirror it's even easier.  I just did 
this to migrate from 2 250GB disks to 2 500GB disks.

Something along the lines of:
#1 Pull disk B, put it in a safe place in case this goes poorly.
#2 Insert 500 GB disk B
#3 partition disk b
#4 hotraid add
#5 install grub
#6 wait for raid sync
#7 shutdown, put 500 disk B in slot A and new 500GB disk in slot b
#8 partition disk b
#9 hotsync b
#10 install grub
#11 resize2fs and/or lvextend

No need for partition magic, and most importantly if it goes poorly you
have an original disk to use.  Partition magic and friends often work, but I
wouldn't want to try them without a backup.  You have a backup... right?

So there's potentially 3 things to change:
1) Software RAID
2) LVM (pvresize and/or lvextend)
3) Actual filesystem (resize2fs or friends)
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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.