<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.autosys.tk/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>wiki.autosys.tk</title>
        <description></description>
        <link>https://wiki.autosys.tk/</link>
        <lastBuildDate>Sun, 31 May 2026 02:27:34 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.autosys.tk/_media/wiki/dokuwiki.svg</url>
            <title>wiki.autosys.tk</title>
            <link>https://wiki.autosys.tk/</link>
        </image>
        <item>
            <title>vnc-в-контейнере-openvz</title>
            <link>https://wiki.autosys.tk/proxmox/vnc-%D0%B2-%D0%BA%D0%BE%D0%BD%D1%82%D0%B5%D0%B9%D0%BD%D0%B5%D1%80%D0%B5-openvz</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;проверено_на_debian_60_openvz_template&quot;&gt;Проверено на Debian 6.0 OpenVZ template&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Устанавливаем пакеты:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;apt-get install xserver-xorg-core vnc4server kde icewm-experimental xdm&lt;/pre&gt;

&lt;p&gt;
Затем выполняем:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;echo &amp;#039;:0 /usr/bin/Xvnc /usr/bin/Xvnc -geometry 1024x768 -depth 24&amp;#039; /usr/X11R6/lib/X11/xdm/Xservers&lt;/pre&gt;

&lt;p&gt;
Перезапускаем xdm&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;/etc/init.d/xdm restart&lt;/pre&gt;

&lt;p&gt;
Запускаем vncserver&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;vncserver&lt;/pre&gt;

&lt;p&gt;
При первом запуске VNC попросит пароль. Его надо задать.&lt;br/&gt;

Теперь подключаемся с помощью VNC Viewer к vnc так: &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
192.168.1.69:1&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Для того чтобы vnc запускался автоматом в &lt;strong&gt;/etc/rc.local&lt;/strong&gt; добавляем:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;su -l $USER -c &amp;quot;vncserver :0&amp;quot;&lt;/pre&gt;

&lt;p&gt;
Вместо $USER надо написать имя пользователя, от имени которого будет запускаться VNC. &lt;br/&gt;

 &lt;br/&gt;

Соотвественно подключаться нужно так:&lt;br/&gt;

192.168.1.69:0&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Все.&lt;br/&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e \u043d\u0430 Debian 6.0 OpenVZ template&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;\u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e_\u043d\u0430_debian_60_openvz_template&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-1088&amp;quot;} --&gt;
&lt;h1 class=&quot;sectionedit2&quot; id=&quot;ubuntu_и_gnome&quot;&gt;Ubuntu и Gnome&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Обновляем списки пакетов и ставим ubuntu-desktop, gdm и vncserver:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;apt-get update &amp;amp;&amp;amp; apt-get install ubuntu-desktop gdm vnc4server&lt;/pre&gt;

&lt;p&gt;
В процессе установки он спросит про клавиатурные раскладки и про менеджер окон - &lt;strong&gt;gdm&lt;/strong&gt; или &lt;strong&gt;lightdm&lt;/strong&gt;&lt;br/&gt;

В зависимости от того что выбрано запускаем &lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;service gdm start&lt;/pre&gt;

&lt;p&gt;
или&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;service lightdm start&lt;/pre&gt;

&lt;p&gt;
Затем запускаем сам vncserver. При первом запуске он попросит задать пароль.&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565&lt;/pre&gt;

&lt;p&gt;
Отредактируем файл&lt;strong&gt; ~/.vnc/xstartup&lt;/strong&gt;&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;nano ~/.vnc/xstartup&lt;/pre&gt;

&lt;p&gt;
В самый конец допишем строку &lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;gnome-session &amp;amp;&lt;/pre&gt;

&lt;p&gt;
Для автоматического старта vncserver после каждой перезагрузки добавим в &lt;strong&gt;/etc/rc.local&lt;/strong&gt; перед &lt;strong&gt;exit 0&lt;/strong&gt; строку:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;su -l $USER -c &amp;quot;vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565&amp;quot;&lt;/pre&gt;

&lt;p&gt;
Вместо &lt;strong&gt;$USER&lt;/strong&gt; надо написать имя пользователя, от имени которого будет запускаться &lt;strong&gt;VNC&lt;/strong&gt;. &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Все.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Ubuntu \u0438 Gnome&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;ubuntu_\u0438_gnome&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:5,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;1089-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 11 Feb 2019 09:13:28 +0000</pubDate>
        </item>
        <item>
            <title>small_home_proxmox_box</title>
            <link>https://wiki.autosys.tk/proxmox/small_home_proxmox_box</link>
            <description>
&lt;p&gt;
Вот конфигурация моего маленького домашнего &lt;strong&gt;ProxMox&lt;/strong&gt; хостика:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Asrock J5005-ITX MotherBoard
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 &lt;del&gt;8Gb DDR4 SODIMM Transcend JM2666HSB-8G RAM, 1Gx8, CL19, 1.2V&lt;/del&gt;
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 16Gb DDR4 SODIMM HyperX HX426S15IB2/16, 2666Mhz, CL15, 16 Chips
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 16Gb DDR4 SODIMM Patriot PSD416G21332s, PC4-17000, CL15, 1.2V, Double-sided, 16 chips.
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Seagate ST32000641AS 2Tb, SATA. mdadm RAID1. 
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 OCZ Vertex2 EX, SATA, 100 Gb SLC SSD.
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Silicon Power Slim S70 - SATA 120Gb SSD 
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 Cooler Master Elite 110A ITX Case
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 OImaster MR - 9100 PCI 2.5 inch SATA HDD / SSD Mobile Rack
&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt;
 DeepCool Explorer DE530, 530W Power Supply
&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;
Работает под управлением &lt;strong&gt;ProxMox 6.x&lt;/strong&gt;. &lt;br/&gt;

Система хранения - &lt;strong&gt;ZFS&lt;/strong&gt; (&lt;strong&gt;L2ARC&lt;/strong&gt; + &lt;strong&gt;ZIL&lt;/strong&gt; на SSD). VM images format - &lt;strong&gt;qcow2&lt;/strong&gt;. &lt;br/&gt;

Вот тут: &lt;a href=&quot;http://asrock.com/mb/Intel/J5005-ITX/index.asp#Memory&quot; class=&quot;urlextern&quot; title=&quot;http://asrock.com/mb/Intel/J5005-ITX/index.asp#Memory&quot; rel=&quot;ugc nofollow&quot;&gt;http://asrock.com/mb/Intel/J5005-ITX/index.asp#Memory&lt;/a&gt; есть сведения о совместимых модулях. Судя по всему, работают и 16-чиповые модули(&lt;strong&gt;Crucial MTA16ATF2G64HZ – 16GB&lt;/strong&gt;) и 8-чиповые (&lt;strong&gt;Crucial 16GB DDR4-2400 SODIMM CT16G4SFD824A&lt;/strong&gt;).
&lt;/p&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 29 Jun 2020 07:32:43 +0000</pubDate>
        </item>
        <item>
            <title>переещд-виртуальнои-машины-с-физического-хоста-или- ...</title>
            <link>https://wiki.autosys.tk/proxmox/%D0%BF%D0%B5%D1%80%D0%B5%D0%B5%D1%89%D0%B4-%D0%B2%D0%B8%D1%80%D1%82%D1%83%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B8-%D0%BC%D0%B0%D1%88%D0%B8%D0%BD%D1%8B-%D1%81-%D1%84%D0%B8%D0%B7%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%BE%D0%B3%D0%BE-%D1%85%D0%BE%D1%81%D1%82%D0%B0-%D0%B8%D0%BB%D0%B8-%D0%B8%D0%B7-%D0%B4%D1%80%D1%83%D0%B3%D0%BE%D0%B3%D0%BE-%D0%B3%D0%B8%D0%BF%D0%B5%D1%80%D0%B2%D0%B8%D0%B7%D0%BE%D1%80%D0%B0</link>
            <description>
&lt;p&gt;
Важно!&lt;br/&gt;

При загрузке русской версии винды, невозможно переключить язык ввода в окне входа в консоли web-интерфейса proxmox, поэтому нужно перед переездом в русской версии вин заводить админа с русским именем и паролем из пробелов и цифр или русских букв&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Переключение работает, при подключени с помощью tigerVNC&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
ЧТо нужно сделать для переезда:&lt;br/&gt;

1. Загрузить переезжающую виртуальную машину с Linux Rescue CD&lt;br/&gt;

2. Оживить сеть в загруженном Linux Rescue CD&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up &lt;/pre&gt;

&lt;p&gt;
или DHCP&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;dhcpcd eth0&lt;/pre&gt;

&lt;p&gt;
3. Теперь можно копировать данные с диска переносимой машины непосредственно на хост proxmox:&lt;br/&gt;

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/vmid/diskname.raw&lt;/pre&gt;

&lt;p&gt;
4. Файл /var/lib/vz/images/vmid/diskname.raw - это файл диска виртуалки в формате raw. Теперь создаем виртуалку с диском минимального размера (1гб) и заменем её диск только что скопированным файлом. &lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Ниже приведен англоязычный оригинал и некоторые дополнения. Приведенный метод подходит и для WIndows и для Linux. Я так переносил, например, Kerio Control 7.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
How to migrate directly from a Windows physical machine to a VM raw file using SSH&lt;br/&gt;

assumptions:&lt;br/&gt;

 * you have a physical machine in which you imported the mergeide.reg, as shown on top of this page&lt;br/&gt;

 * the physical machine has disk device /dev/sda (read this with “fdisk -l”, and look for “hda” or “sda” or similar, NOT dm- or other…)&lt;br/&gt;

 * you have already created a virtual machine with a raw type, file-based disk and not running.&lt;br/&gt;

 * the VM has VMid 101 (read this from the VM list in the web interface)&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
download SystemRescueCD ( &lt;a href=&quot;http://www.sysresccd.org&quot; class=&quot;urlextern&quot; title=&quot;http://www.sysresccd.org&quot; rel=&quot;ugc nofollow&quot;&gt;http://www.sysresccd.org&lt;/a&gt; ), burn it and reboot the physical machine with it in the cd tray.&lt;br/&gt;

At its bash prompt, give eth0 an ip, or use dhcp:&lt;br/&gt;

To assign ip:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up  (use ip on same subnet as proxmox server)&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
To use DHCP:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
dhcpcd eth0&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
To start the image process on the physical machine:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/vmid/diskname.raw&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
Change the root@proxmox to root@yourproxmoxip and change the vmid/diskname to the VMid number and the name you want to call the disk. I.E. VMid 101 and disk called vm-101-disk-1.raw would be:&lt;br/&gt;

dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/101/vm-101-disk-1.raw&lt;br/&gt;

Once this completes you can assign this disk file to your VM on the Proxmox interface.&lt;br/&gt;

Tested a 8GB physical server over gigabit network and was running in about 10 minutes.&lt;br/&gt;

How to migrate directly from a Windows physical machine to a VM logical volume using NETCAT&lt;br/&gt;

assumptions:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
 you have a physical machine in which you imported the mergeide.reg, as shown on top of this page&lt;br/&gt;

 the physical machine has disk device /dev/sda (read this with “fdisk -l”, and look for “hda” or “sda” or similar, NOT dm- or other…)&lt;br/&gt;

 you have already created a virtual machine with a disk on LVM, larger in size than the physical machine one (at least 1Gb more), STOPPED, do NOT start it during this procedure!&lt;br/&gt;

 the VM has VMid 103 (read this from the VM list in the web interface)&lt;br/&gt;

 the LVM VG is named SHARED-VG (read this with: “vgdisplay -s”)&lt;br/&gt;

 so the LV partition is /dev/SHARED-VG/vm-103-disk-1 (read this with: “lvdisplay |grep LV|grep 103”)&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
download SystemRescueCD ( &lt;a href=&quot;http://www.sysresccd.org&quot; class=&quot;urlextern&quot; title=&quot;http://www.sysresccd.org&quot; rel=&quot;ugc nofollow&quot;&gt;http://www.sysresccd.org&lt;/a&gt; ), burn it and reboot the physical machine with it in the cd tray.&lt;br/&gt;

At its bash prompt, give eth0 an ip, coherent with the network of one proxmox server (in the following example: 10.0.0.27):&lt;br/&gt;

ifconfig eth0 10.0.0.17 netmask 255.255.255.0 up&lt;br/&gt;

then assign root user a password, so you can log in via ssh:&lt;br/&gt;

passwd&lt;br/&gt;

log in via ssh on both the physical machine and the proxmox server, then on the proxmox server, give the command:&lt;br/&gt;

date; netcat -w30 -vvnlp 3333 | gzip -dc &amp;gt; /dev/SHARED-VG/vm-103-disk-1; date&lt;br/&gt;

and on the physical machine give the command:&lt;br/&gt;

dd if=/dev/sda | gzip -c | nc -w30 -vvn 10.0.0.27 3333&lt;br/&gt;

You have to start the second command WITHIN 30 seconds from the first one (the -w30…)!&lt;br/&gt;

This way, the proxmox machine is waiting for a stream of bytes on tcp port 3333, then gunzip it and redirects on the vm virtual disk.&lt;br/&gt;

The physical machine outputs its ENTIRE hd as a stream of bytes, gzip it and pass it via netcat to the proxmox server.&lt;br/&gt;

The 2 date commands are useful to have a trace of when this process starts and ends.&lt;br/&gt;

Tested migrating a 75gb hd in about 90 minutes on a 100mbit lan. VM started and worked as expected, after recognizing at first boot the new ide controllers.&lt;br/&gt;

How to migrate from a physical machine to a VM, on a smaller partition&lt;br/&gt;

While it&amp;#039;s quite easy to “clone” a partition to another (real or virtual) of the same or bigger size, it&amp;#039;s not so simple to do the same if the destination partition is smaller than the original one. This is possible, fortunately, and at least a proved method follows, but you have to take care of some preconditions:&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
 since you want to clone to a smaller partition, we will operate at the filesystem level, copying all the files from the source filesystem to the destination one.&lt;br/&gt;

 so, we have to make sure that the destination partition has enough room to get all the files, at least, with better some free space left there.&lt;br/&gt;

 the cloning is not possible directly, i.e disk-to-disk, but we have to “save” the source partition, and then “restore” it on the destination one.&lt;br/&gt;

 we have to be sure that the tools used know very well how to copy files on the filesystems involved, including symlinks, hardlinks, filesystem specific attributes, and so on.&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
main tool: fsarchiver&lt;br/&gt;

One free tool you can use for this is &lt;a href=&quot;https://wiki.autosys.tk/proxmox/fsarchiver&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:fsarchiver&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:fsarchiver&quot;&gt;fsarchiver&lt;/a&gt;, which «is a system tool that allows you to save the contents of a file-system to a compressed archive file. The file-system can be restored on a partition which has a different size and it can be restored on a different file-system. Unlike tar/dar, FSArchiver also creates the file-system when it extracts the data to partitions. Everything is checksummed in the archive in order to protect the data. If the archive is corrupt, you just loose the current file, not the whole archive. Fsarchiver is released under the &lt;abbr title=&quot;GNU General Public License&quot;&gt;GPL&lt;/abbr&gt;-v2 license. It&amp;#039;s still under heavy development so it must not be used on critical data.», So, you&amp;#039;ve been warned. Latest fsarchiver should be in the latest &lt;a href=&quot;https://wiki.autosys.tk/proxmox/systemrescuecd&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:systemrescuecd&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:systemrescuecd&quot;&gt;SystemRescueCD&lt;/a&gt;, although you can obtain it on your favourite recent distribution.&lt;br/&gt;

Cloning NTFS, be sure to use either version 0.6.10 or a patched previous version, because there was a bug that caused errors with NTFS junctions (something like linux symlinks).&lt;br/&gt;

mergeide&lt;br/&gt;

As other said, install mergeide.reg on the physical Windows machine (see Microsoft KB article for details) to provide support for the natively supported IDE controllers in Windows. Without this, cloned XP booting failed for me.&lt;br/&gt;

running fsarchiver from ubuntu livecd&lt;br/&gt;

I used a Ubuntu 10.04 LiveCD, where I installed the package 0.6.8-1ubuntu0.1 from the universe repository: this repository is disabled by default, you have to enable it before, doing:&lt;br/&gt;

#sudo nano /etc/apt/sources.lst&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
then, after uncommenting universe lines, installing it:&lt;br/&gt;

#sudo apt-get update&lt;br/&gt;

#sudo apt-get install fsarchiver&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
once installed, confirm the version is right typing&lt;br/&gt;

# sudo aptitude show fsarchiver&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
it shoud be at least “0.6.10”, or “0.6.8-1ubuntu0.1” (pathced from 0.6.9 and 0.6.10), particularly if you are cloning NTFS filesystems.&lt;br/&gt;

then run&lt;br/&gt;

#sudo fsarchiver probe simple&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
that will report your disks/partitions current layout in a simple, understandable way, like:&lt;br/&gt;

ubuntu@ubuntu:~$ sudo fsarchiver probe simple&lt;br/&gt;

&lt;a href=&quot;https://wiki.autosys.tk/proxmox/disk&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:disk&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:disk&quot;&gt;======DISK======&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/name&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:name&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:name&quot;&gt;=============NAME==============&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/size&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:size&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:size&quot;&gt;====SIZE====&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/maj&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:maj&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:maj&quot;&gt;MAJ&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/min&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:min&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:min&quot;&gt;MIN&lt;/a&gt;&lt;br/&gt;

&lt;a href=&quot;https://wiki.autosys.tk/proxmox/vda&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:vda&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:vda&quot;&gt;vda&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/red_hat_virtio_scsi_device&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:red_hat_virtio_scsi_device&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:red_hat_virtio_scsi_device&quot;&gt;RED HAT VIRTIO SCSI DEVICE&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/15.00_gb&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:15.00_gb&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:15.00_gb&quot;&gt;15.00 GB&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/8&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:8&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:8&quot;&gt;8&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/0&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:0&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:0&quot;&gt;0&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://wiki.autosys.tk/proxmox/device&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:device&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:device&quot;&gt;=====DEVICE=====&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/filesys&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:filesys&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:filesys&quot;&gt;==FILESYS==&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/label&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:label&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:label&quot;&gt;======LABEL======&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/size&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:size&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:size&quot;&gt;====SIZE====&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/maj&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:maj&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:maj&quot;&gt;MAJ&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/min&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:min&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:min&quot;&gt;MIN&lt;/a&gt;&lt;br/&gt;

&lt;a href=&quot;https://wiki.autosys.tk/proxmox/loop0&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:loop0&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:loop0&quot;&gt;loop0&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/squashfs&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:squashfs&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:squashfs&quot;&gt;squashfs&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/unknown&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:unknown&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:unknown&quot;&gt;&amp;lt;unknown&amp;gt;&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/671.85_mb&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:671.85_mb&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:671.85_mb&quot;&gt;671.85 MB&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/7&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:7&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:7&quot;&gt;7&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/0&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:0&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:0&quot;&gt;0&lt;/a&gt;&lt;br/&gt;

&lt;a href=&quot;https://wiki.autosys.tk/proxmox/vda1&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:vda1&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:vda1&quot;&gt;vda1&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/ntfs&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:ntfs&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:ntfs&quot;&gt;ntfs&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/system&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:system&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:system&quot;&gt;System&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/15.00_gb&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:15.00_gb&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:15.00_gb&quot;&gt;15.00 GB&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/8&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:8&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:8&quot;&gt;8&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/1&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:1&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:1&quot;&gt;1&lt;/a&gt;&lt;br/&gt;

&lt;a href=&quot;https://wiki.autosys.tk/proxmox/ramzswap0&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:ramzswap0&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:ramzswap0&quot;&gt;ramzswap0&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/swap&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:swap&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:swap&quot;&gt;swap&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/unknown&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:unknown&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:unknown&quot;&gt;&amp;lt;unknown&amp;gt;&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/248.47_mb&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:248.47_mb&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:248.47_mb&quot;&gt;248.47 MB&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/251&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:251&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:251&quot;&gt;251&lt;/a&gt; &lt;a href=&quot;https://wiki.autosys.tk/proxmox/0&quot; class=&quot;wikilink2&quot; title=&quot;proxmox:0&quot; rel=&quot;nofollow&quot; data-wiki-id=&quot;proxmox:0&quot;&gt;0&lt;/a&gt;&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
then, you have to provide a folder to save the partition “backup”, which will be quite large (fsarchiver has several compression level, but just to be sure have enough free space there to accomodate all the uncompressed file…) if you need to reach a “tmpfolder” windows share, you have to install the smbfs package before (standard repositories), so that then you can&lt;br/&gt;

#sudo mkdir /mnt/tmpfolder&lt;br/&gt;

#sudo mount -t smbfs //windows/tmpfolder /mnt/tmpfolder -o user=username&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
giving a suitable password when asked.&lt;br/&gt;

backup the partition&lt;br/&gt;

then,you have to perform the “backup”, BE CAREFUL the first path is the backup file to save, the second the source partition, do not invert&lt;br/&gt;

I used:&lt;br/&gt;

#sudo fsarchiver savefs -v -o /mnt/tmpfolder/physical.fsa /dev/sda1&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
then (if no errors reported) mounted the same LiveCD in a kvm vm with a 15GB virtual empty disk (virtio), so /dev/vda. After installing smbfs and fsarchiver in the same way, i&amp;#039;ve run Gparted (installed on the LiveCD) and created a empty ntfs partition there, /dev/vda1.&lt;br/&gt;

restore the partition&lt;br/&gt;

Then, I run&lt;br/&gt;

Note: i use here /dev/vda1 while the original was /dev/sda1, and id=0 because i restore the first partition in the physical.fsa (yes, it may store more than one) as /dev/vda1&lt;br/&gt;

#sudo fsarchiver restfs -v /mnt/tmpfolder/physical.fsa id=0,dest=/dev/vda1&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
check if there are no restore errors. It was quite quick and just worked. Well, no, the first times i tried a few and in the end it worked :-^&lt;br/&gt;

successful cases&lt;br/&gt;

&lt;/p&gt;

&lt;p&gt;
 I successfully cloned an Windows XP professional machine from a physical 40GB (used 12GB) partition to a virtual (kvm) 15GB one, stored on pve LVM. The archive file was around 7GB. (i had just 2 hardlink restore errors, but in the log were reported on non critical files, although i would prefer 0 errors…)&lt;br/&gt;

 I successfully cloned an Windows 2003 AD controller machine from a physical 250GB (used 5GB) partition to a virtual (kvm) 15GB one, stored on pve LVM. The archive file was around 3,4GB. (i had just 0 restore errors of any kind)&lt;br/&gt;

 Cloned a physical ubuntu 9.04 desktop from a 32 raid5 disk to a virtual kvm 12 disk. Just had to reinstall grub to make it boot inside kvm. No errors.&lt;br/&gt;

&lt;/p&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 11 Feb 2019 09:13:28 +0000</pubDate>
        </item>
    </channel>
</rss>
