Gentoo Archives: gentoo-user

From: victor romanchuk <rom@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM
Date: Tue, 03 Oct 2017 19:23:08
Message-Id: 9e48782d-cd4a-d44f-ef28-30d44b0f5a11@persimplex.net
In Reply to: Re: [gentoo-user] Linode discontinuing Xen, migrating to KVM by Tanstaafl
1 On 10/03/2017 02:28 PM, Tanstaafl wrote:
2 > On 10/3/2017, 1:27:45 AM, victor romanchuk <rom@××××××××××.net> wrote:
3 >> there are two files to change/check before migration
4 >>
5 >> * /etc/inittab :: console terminal (XEN PV domUs do use hvc console and KVM VM employ normal linux
6 >> console)
7 >>
8 >> -c1:12345:/respawn:/sbin/agetty 38400 hvc0 linux
9 >> +c1:12345:respawn:/sbin/agetty 38400 ttyS0 linux
10 >>
11 >> * š/etc/fstab :: XEN PV do use xvdN volumes and KVM VM volume naming is canonical
12 >>
13 >> -/dev/xvdbššš ššš noneššš ššš swapššš ššš swššš ššš 0 0
14 >> +/dev/sdbššš ššš noneššš ššš swapššš ššš swššš ššš 0 0
15 >>
16 >> the migration itself is automated; linode did it for me flawlessly: few minutes of downtime needed
17 >> to convert images and to move them to different hardware (in my case)
18 > Thanks - but I thought these were changed as part of the automated
19 > process (from what I've read).
20 >
21 > Did you change yours manually?
22 >
23
24 I forgot it :)
25
26 most likely it was performed by linode automation at least what I'm seeing now confirms that (both
27 files were modified together):
28
29 $ stat /etc/inittab /etc/fstab
30 š File: '/etc/inittab'
31 š Size: 1937ššššš ššš Blocks: 4ššššššššš IO Block: 1024šš regular file
32 Device: 800h/2048dššš Inode: 102725ššššš Links: 1
33 Access: (0644/-rw-r--r--)š Uid: (ššš 0/ššš root)šš Gid: (ššš 0/ššš root)
34 Access: 2017-09-11 23:46:24.000000000 +0300
35 Modify: 2017-09-11 23:46:24.000000000 +0300
36 Change: 2017-09-11 23:46:24.000000000 +0300
37 šBirth: -
38 š File: '/etc/fstab'
39 š Size: 1066ššššš ššš Blocks: 4ššššššššš IO Block: 1024šš regular file
40 Device: 800h/2048dššš Inode: 102672ššššš Links: 1
41 Access: (0644/-rw-r--r--)š Uid: (ššš 0/ššš root)šš Gid: (ššš 0/ššš root)
42 Access: 2017-09-11 23:46:24.000000000 +0300
43 Modify: 2017-09-11 23:46:24.000000000 +0300
44 Change: 2017-09-11 23:46:24.000000000 +0300
45 šBirth: -
46
47 anyway I kept that in mind when preparing myself to switch to KVM: the configuration is unusual -
48 64bit kernel (supplied by linode) and 32bit userspace (minimalistic gentoo with very few packages
49 and default x86 profile)