On 04/26/2013 09:18 AM, Herbert Poetzl wrote: > On Fri, Apr 26, 2013 at 07:54:50AM -0700, Roderick A. Anderson wrote: >> I've seen the posts about 32bit guests on 64bit hosts but >> I don't remember if any of the threads dealt with CentOS, >> RHEL, etc. > >> While I'm working on the yum patch for CentOS 6.4 it would >> be nice to get the guests moved to the new (63bit) host. > > I presume they ripped you off at the hardware store by > keeping one bit for themselves while charging the full > price for a 64bit system :) Darn. I'm going back and ask! :-) >> The issue is the guests migrating are currently build on >> a 32bit CentOS 5 host. > > just set the personality for the guest (in the guest > config) and everything should be fine, as long as the > host kernel supports the 32bit API. > >> Can I build them on the 64bit host using the rsync method? > > yes, rsync just copies the files, which is fine and > doesn't care about 64bit vs 32bit, nevertheless, you > should set the personality correctly. > >> If so any gotchas I should watch for? > > as I said, kernel config should include the 32bit API > CONFIG_IA32_EMULATION=y I'm using the dhozac-vserver repo. Looking at config-2.6.32-358.2.1.el6.vs2.3.0.36.29.6.31.x86_64 I see it was. Thanks goodness for that! > and the personality should be set correctly to linux32 > in /etc/vservers/<guest>/personality (to verify, check > with uname -a inside the guest). Well I'm going to embarrass myself by asking what should I see? And to let everyone think I'm an antique collector I'll include the output. # uname -a Linux ns4.asisna.com 2.6.22.19-vs2.3.0.34.1 #1 SMP Mon Mar 17 05:32:04 EDT 2008 i686 i686 i386 GNU/Linux I'm guessing the i686 and i386 are the giveaways. And I don't upgrade very often. It works ... well! Rod -- > > HTH, > Herbert > >> TIA, >> Rod >> --