Koozali.org: home of the SME Server

Upgrading with custom fstab and raidtab

Jim Harwell

Upgrading with custom fstab and raidtab
« on: March 13, 2002, 10:57:15 PM »
I am currently running SME v5.0 in the following configuration.

/boot, /, and swap are on 2 9GB SCSI hdds with software raid 1.
/home is on 2 100GB IDE hdds with software raid 1.

My question is this:

When upgrading my server to 5.1.2, will the upgrade process keep this configuration, or do i need to go buy another 100GB hdd to back everything up?

Any light you can shed on this would be most helpful.

Thank you,

Jim Harwell
remove NOSPAM to reply

Gary Parker

Re: Upgrading with custom fstab and raidtab
« Reply #1 on: March 14, 2002, 01:26:37 PM »
Well, I tried to do a similar sort of thing and wound up loosing *all* the data in my /home directory. I had a single 2Gb ide as /boot, / and swap and two 40Gb IDEs in linear mode as /home.

I had to do a reinstall and thought to myself 'Ah, now worries, I'll just reinstall to the 2Gb drive and then remount the old /home once the install had finished.'

*BAD MOVE*

The e-smith installer, in it's infinite wisdom, decided that as I had 3 drives in my system it would put /boot on the 2Gb drive, swap on the first 40Gb drive and / on the 2nd 40Gb drive. The damn thing didn't even ask me or give me a clue what it was doing :(

Why are hdd's so much cheaper than decent tape drives these days?

Sooooo.....to do an upgrade or reinstall without loosing data I'd recommend disconnecting the two 100Gb drives you have and doing a standard upgrade to the system on the 2 SCSI discs, then remount the IDE raid after you've finished.

You'll also probably have to copy the bits and pieces out of /home back to the original /home on / to be able to perform the upgrade, but so long as you take everything but /home/files that shouldn't be too much.

Although you might just save yourself a lot of time and effort by just buying a new hdd...

Hope this helps...

Gary

Jim Harwell

Re: Upgrading with custom fstab and raidtab
« Reply #2 on: March 15, 2002, 03:57:51 AM »
Gary,

Thanks for the info, I had 2 40GB hdd on the shelf and threw them into a workstation to backup.  Ends up it was a waste of time, the 5.0 to 5.1.2 upgrade went perfect, not a problem at all.  All the data was intact and it kept the configuration I had originally.  Sorry your upgrade didn't go as well.

Thank you,
Jim Harwell
remove NOSPAM to reply