]> git.proxmox.com Git - pve-docs.git/blame - pve-faq.adoc
qm: pct: mention move-disk for storage and reassign
[pve-docs.git] / pve-faq.adoc
CommitLineData
fb810903 1Frequently Asked Questions
b5643436 2==========================
194d2f29 3ifndef::manvolnum[]
5f09af76 4:pve-toplevel:
194d2f29
DM
5endif::manvolnum[]
6ifdef::wiki[]
cb84ed18 7:title: FAQ
5f09af76
DM
8endif::wiki[]
9
fb810903
DM
10NOTE: New FAQs are appended to the bottom of this section.
11
12/////////////////////////////////////////////////////////////////
13ADD NEW FAQS TO THE BOTTOM OF THIS SECTION TO MAINTAIN NUMBERING
14/////////////////////////////////////////////////////////////////
15
16[qanda]
17
a660560c 18What distribution is {pve} based on?::
fb810903 19
a55d30db 20{pve} is based on https://www.debian.org[Debian GNU/Linux]
fb810903 21
a660560c 22What license does the {pve} project use?::
fb810903 23
a660560c
DM
24{pve} code is licensed under the GNU Affero General Public License,
25version 3.
26
27Will {pve} run on a 32bit processor?::
28
5eba0743 29{pve} works only on 64-bit CPUs (AMD or Intel). There is no plan
fb810903
DM
30for 32-bit for the platform.
31+
fd7fb228 32NOTE: VMs and Containers can be both 32-bit and 64-bit.
fb810903
DM
33
34Does my CPU support virtualization?::
35
8c1189b6
FG
36To check if your CPU is virtualization compatible, check for the `vmx`
37or `svm` tag in this command output:
fb810903
DM
38+
39----
40egrep '(vmx|svm)' /proc/cpuinfo
41----
42
43Supported Intel CPUs::
44
4564-bit processors with
a55d30db
OB
46https://en.wikipedia.org/wiki/Virtualization_Technology#Intel_virtualization_.28VT-x.29[Intel
47Virtualization Technology (Intel VT-x)] support.
48(https://ark.intel.com/content/www/us/en/ark/search/featurefilter.html?productType=873&2_VTX=True&2_InstructionSet=64-bit[List of processors with Intel VT and 64-bit])
fb810903
DM
49
50Supported AMD CPUs::
51
5264-bit processors with
a55d30db 53https://en.wikipedia.org/wiki/Virtualization_Technology#AMD_virtualization_.28AMD-V.29[AMD
fb810903
DM
54Virtualization Technology (AMD-V)] support.
55
fd7fb228 56What is a container/virtual environment (VE)/virtual private server (VPS)?::
fb810903 57
fd7fb228
DW
58In the context of containers, these terms all refer to the concept of
59operating-system-level virtualization. Operating-system-level virtualization is
60a method of virtualization, in which the kernel of an operating system
61allows for multiple isolated instances, that all share the kernel. When
62referring to LXC, we call such instances containers. Because containers use the
63host's kernel rather than emulating a full operating system, they require less
64overhead, but are limited to Linux guests.
fb810903 65
a660560c 66What is a QEMU/KVM guest (or VM)?::
fb810903 67
a660560c
DM
68A QEMU/KVM guest (or VM) is a guest system running virtualized under
69{pve} using QEMU and the Linux KVM kernel module.
fb810903 70
a660560c 71What is QEMU?::
fb810903 72
a660560c
DM
73QEMU is a generic and open source machine emulator and
74virtualizer. QEMU uses the Linux KVM kernel module to achieve near
75native performance by executing the guest code directly on the host
76CPU.
92702cb2
TL
77It is not limited to Linux guests but allows arbitrary operating systems
78to run.
38366597 79
718ea5cb 80[[faq-support-table]]
38366597
DM
81How long will my {pve} version be supported?::
82
83{pve} versions are supported at least as long as the corresponding
84Debian Version is
85https://wiki.debian.org/DebianOldStable[oldstable]. {pve} uses a
86rolling release model and using the latest stable version is always
87recommended.
88+
89[width="100%",cols="5*d",options="header"]
51d1bdf6
TL
90|===============================================================================
91| {pve} Version | Debian Version | First Release | Debian EOL | Proxmox EOL
bdf0aff2 92| {pve} 7.x | Debian 11 (Bullseye)| 2021-07 | tba | tba
51d1bdf6
TL
93| {pve} 6.x | Debian 10 (Buster) | 2019-07 | 2022-07 | 2022-07
94| {pve} 5.x | Debian 9 (Stretch) | 2017-07 | 2020-07 | 2020-07
95| {pve} 4.x | Debian 8 (Jessie) | 2015-10 | 2018-06 | 2018-06
96| {pve} 3.x | Debian 7 (Wheezy) | 2013-05 | 2016-04 | 2017-02
97| {pve} 2.x | Debian 6 (Squeeze) | 2012-04 | 2014-05 | 2014-05
98| {pve} 1.x | Debian 5 (Lenny) | 2008-10 | 2012-03 | 2013-01
99|===============================================================================
16aecaa2 100
718ea5cb
TL
101[[faq-upgrade]]
102How can I upgrade {pve} to the next release?::
103
104Minor version upgrades, for example upgrading from {pve} in version 5.1
105to 5.2, can be done just like any normal update, either through the Web
106GUI __Node -> Updates__ panel or through the CLI with:
107+
108----
109apt update
110apt full-upgrade
111----
112+
113NOTE: Always ensure you correctly setup the
114xref:sysadmin_package_repositories[package repositories] and only
115continue with the actual upgrade if `apt update` did not hit any error.
116+
117Major version upgrades, for example going from {pve} 4.4 to 5.0, are
118also supported. They must be carefully planned and tested and should
119*never* be started without having a current backup ready.
120Although the specific upgrade steps depend on your respective setup, we
121provide general instructions and advice of how a upgrade should be
122performed:
123+
f0ff7de6 124* https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0[Upgrade from {pve} 6.x to 7.0]
51d1bdf6 125
5c683f13
TL
126* https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0[Upgrade from {pve} 5.x to 6.0]
127
718ea5cb
TL
128* https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0[Upgrade from {pve} 4.x to 5.0]
129
130* https://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0[Upgrade from {pve} 3.x to 4.0]
131
92a08560 132LXC vs LXD vs Proxmox Containers vs Docker::
16aecaa2
EK
133
134LXC is a userspace interface for the Linux kernel containment
8e5f15be
DM
135features. Through a powerful API and simple tools, it lets Linux users
136easily create and manage system containers. LXC, as well as the former
fd7fb228
DW
137OpenVZ, aims at *system virtualization*. Thus, it allows you to run a
138complete OS inside a container, where you log in using ssh, add users,
8e5f15be 139run apache, etc...
f039505c 140+
fd7fb228 141LXD is built on top of LXC to provide a new, better user
8c1189b6 142experience. Under the hood, LXD uses LXC through `liblxc` and its Go
8e5f15be
DM
143binding to create and manage the containers. It's basically an
144alternative to LXC's tools and distribution template system with the
145added features that come from being controllable over the network.
f039505c 146+
fd7fb228
DW
147Proxmox Containers are how we refer to containers that are created and managed
148using the Proxmox Container Toolkit (`pct`). They also target *system
149virtualization* and use LXC as the basis of the container offering. The
150Proxmox Container Toolkit (`pct`) is tightly coupled with {pve}. This means
151that it is aware of cluster setups, and it can use the same network
152and storage resources as QEMU virtual machines (VMs). You can even use the
8e5f15be
DM
153{pve} firewall, create and restore backups, or manage containers using
154the HA framework. Everything can be controlled over the network using
155the {pve} API.
92a08560 156+
fd7fb228
DW
157Docker aims at running a *single* application in an isolated, self-contained
158environment. These are generally referred to as ``Application Containers'', rather
159than ``System Containers''. You manage a Docker instance from the host, using the
160Docker Engine command line interface. It is not recommended to run docker
161directly on your {pve} host.
f039505c 162+
fd7fb228
DW
163NOTE: If you want to run application containers, for example, 'Docker' images, it
164is best to run them inside a Proxmox Qemu VM.