Obsolete Releases > SME 8.x Contribs
Please. How do you shrink a RAID 1. Moving to a SSD drive
purvis:
Terry. Thanks.
I saw that write up plus another on the web that might work. .
I actually did do a reinstall but there are other software like Avira for Linux installed on the server that took a great deal of work to get it all working correctly.
I am use to working hard and determined to get the process to work on shrinking the drives.
Also there was a write up on the form on another similar situation on forum that maybe I can clean up to make this work.
Stefano:
BTW, this is the right moment to move to SME9
janet:
purvis
It is simple enough to follow a tutorial to decrease the RAID size, but you need to ensure that there is no data in the area of the drive that will be shrunk/deleted, & that is not so simple. A tool like GParted may help to move all data to a certain part of the drive surface & create a chunk of free space.
If you have configured sme server appropriately & added say /opt to your backup routine (if contribs are installed there) & added db settings or custom templates for your specific contrib configuration, then all that data will be included in backups.
Also you cannot easily (or at all for that matter) extract all configuration data from the various db files, sme server splits various aspects of user configuration data across multiple databases, so it is NOT POSSIBLE to extract that data, or certainly no-one has ever done it so far in the last 16 years that I am aware of.
A backup & restore IS the most effective way & perhaps ONLY way to really achieve the end goal you are after.
Of course you will need to reinstall contribs, that has ALWAYS been the case when restoring from backup to a new OS install.
If you save all the contrib rpms into a ibay (as is recommended practice) then you have everything you need in the backup.
Again of course you may need to update some contribs if you wish to update to a new version of sme server (eg 8 to 9), but if you restore to the same version (eg 8 to 8 ) then reinstalling contribs AFTER doing the restore from backup, will allow the contribs to pick up all the contrib configuration settings & data they have created previously.
If you have hand/manually edited configuration (conf) files, then that is not recommended practice, & those changes are not in backups, & that data will be difficult to transfer to another server. Best policy is to follow SME server recommended practices.
Perhaps you should read
https://wiki.contribs.org/Backup_server_config
and particularly
https://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information
Jean-Philippe Pialasse:
I tried the procedure 3 times ( 2 immediately failed, and the last took time to show it was also a failure), and considering the amount of time to make all the verification to not having it to fail, I would really recommend to avoid the procedure to shrink your raid.
The best approach to me if you have a really complicated over customized system would be install a new one and then rsync all the folders except dev sys and proc.
I second Stefano that a simple backup restore should do the trick and allow to use this opportunity to move to SME9, then you will be happy for a few year more, rather than to have to deal with the migration later after losing at least 50 to 100hours trying to shrink your volume and double checking all file are still there. Sadly, this could still let you discovering only 2 months later that some important files are corrupted and backups have already been overwritten.
purvis:
I am sorry, my father was put in the hospital with a heart attack on Sunday and in the hospital too on Saturdayand pneumonia and my mother has dementia bad too.
I was out of pocket the too much. My father is out now.
Getting back to this subject.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version