On 10/03/2017 02:28 PM, Tanstaafl wrote:
> On 10/3/2017, 1:27:45 AM, victor romanchuk <[email protected]> wrote:
>> there are two files to change/check before migration
>>
>>   * /etc/inittab :: console terminal (XEN PV domUs do use hvc console and 
>> KVM VM employ normal linux
>>     console)
>>
>>     -c1:12345:/respawn:/sbin/agetty 38400 hvc0 linux
>>     +c1:12345:respawn:/sbin/agetty 38400 ttyS0 linux
>>
>>   *  /etc/fstab :: XEN PV do use xvdN volumes and KVM VM volume naming is 
>> canonical
>>
>>     -/dev/xvdb        none        swap        sw        0 0
>>     +/dev/sdb        none        swap        sw        0 0
>>
>> the migration itself is automated; linode did it for me flawlessly: few 
>> minutes of downtime needed
>> to convert images and to move them to different hardware (in my case)
> Thanks - but I thought these were changed as part of the automated
> process (from what I've read).
>
> Did you change yours manually?
>

I forgot it :)

most likely it was performed by linode automation at least what I'm seeing now 
confirms that (both
files were modified together):

$ stat /etc/inittab /etc/fstab
  File: '/etc/inittab'
  Size: 1937          Blocks: 4          IO Block: 1024   regular file
Device: 800h/2048d    Inode: 102725      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-09-11 23:46:24.000000000 +0300
Modify: 2017-09-11 23:46:24.000000000 +0300
Change: 2017-09-11 23:46:24.000000000 +0300
 Birth: -
  File: '/etc/fstab'
  Size: 1066          Blocks: 4          IO Block: 1024   regular file
Device: 800h/2048d    Inode: 102672      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-09-11 23:46:24.000000000 +0300
Modify: 2017-09-11 23:46:24.000000000 +0300
Change: 2017-09-11 23:46:24.000000000 +0300
 Birth: -

anyway I kept that in mind when preparing myself to switch to KVM: the 
configuration is unusual -
64bit kernel (supplied by linode) and 32bit userspace (minimalistic gentoo with 
very few packages
and default x86 profile)



Reply via email to