[solved] How to debug problems with the one of the drives in VM?

georgy.goshin

Member
Sep 27, 2021
23
0
6
48
Hi again

After I tried to get the info about the desired dataset I tried to boot the VM once again and it is working and mount point available.

How to remove the thread please? Seems it was written by mistake.

Thanks.




Hello

I've shutdown one linux VM and can't start it back because one drive is not accessible.

Linux writes /dev/sdb: Can't open block dev

is it busy? is it corrupted? please advice how to catch the problem?

In the machine properties it's listed as
Hard Disk (scsi1) ds1:vm-105-disk1,iothread=1,size=10T


zfs list shows
Code:
ds1/vm-105-disk-0          10.9G  5.35T     3.27G  -
ds1/vm-105-disk-1          13.6T  5.60T     13.4T  -

Code:
root@pvebackup:~# zpool status
  pool: ds1
 state: ONLINE
  scan: scrub repaired 0B in 1 days 02:01:51 with 0 errors on Mon Sep  9 02:25:52 2024
config:

        NAME                                   STATE     READ WRITE CKSUM
        ds1                                    ONLINE       0     0     0
          raidz1-0                             ONLINE       0     0     0
            ata-ST12000VN0007-2GS116_ZJV33Y8S  ONLINE       0     0     0
            ata-ST12000VN0007-2GS116_ZCH03YZH  ONLINE       0     0     0
            ata-ST12000VN0007-2GS116_ZCH03464  ONLINE       0     0     0


Code:
root@pvebackup:~# zfs get all ds1/vm-105-disk-1
NAME               PROPERTY              VALUE                  SOURCE
ds1/vm-105-disk-1  type                  volume                 -
ds1/vm-105-disk-1  creation              Wed Feb 21  0:49 2024  -
ds1/vm-105-disk-1  used                  13.6T                  -
ds1/vm-105-disk-1  available             5.60T                  -
ds1/vm-105-disk-1  referenced            13.4T                  -
ds1/vm-105-disk-1  compressratio         1.00x                  -
ds1/vm-105-disk-1  reservation           none                   default
ds1/vm-105-disk-1  volsize               10T                    local
ds1/vm-105-disk-1  volblocksize          8K                     default
ds1/vm-105-disk-1  checksum              on                     default
ds1/vm-105-disk-1  compression           on                     inherited from ds1
ds1/vm-105-disk-1  readonly              off                    default
ds1/vm-105-disk-1  createtxg             5805485                -
ds1/vm-105-disk-1  copies                1                      default
ds1/vm-105-disk-1  refreservation        13.6T                  local
ds1/vm-105-disk-1  guid                  14557828407336626975   -
ds1/vm-105-disk-1  primarycache          all                    default
ds1/vm-105-disk-1  secondarycache        all                    default
ds1/vm-105-disk-1  usedbysnapshots       0B                     -
ds1/vm-105-disk-1  usedbydataset         13.4T                  -
ds1/vm-105-disk-1  usedbychildren        0B                     -
ds1/vm-105-disk-1  usedbyrefreservation  260G                   -
ds1/vm-105-disk-1  logbias               latency                default
ds1/vm-105-disk-1  objsetid              48618                  -
ds1/vm-105-disk-1  dedup                 off                    default
ds1/vm-105-disk-1  mlslabel              none                   default
ds1/vm-105-disk-1  sync                  standard               default
ds1/vm-105-disk-1  refcompressratio      1.00x                  -
ds1/vm-105-disk-1  written               13.4T                  -
ds1/vm-105-disk-1  logicalused           10.0T                  -
ds1/vm-105-disk-1  logicalreferenced     10.0T                  -
ds1/vm-105-disk-1  volmode               default                default
ds1/vm-105-disk-1  snapshot_limit        none                   default
ds1/vm-105-disk-1  snapshot_count        none                   default
ds1/vm-105-disk-1  snapdev               hidden                 default
ds1/vm-105-disk-1  context               none                   default
ds1/vm-105-disk-1  fscontext             none                   default
ds1/vm-105-disk-1  defcontext            none                   default
ds1/vm-105-disk-1  rootcontext           none                   default
ds1/vm-105-disk-1  redundant_metadata    all                    default
ds1/vm-105-disk-1  encryption            off                    default
ds1/vm-105-disk-1  keylocation           none                   default
ds1/vm-105-disk-1  keyformat             none                   default
ds1/vm-105-disk-1  pbkdf2iters           0                      default
 
Last edited:
How to remove the thread please? Seems it was written by mistake.
It's not possible to remove a thread. Thank you for reporting the solution. You can mark it Solved by editing the first post.

EDIT: There is a pull-down menu when you edit the thread where you can select Solved instead of typing it yourself.
 
Last edited:

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!