LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-28-2012, 03:16 AM   #1
J_U_D_E
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Rep: Reputation: 0
How to Upgrade Redhat 3 to Redhat 5 and preserve data and file system structure


Please how will i Upgrade Redhat 3 to Redhat 5 and preserve data and file system structure.
 
Old 02-28-2012, 05:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
Don't. Redhat will not support upgrades at all, and that is a big jump. I would not recommend upgrading this at all. Do the right thing and back up important data and rebuild.
 
Old 02-29-2012, 02:03 AM   #3
J_U_D_E
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Original Poster
Rep: Reputation: 0
I also considered Backup of the critical file system. But how effective is the tar command for this. I need to upgrade the OS from Redhat 3 to Redhat 5. There is an application i need to upgrade also. The data associated with the application recides in the Redhat 3 file filesystem. I once did an upgrade of Redhat 5 and some where in the installation steps, there was an option to not format but preserve file system/structure and data.
 
Old 02-29-2012, 02:39 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
If you have a dedicated partition for your application data, possibly just /opt or similar, then you can absolutely leave that individual filesystem untouched. There would be no distro specific packages installed to /opt so you can pick that up after a new install has been completed, no problem with that detour at all.
 
Old 03-10-2012, 10:40 AM   #5
J_U_D_E
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Original Poster
Rep: Reputation: 0
Was able to carry out the upgarde successfully. Redhat 5 supports upgrade. Had about three patitions that contained data that i needed to preserve. /data1,/data2,/data3.There are other partitions. During installation i selected custom in the partition layout drop down. Recreated all the partition and then selected preserve data. The only one that must be destroyed is / and /boot(You cant preseve thses filesystem as they have to be destroyed for the Redhat 5 / and /boot to be created.)
 
Old 03-12-2012, 05:06 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
No, Redhat does NOT support the upgrade. It is technically possible within the installer, but they will NOT provide commercial support for it, as their disclaimers very boldly state.
 
Old 03-13-2012, 06:20 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Redhat doesn't support a lot of things. Last time I found a bug in one of their scripts, it took them 2 years to fix and they half assed it.
 
Old 03-14-2012, 03:15 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
Quote:
Originally Posted by trickykid View Post
Redhat doesn't support a lot of things. Last time I found a bug in one of their scripts, it took them 2 years to fix and they half assed it.
Get off my land!
 
Old 03-14-2012, 09:36 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Quote:
Originally Posted by acid_kewpie View Post
Get off my land!
Soon enough, soon enough!
 
Old 03-14-2012, 10:03 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,943
Blog Entries: 28

Rep: Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234
Moderator response

Moved: This thread is more suitable in <Red Hat> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-15-2012, 07:58 AM   #11
J_U_D_E
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Original Poster
Rep: Reputation: 0
What i mean is that Redhat installer support the upgrade. Well the risk is worth trying and the data was OK.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where does file system keeps file name in the file system data structure pavan.manipal Linux - Newbie 4 02-22-2010 07:38 AM
Restore an image: how to preserve file system? nosnetrom Linux - Software 2 02-19-2010 05:43 PM
error starting the redhat console in redhat certification system 7.1 ceenu99 Linux - General 0 01-17-2006 06:22 AM
RedHat 9 file system Linh Linux - General 4 06-02-2003 10:22 PM
Redhat 8.0 Specific File Structure TerryRJ Linux - Distributions 5 03-01-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration