[SOLVED] Disk issue PVE 6.0-6

phoenix13023

New Member
Aug 25, 2019
11
0
1
40
Can someone help to let me know what's happend to my disk ?

Does the data could be back ?

Code:
kvm: -drive file=/dev/D2T02/vm-100-disk-0,if=none,id=drive-scsi3,format=raw,cache=none,aio=native,detect-zeroes=on: Could not open '/dev/D2T02/vm-100-disk-0': No such file or directory
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name freenas -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=477e22c8-2ff3-4dbc-9e56-3594e823e8d5' -smp '3,sockets=1,cores=3,maxcpus=3' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/100.vnc,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 6144 -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'vmgenid,guid=ffb2b17f-bd6a-4ab3-9b03-b7250f94a3b1' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-vga,id=vga,max_hostmem=134217728,bus=pci.0,addr=0x2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:1c94a1c79d48' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/dev/pve/vm-100-disk-0,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -drive 'file=/dev/D1T01/vm-100-disk-0,if=none,id=drive-scsi1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=1,drive=drive-scsi1,id=scsi1' -drive 'file=/dev/D2T01/vm-100-disk-0,if=none,id=drive-scsi2,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=2,drive=drive-scsi2,id=scsi2' -drive 'file=/dev/D2T02/vm-100-disk-0,if=none,id=drive-scsi3,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=3,drive=drive-scsi3,id=scsi3' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/dev/disk/by-id/ata-WDC_WD10EARS-22Y5B1_WD-WCAV5A729758,if=none,id=drive-sata1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.1,drive=drive-sata1,id=sata1' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=76:34:E0:A1:B8:B0,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc'' failed: exit code 1

Sorry, Could not give more useful information to who have related problem.

My disk be back after update PVE systems. No other operation be done except reboots.

As a green hand user, I don't find useful log for detail , but it maybe have some data missing or other errors. The freenas could star and the pool for it is offline. So I will go to freenas's forum to find someone give more help.
 

Attachments

  • error3.JPG
    error3.JPG
    82.5 KB · Views: 18
  • error2.JPG
    error2.JPG
    75.7 KB · Views: 16
  • disk.JPG
    disk.JPG
    94.7 KB · Views: 19
Last edited:
it seems that storage is empty, what does 'lvs' show?

also check your logs to find a clue what might happened (syslog/journal/etc..)
 
it seems that storage is empty, what does 'lvs' show?

also check your logs to find a clue what might happened (syslog/journal/etc..)
root@pve:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert D1T01 D1T01 twi-aotz-- <1.82t 97.13 58.45 vm-100-disk-0 D1T01 Vwi-a-tz-- <1.78t D1T01 99.42 D2T01 D2T01 twi-aotz-- <2.73t 75.34 48.24 vm-100-disk-0 D2T01 Vwi-a-tz-- <2.67t D2T01 77.12 D2T02 D2T02 twi---tz-- <2.73t vm-100-disk-0 D2T02 Vwi---tz-- <2.67t D2T02 data pve twi-aotz-- 107.66g 25.29 2.61 root pve -wi-ao---- 44.50g swap pve -wi-ao---- 8.00g vm-100-disk-0 pve Vwi-a-tz-- 25.00g data 21.93 vm-103-disk-0 pve Vwi-a-tz-- 42.00g data 28.22 vm-104-disk-0 pve Vwi-a-tz-- 55.00g data 18.00

here is lvs, but how to find the log ? I don't find it in /var/log
 
it seems that your thinpool 'D2T02' is not online or active?

Code:
vgchange -a y D2T02
and maybe the volume

Code:
lvchange -a y D2T02/vm-100-disk-0
 
it seems that your thinpool 'D2T02' is not online or active?

Code:
vgchange -a y D2T02
and maybe the volume

Code:
lvchange -a y D2T02/vm-100-disk-0

hello, I have done what's your suggest, it's inactive.
what can I do for the next ?
Code:
root@pve:~# vgchange -a y D2T02
  Check of pool D2T02/D2T02 failed (status:1). Manual repair required!
  0 logical volume(s) in volume group "D2T02" now active
root@pve:~# lvscan
  ACTIVE            '/dev/pve/swap' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/root' [44.50 GiB] inherit
  ACTIVE            '/dev/pve/data' [107.66 GiB] inherit
  ACTIVE            '/dev/pve/vm-100-disk-0' [25.00 GiB] inherit
  ACTIVE            '/dev/pve/vm-103-disk-0' [42.00 GiB] inherit
  ACTIVE            '/dev/pve/vm-104-disk-0' [55.00 GiB] inherit
  inactive          '/dev/D2T02/D2T02' [<2.73 TiB] inherit
  inactive          '/dev/D2T02/vm-100-disk-0' [<2.67 TiB] inherit
  ACTIVE            '/dev/D1T01/D1T01' [<1.82 TiB] inherit
  ACTIVE            '/dev/D1T01/vm-100-disk-0' [<1.78 TiB] inherit
  ACTIVE            '/dev/D2T01/D2T01' [<2.73 TiB] inherit
  ACTIVE            '/dev/D2T01/vm-100-disk-0' [<2.67 TiB] inherit
root@pve:~# lvchange -a y D2T02/vm-100-disk-0
  Check of pool D2T02/D2T02 failed (status:1). Manual repair required!
root@pve:~# lvconvert --repair D2T02
  Cannot find VG name for LV D2T02.
root@pve:~# lvconvert --repair D2T02/D2T02
  Volume group "D2T02" has insufficient free space (0 extents): 22 required.
  WARNING: LV D2T02/D2T02_meta0 holds a backup of the unrepaired metadata. Use lvremove when no longer required.
root@pve:~# lvconvert --repair D2T02/vm-100-disk-0
  Command on LV D2T02/vm-100-disk-0 does not accept LV type thin.
  Command not permitted on LV D2T02/vm-100-disk-0.
 
Check of pool D2T02/D2T02 failed (status:1). Manual repair required!

somehow your pool is not ok? check the logs when this happened, maybe there is some clue
also what does
pvs
vgs
lvs
show?
 
somehow your pool is not ok? check the logs when this happened, maybe there is some clue
also what does
pvs
vgs
lvs
show?
Hello,Dcsapak

thank you for your reply.
But I still need your help,I am not know so much of it. Just use in home.

Can you give more information about how to judge it from where the log ?
 

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!