tlicht
Now I have added a second identical drive and would like to convert the server to raid 1.
To also further answer your original post, the usual way to do this is by doing a backup, then build a new RAID1 system & then restore from backup.
The underlying drive structure does not matter.
You can backup your one drive non RAID server, using the admin console menu to manually instigate a backup to an attached USB drive (which must be formatted as ext3). Alternatively use the server manager Backup to workstation function, to backup to a locally connected USB drive (also formatted as ext3).
Then you build the new server by removing the single non RAID drive, insert one or two clean & blank drives (with no partition information on them), & install sme server from CD as RAID1.
Then restore from your USB backup, either at first boot if you are using the console backup, or by using the server manager Restore function, if you did the backup in server manager. You may have to configure the server manager backup.
Alternatively as mentioned by Charlie & myself earlier in this thread, you can bypass the backup stage, & just restore directly from the old single non RAID drive. This can save a lot of time if you have a large amount of data to backup.
When using the Upgradedisk restore method, for the mysql databases to be correctly restored, you MUST run the
/sbin/e-smith/signal-event pre-backup
command BEFORE shutting down the old server.