Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: farsh on September 25, 2008, 11:55:39 PM
-
I am running out of room ..
df -T
Filesystem Type 1K-blocks Used Available
/dev/hda3 ext3 2103320 2036032 0
/dev/hda1 ext3 97570 14286 78246
none tmpfs 257756 480 257276
What is the fastest way to back this drive to a larger drive with larger partitions with minimum headache..
-
farsh
What is the fastest way to back this drive to a larger drive with larger partitions with minimum headache..
Click the Howto link at top, and read the RAID Howto.
ie Add a bigger drive to the array and use the grow/resize commands given.
-
Do I have to reconfigure to have raid working ?
In admin console, when I tried option 5 / to manage disk redundancy :
There are no raid devices configured
-
farsh
Did you install only one drive and select no raid option when the sme server was first setup ?
-
Mary,
I am pretty sure that would be the case.
I tried to go through the admin console to see if there was an option to do to reconfigure again, but there was no dialog for this.
by the way , after I upgraded the server to the latest software, I found out that there were a whole bunch of output errors in the /var/log/messeges and /var/log/lastlog and mysql gave me error 28 (out of space ) , and my mamboo site failed.
thanks for your help.
-
farsh
I think you can only select RAID mode at initial installation, and it cannot be changed later.
Your alternatives are:
1) do a full system backup, then install a larger drive, then reinstall sme OS, then restore from backup and install any contribs. The standard backup tool or other contribs will do this OK for you depending on how much data you have.
2) Temporarily remove the existing drive, install the larger drive, install the sme OS, re-attach the old drive and do a restore from disk using the techniques outlined in
http://wiki.contribs.org/UpgradeDisk
You will still need to reinstall any contribs.
3) You could copy ibay data off the server, then do a configuration backup using the techniques in
http://wiki.contribs.org/Backup_server_config
Rebuild a new server with a larger hard drive or drives, restore the backup, then reinstall contribs, then copy back the ibay data
4) Use Affa to backup and rebuild a new server see
http://wiki.contribs.org/Affa
and particularly see
http://wiki.contribs.org/Moving_SME_to_new_Hardware
You will still need to reinstall contribs
For the future, it's always a good idea to configure all servers using RAID1, even where a single drive is installed.
That way it's easy to add a second drive later, and use other techniques to upgrade disk size etc .
sme will run with a single drive in degraded RAID mode quite OK.
...after I upgraded the server to the latest software, I found out that there were a whole bunch of output errors in the /var/log/messeges and /var/log/lastlog and mysql gave me error 28 (out of space ) , and my mamboo site failed.
You obviously have some other issues, perhaps related to mysql.
You really need to quote the errors, but please start a new thread.
-
Mary,
thanks for your response,
I went ahead and installed a fresh 7.3 on a new larger disk , but during install process , I noticed that it still did not configure raid device.
should I have a second drive connected for the raid configuration...
excuse my ignorance on this area.. this is the first time I am using raid ..
-
If you want RAID you must have a second identical drive, However, the way a default installation works is the system runs on a degraded (meaning broken) RAID array. This allows you to install the second drive at a later date and the system will automatically build the array, syncing the new drive with the original.
this is explained here: http://wiki.contribs.org/Raid
In the system I describe above, the following code:
cat /proc/mdstat
would return:
(from my test server)
Personalities : [raid1]
md2 : active raid1 sda2[0]
78043648 blocks [2/1] [U_]
md1 : active raid1 sda1[0]
104320 blocks [2/1] [U_]
unused devices: <none>
If another identical drive were added to the above system it would automatically be mirrored with the current drive.
-
mary,
thanks , that is what I have now.
cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 hda2[0]
38989632 blocks [2/1] [U_]
md1 : active raid1 hda1[0]
104320 blocks [2/1] [U_]
unused devices: <none>
while in the old install , I had nothing under personalities..
I am reluctant to restore the configuration from the old drive.
I have setup new ibays and domains, if I manage to move my databases to the mysql I think I will be ok..