Koozali.org: home of the SME Server

RAID - disk upgrade problems

Offline raem

  • *
  • 3,972
  • +4/-0
RAID - disk upgrade problems
« Reply #15 on: April 05, 2005, 02:03:40 AM »
ldkeen

> It's alright - worked it out.

Sorry I missed that last line, just edited it myself (test only)
I'll change it back now
...

mbachmann

RAID - disk upgrade problems
« Reply #16 on: April 05, 2005, 08:50:41 AM »
Thank you, your work is appreciated very much. Raid migrating is difficult thing and a howto from someone who tested and sorted the process decently out for 4 weeks is very helpful. Pheraps you should point that out in the howto.

The easiest thing to wiki: just log into the Forums, then you can automatically edit the wiki. There is no special login.

I corrected some minor spelling errors/formatting.

Online ReetP

  • *
  • 3,940
  • +6/-0
RAID - disk upgrade problems
« Reply #17 on: April 05, 2005, 10:29:21 PM »
Finally managed to get a test bench machine setup.

Tried to clone with Ghost 2003 to no avail. Same 'kernel panic : No init found'

It occurred to me when I ran ghost and it looked at the partitions that it did not recognose the partition type.  Now I thought that Ghost 2003 recognised EXT3 partitions. But does it recognise RAID partitions ? And presumably the same with Acronis.

Just had a look and found this :

http://service1.symantec.com/SUPPORT/ghost.nsf/docid/1999010613522725?Open&src=sg&docid=2002092510522725&nsf=ghost.nsf&view=8f7dc138830563c888256c2200662ecd/dfb4b017218165c088256c3f00622fae?opendocument&prod=norton%20ghost&ver=2003%20for%20windows%202000/nt/me/98&dtype=&prod=Norton%20Ghost&ver=2003%20for%20Windows%202000/NT/Me/98/XP&osv=&osv_lvl

So it looks as if you cannot use Ghost (or probably Acronis) to directly/easily clone RAID partitions. I am going to try and follow what Lloyd did but use Ghost intead of dd and then follow on with Knoppix.

Anyone else go any thoughts on this ?

Do we have a Wiki page on HowNOTto ;-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Online ReetP

  • *
  • 3,940
  • +6/-0
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Online ReetP

  • *
  • 3,940
  • +6/-0
RAID - disk upgrade problems
« Reply #19 on: April 12, 2005, 06:29:31 PM »
Lloyd,

Followed your Howto with a few changes and it works admirably.

Not sure if you want to work any of the following into it - only 1 reboot necessary :-) :

For IDE drives do /dev/hdx (instead of /dev/sdx) to /dev/hdy

I left one of the existing drives on /dev/hdb and hung the two new ones on /dev/hda & /dev/hdc

Boot knoppix noswap

mnt hdb, copy the raidtab to local /etc/raidtab, unmount /dev/hd*

IF you are not changing the drive assignments (e.g. you are moving from IDE - IDE) you do not need to alter the raidtab

dd'd hdb to hda & hdc

Follow on the howto

Not sure what the resize2fs does. On mine, I left /dev/md0 (boot partition) as is and did not resize.

resize2fs on md1 did it's thing, but if I recall correctly, it reported 'nothing to do' on md0. Will check again when I do the real thing this weekend.

Hopefully I will get time to try again with Acronis & Ghost as I now have a nice test rig for it.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation