Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: paul_NZ on March 18, 2004, 08:35:18 AM
-
I currently run a SME 5.6 server running the "standard" software raid.
I would like to know if there is a way to "reverse" or stop the software raid function "permanently" to avoid having to reinstall from stratch?
If so how?
My plan is to swap to the OS independent hardware raid subsystem ... MRS raid subsystem.
-
Paul,
You are talking about the SME - "activated on install" - Raid1 array - right?
You use only 2 HD's - right ?
If both answers are YES then it should be pretty easy.
Please post the content of:
/etc/fstab
/etc/raidtab
and the result of command:
cat /proc/mdstat
Also let us know if you have some kind of backup storage available (spare HD of same size ?)
(...we could do it 110%)
Regards
-
Hello Reinhold
The answer to both your questions is "yes".
Below are the results/contents you requested ...
content of /etc/fstab
LABEL=/ / ext3 usrquota,grpquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/md2 swap swap defaults 0 0
//amd900/backup /mnt/backup smbfs username=paul,password=paul4636
content of /etc/raidtab
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda2
raid-disk 0
device /dev/hdc2
raid-disk 1
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda3
raid-disk 0
device /dev/hdc3
raid-disk 1
result of command cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hdc3[1]
262016 blocks [2/1] [_U]
md1 : active raid1 hdc2[1]
59681408 blocks [2/1] [_U]
md0 : active raid1 hdc1[1]
102208 blocks [2/1] [_U]
unused devices: <none>
BTW I don't currently have a "spare" disk.
As you can see I'm running on only one disk currently while waiting the replacement to arrive from the supplier under RMA.
I plan to return the raid to working condition using Darrel May's Raid Recovery How To ... then move (with your help) to the hardware raid subsystem ... probably using the MRSeries subsystem Darrel sells or the Accusys 7500 raid subsystem as this will make managing these soughts of failures more simple and also increase performance.
Thanks
-
Paul,
Looks standard except from one thing...
I sure was assuming you had an unbroken setup.
Sort of a shock that you are on 1 disk now :-o
Well I'd rather not go on before we cannot work
on a drive where you can at least make 1 mistake
without getting everything killed but here's the proceedings:
-Basically we safely copy all your stuff from the array drive to a new formatted HD,
(residing on /dev/hdd = secondary slave, momentarily removing what's there now (if anything))
-The partition arrangement basically is identical so:
raiddev /dev/md0 --> device /dev/hdd1 = "/boot" boot drive
raiddev /dev/md1 --> device /dev/hdd2 = swap drive
raiddev /dev/md2 --> device /dev/hdd3 = "/" root drive
-then rearrange fstab on hdd3,
/etc/fstab we make should be as shown here:
--------------------------------------------------------------------------------------
LABEL=/ / ext3 usrquota,grpquota $
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
//amd900/backup /mnt/backup smbfs username=paul,password=paul4636
---------------------------------------------------------------------------------------
-then remove hda and plug our "newhdd" there.
Since I see your tape drive in the fstab I feel compelled to mention that you could
even do that with mondoarchive if you use that as backup solution (see the HowTo)...
... but NO we are not going to do it with just one "live" HD 8-)
PM me when you get a 2nd HD and I'll be glad to describe in more detail
- meanwhile got a rush job till monday ;-)
Regards
Reinhold
-
Hello Reinhold
Thank you ... once I get the system back to "normal" with the new HDD I'll get back to you for further assistance to move to the hardware raid subsystem.
Cheers