Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Help upgrade server w/SW RAID5 from kernel 2 to 3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Wed Jan 08, 2014 9:04 pm    Post subject: [Solved] Help upgrade server w/SW RAID5 from kernel 2 to 3 Reply with quote

I've got an x86 stable, headless, Gentoo server that I want to upgrade over the network, from the 2.6.33 kernel to the latest stable, 3.10.25 kernel. The server is configured with a single drive for the OS, and a 12 drive raid5 array for a separate volume. Unfortunately this is one of the first Gentoo servers I ever built, and it is very basic. It's doesn't use lvm, I just created the single raid5 volume and created one big XFS partition on it. I use grub-0.97 with no initram, etc.

The first time I tried upgrading the kernel from 2.x to 3.x, (around the release of 3.x), I remember rebooting and then not being able to mount the raid5 array. At the time, I needed it back up and running, and so I didn't try and debug the situation, I simply downgraded to the last known good 2.6 kernel, and then masked any kernel versions above that. However, I'd like to try upgrading now and solving this, preferably preemptively.

It's currently up and running under the old kernel and I've updated the world, and emerged the latest kernel and linux headers. I just need to know once I upgrade the kernel, if there is anything else I need to do before I reboot.

Thanks,

Jason


Last edited by jasn on Thu Jan 09, 2014 5:45 am; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7285
Location: almost Mile High in the USA

PostPosted: Thu Jan 09, 2014 5:13 am    Post subject: Reply with quote

"WFM" ("Works for me")
I had upgraded a really old 2.6.20s era machine with a 4-disk RAID5 all the way to 3.6+ ... And even changing from IDE drivers to libata...

Just be careful with disk drivers...

Likely you will need to spend the debugging effort unfortunately, whether it is posting your .config and/or you dmesg on failed detect to see what worked and what didnt.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Thu Jan 09, 2014 5:44 am    Post subject: Reply with quote

(Well I'll be..)

You're right. I just now tried rebooting my server after upgrading the kernel from 2.x to 3.x, and it worked without issue.

Thanks..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum