Server crash while importing raw image

formatter

Active Member
Apr 3, 2017
19
1
43
53
Dear All,

I am new with Proxmox, previously used VmWare. I want to migrate my VmWare VMs into Proxmox, but the biggest one w.r.t. storage continously fails (small ones work). The VM has 920 GB storage, but in the server I am using LVM with 4 disks which sum up to 2.3 TB.

The .vmdk I transformed into a single growable file (with vmware-vdiskmanager) and converted into .raw afterwards (with qemu-img), both on a Windows PC as this crashed the Proxmox server as well. Now I only need to copy the .raw image from an USB drive to /dev/vg-vmdata/vm-100-disk-1, which I use dd command for, but it constantly crashed the server before completing.

Any idea what I do wrong ?

If you need some more input/traces please don't hesitate to ask
 
Dear All,

I still have the issue above and tried with bigger storages than the .raw file, but no success. With having pv (pipe viewer) installed the dd command is running for 3,5 hours / 566 GB fine, but then the whole host freezes. In /var/log files nothing indicate to this issue, neither on the console or core dumps.

I personally would exclude power and/or temperature problems as the server is running for quite some time with no issue. Also the copy of the same 920GB .raw file from USB drive to a manual created virtual disk works without problems. Only the dd onto the symlink in /dev/vg/vm-100-disk-1 fails, regardless if source is the USB drive or the newly created LV....

For any kind of input, ideas, etc. I would be more than thankful
 
As an idea, can I make the VM use the .raw file on the ext4 LV I created ? How to do this ?
 
As an idea, can I make the VM use the .raw file on the ext4 LV I created ? How to do this ?
Hi,
simpy define the storage and copy the raw-file below images, like this
Code:
/mnt/local-vm-store/images/100/vm-100-disk-1.raw
depends on your storage-name you can add something like this in the VMID.conf
Code:
scsi0: local-vm-store:100/vm-100-disk-1.raw
Udo
 
Hi Udo,

I am still playing to dd/cp the raw image onto the block device (without creating a FS on the LV), but still failing in roughly the middle of the process. When importing the originating .vmdk in VmWare Workstation Player I can run the VM without problems. I am currently trying to re-convert the .vmdk, maybe something went wrong there. But I still have problems to believe this is the root cause for the dd command to fail and freeze the whole server.

W.r.t. disk hardware problems, please find the SMART output below:

Code:
root@pve:~# smartctl -H /dev/sdb1
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.35-1-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

root@pve:~# man smartctl
root@pve:~# smartctl -x /dev/sdb1
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.35-1-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD10EARS-00MVWB0
Serial Number:    WD-WMAZA0103551
LU WWN Device Id: 5 0014ee 6aadf1e44
Firmware Version: 50.0AB50
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Thu Apr  6 08:32:46 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (19800) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 228) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    1
  3 Spin_Up_Time            POS--K   167   165   021    -    6633
  4 Start_Stop_Count        -O--CK   097   097   000    -    3359
  5 Reallocated_Sector_Ct   PO--CK   199   199   140    -    1
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   053   052   000    -    34893
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    908
192 Power-Off_Retract_Count -O--CK   200   200   000    -    35
193 Load_Cycle_Count        -O--CK   185   185   000    -    47497
194 Temperature_Celsius     -O---K   117   109   000    -    33
196 Reallocated_Event_Count -O--CK   199   199   000    -    1
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   200   200   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    33 Celsius
Power Cycle Min/Max Temperature:     26/39 Celsius
Lifetime    Min/Max Temperature:     26/41 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (259)

Index    Estimated Time   Temperature Celsius
 260    2017-04-06 00:35    33  **************
 ...    ..(476 skipped).    ..  **************
 259    2017-04-06 08:32    33  **************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           12  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4        88391  Vendor specific

To me it looks okay
 
The next attempt to dd the .raw file was interrupted again, this time I got a message:

Code:
Message from syslogd@pve at Apr  6 17:23:54 ...
 kernel:[30317.258709] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [kworker/u12:0:27398]

Some information:
Code:
root@pve:~# uname -a
Linux pve 4.4.35-1-pve #1 SMP Fri Dec 9 11:09:55 CET 2016 x86_64 GNU/Linux

Code:
root@pve:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 255 Processor
stepping        : 2
microcode       : 0x10000b7
cpu MHz         : 3100.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs
bogomips        : 6227.57
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 255 Processor
stepping        : 2
microcode       : 0x10000b7
cpu MHz         : 3100.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs
bogomips        : 6227.57
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

Code:
[30705.270294] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [kworker/u12:0:27398]
[30705.276120] Modules linked in: nls_utf8 ntfs uas usb_storage ip_set ip6table_filter ip6_tables iptable_filter ip_tables x_tables softdog nfsd auth_rpcgss nfs_acl nfs lockd grace fscache sunrpc ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi bonding nfnetlink_log nfnetlink zfs(PO) zunicode(PO) zcommon(PO) znvpair(PO) spl(O) zavl(PO) dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c ppdev kvm_amd amdkfd kvm amd_iommu_v2 snd_hda_codec_realtek snd_hda_codec_generic irqbypass snd_hda_intel radeon edac_mce_amd pcspkr serio_raw snd_hda_codec snd_hda_core snd_hwdep edac_core k10temp snd_pcm snd_timer snd soundcore joydev input_leds ttm i2c_piix4 drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt asus_atk0110
[30705.295540]  parport_pc wmi 8250_fintek shpchp parport tpm_infineon mac_hid vhost_net vhost macvtap macvlan autofs4 btrfs xor raid6_pq hid_cherry usbkbd hid_generic usbmouse usbhid hid psmouse r8169 mii firewire_ohci firewire_core crc_itu_t fjes igb(O) ahci libahci dca ptp pps_core
[30705.309108] CPU: 1 PID: 27398 Comm: kworker/u12:0 Tainted: P    B D W  O L  4.4.35-1-pve #1
[30705.315979] Hardware name: System manufacturer System Product Name/M4A88TD-M EVO, BIOS 1801    08/09/2012
[30705.322920] Workqueue: writeback wb_workfn (flush-251:5)
[30705.329874] task: ffff88020fbebe80 ti: ffff8801ddad0000 task.ti: ffff8801ddad0000
[30705.336887] RIP: 0010:[<ffffffff8118e712>]  [<ffffffff8118e712>] find_get_pages_tag+0xc2/0x1a0
[30705.343972] RSP: 0018:ffff8801ddad3938  EFLAGS: 00000246
[30705.351050] RAX: ffff8801d14cd078 RBX: ffff8801ddad3a20 RCX: 0000000000000000
[30705.358177] RDX: 0000000000000001 RSI: ffff8801d14cd078 RDI: ffff8801d14ccff8
[30705.365311] RBP: ffff8801ddad3990 R08: 0000000000000000 R09: ffffea0006da3b00
[30705.372459] R10: 0000000000000100 R11: 0000000000000220 R12: 0000000000000100
[30705.379608] R13: ffff8801ddad3a08 R14: 0000000000000000 R15: 000000000000000e
[30705.386751] FS:  00007f17a5de2700(0000) GS:ffff88021bc40000(0000) knlGS:0000000000000000
[30705.393941] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[30705.401137] CR2: 000000000000005c CR3: 00000002109d8000 CR4: 00000000000006e0
[30705.408377] Stack:
[30705.415620]  ffff880213092340 ffff880212c28f60 00000000002a458b 00000000002a45c0
[30705.422980]  0000000000000001 00000000ef4f6153 ffff8801ddad3a10 ffff880212c28f58
[30705.430374]  0000000000003800 0000000000000000 0000000004f2e1ea ffff8801ddad39a8
[30705.437774] Call Trace:
[30705.445141]  [<ffffffff8119d501>] pagevec_lookup_tag+0x21/0x30
[30705.452400]  [<ffffffff8119b1d3>] write_cache_pages+0x123/0x4e0
[30705.459490]  [<ffffffff81199050>] ? wb_position_ratio+0x1f0/0x1f0
[30705.466386]  [<ffffffff810ecdee>] ? try_to_del_timer_sync+0x5e/0x90
[30705.473084]  [<ffffffff8140d225>] ? find_next_bit+0x15/0x20
[30705.479573]  [<ffffffff813f818f>] ? cpumask_next_and+0x2f/0x40
[30705.485858]  [<ffffffff8119b5e1>] generic_writepages+0x51/0x80
[30705.491934]  [<ffffffff8119c3de>] do_writepages+0x1e/0x30
[30705.497912]  [<ffffffff8123cf05>] __writeback_single_inode+0x45/0x340
[30705.503853]  [<ffffffff8123d72c>] writeback_sb_inodes+0x27c/0x580
[30705.509738]  [<ffffffff8123dab9>] __writeback_inodes_wb+0x89/0xc0
[30705.515588]  [<ffffffff8123de32>] wb_writeback+0x272/0x300
[30705.521382]  [<ffffffff8122a061>] ? get_nr_dirty_inodes+0x51/0x80
[30705.527138]  [<ffffffff8123e67c>] wb_workfn+0x2ec/0x400
[30705.532862]  [<ffffffff8109b078>] process_one_work+0x158/0x420
[30705.538584]  [<ffffffff8109bb59>] worker_thread+0x69/0x480
[30705.544288]  [<ffffffff8109baf0>] ? rescuer_thread+0x330/0x330
[30705.549993]  [<ffffffff8109baf0>] ? rescuer_thread+0x330/0x330
[30705.555667]  [<ffffffff810a103a>] kthread+0xea/0x100
[30705.561292]  [<ffffffff810a0f50>] ? kthread_park+0x60/0x60
[30705.566885]  [<ffffffff8185a60f>] ret_from_fork+0x3f/0x70
[30705.572448]  [<ffffffff810a0f50>] ? kthread_park+0x60/0x60


Anybody an idea ?
 
Using the method to copy the .qcow2 image to an ext4 filesystem does work, the VM is running normally :). This time I am using a different hard drive, maybe the other has some issue, even though SMART is not reporting problems. And even if so, I don't think this explains why the server is freezing. The other difference now is that I am not using LVM.
 
Using the method to copy the .qcow2 image to an ext4 filesystem does work, the VM is running normally :). This time I am using a different hard drive, maybe the other has some issue, even though SMART is not reporting problems. And even if so, I don't think this explains why the server is freezing. The other difference now is that I am not using LVM.
Hi,
you can try to move via gui the disk to the lvm-storage and see if it works...

Do I understand you right, that you use single unraided disks? if yes - not realy the right thing for production/home - only for test perhaps. Think about zfs or an real raid-controller.

Udo
 
...
Some information:
Code:
root@pve:~# uname -a
Linux pve 4.4.35-1-pve #1 SMP Fri Dec 9 11:09:55 CET 2016 x86_64 GNU/Linux
Hi,
btw. your system is outdated - looks that you don't have enabled the right repostiory (pve-no-subscription if you don't paid for enterprise repro).

Do always an dist-upgrade (not update) after "apt update".

Udo
 
  • Like
Reactions: formatter
Hi Udo,

unfortunately single unraided disks are case currently due to limitations of my motherboard, and this is why I thought about a mirrored LVM (the mirror I wanted to create with "lvconvert -m1" once the VM was running).

ZFS I didn't consider so far due to the fact I am only having an old AMD CPU and 8 GB memory (see below), but intend to run 4 VMs on it with 1 GB RAM each (all Ubuntu 14.4: 1 SAMBA server + 3 Webserver for personal use). There was a thread in this forum saying 8 GB is the bare minimum to start with... what is your opinion ?

Code:
root@pve:~# more /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 255 Processor
stepping        : 2
microcode       : 0x10000b7
cpu MHz         : 3100.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl n
onstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs
bogomips        : 6228.05
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 6
model name      : AMD Athlon(tm) II X2 255 Processor
stepping        : 2
microcode       : 0x10000b7
cpu MHz         : 3100.000
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl n
onstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch apic_c1e fxsave_leak sysret_ss_attrs
bogomips        : 6228.05
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@pve:~# more /proc/meminfo
MemTotal:        8108984 kB
MemFree:         6861200 kB
MemAvailable:    7042532 kB
Buffers:           95424 kB
Cached:           185276 kB
SwapCached:            0 kB
Active:           976496 kB
Inactive:         118048 kB
Active(anon):     819620 kB
Inactive(anon):    42892 kB
Active(file):     156876 kB
Inactive(file):    75156 kB
Unevictable:       17908 kB
Mlocked:           17908 kB
SwapTotal:       3801084 kB
SwapFree:        3801084 kB
Dirty:                48 kB
Writeback:             0 kB
AnonPages:        831772 kB
Mapped:            69896 kB
Shmem:             43828 kB
Slab:              50320 kB
SReclaimable:      27832 kB
SUnreclaim:        22488 kB
KernelStack:        4640 kB
PageTables:        12672 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     7855576 kB
Committed_AS:    2934256 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      105984 kB
DirectMap2M:     2973696 kB
DirectMap1G:     6291456 kB
 
Last edited:
Hi,
btw. your system is outdated - looks that you don't have enabled the right repostiory (pve-no-subscription if you don't paid for enterprise repro).

Do always an dist-upgrade (not update) after "apt update".

Udo


Hi Udo,

thanks for spotting this.

My sources.list is actually updated, but the update/upgrade fails due to the following reason

Code:
root@pve:/etc/apt# apt-get update
Hit http://download.proxmox.com jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.de.debian.org jessie InRelease
Hit http://ftp.de.debian.org jessie Release.gpg
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Hit http://ftp.de.debian.org jessie Release
Get:1 https://enterprise.proxmox.com jessie InRelease [381 B]
Ign https://enterprise.proxmox.com jessie InRelease
Get:2 https://enterprise.proxmox.com jessie Release.gpg [381 B]
Ign https://enterprise.proxmox.com jessie Release.gpg
Get:3 https://enterprise.proxmox.com jessie Release [381 B]
Ign https://enterprise.proxmox.com jessie Release
Get:4 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Get:5 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Hit http://security.debian.org jessie/updates/main amd64 Packages
Get:6 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
Get:7 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Get:8 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:9 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:10 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:11 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Get:12 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Get:13 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Hit http://ftp.de.debian.org jessie/main amd64 Packages
Get:14 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Get:15 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Hit http://ftp.de.debian.org jessie/contrib amd64 Packages
Get:16 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [381 B]
Err https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
  HttpError401
Get:17 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [381 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Hit http://ftp.de.debian.org jessie/contrib Translation-en
Get:18 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [381 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
Hit http://ftp.de.debian.org jessie/main Translation-en
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jessie/pve-enterprise/binary-amd64/Packages  HttpError401

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@pve:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up initramfs-tools (0.120+deb8u2) ...
Segmentation fault
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve:/etc/apt#

And the output of sources.list:

Code:
root@pve:/etc/apt# more sources.list
deb http://ftp.de.debian.org/debian jessie main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription

# security updates
deb http://security.debian.org jessie/updates main contrib
root@pve:/etc/apt#

Any workaround available ?
 
Hi Alessandro,

did that as well (but forgot to paste here), but the some problem:

Code:
root@pve:/etc/apt/sources.list.d# apt-get dist-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.120+deb8u2) ...
Segmentation fault
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve:/etc/apt/sources.list.d#
 
Hi Udo,

I did that before, but didn't help. In the meantime I rebooted the server, and now it works :confused:. Well, the result count:

Code:
root@pve:/etc/apt/sources.list.d# uname -a
Linux pve 4.4.49-1-pve #1 SMP PVE 4.4.49-86 (Thu, 30 Mar 2017 08:39:20 +0200) x86_64 GNU/Linux

About the other topic, your/somebody's recommendation to go ahead with ZFS on my AMD Dual Core / 8 GB RAM system and run 4 VMs on it (details further up), can you share your opinion ?

THX,
Michael
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!