• Почему не форматируется и не монтируется диск в proxmox?

    @ToxaSysAdm Автор вопроса
    Решил эту проблема добавлением в blaclist wwid диска в multipath.conf https://qna.habr.com/q/481682
    т.е.
    blacklist {
    wwid 3670c7f268f8f2000295d0878ec04f131
    }
    и
    #systemctl restart multipath-tools.service
    Диск освободился от multipath
  • Почему не форматируется и не монтируется диск в proxmox?

    @ToxaSysAdm Автор вопроса
    Drno, Так не даёт
    mkfs.ext4 /dev/sde1
    mke2fs 1.43.4 (31-Jan-2017)
    /dev/sde1 is apparently in use by the system; will not make a filesystem here!
  • Почему не форматируется и не монтируется диск в proxmox?

    @ToxaSysAdm Автор вопроса
    zfs нет.
    root@kod-huawei2-pmx:~# parted -l
    Model: AVAGO HW-SAS3408 (scsi)
    Disk /dev/sda: 399GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 17.4kB 1049kB 1031kB bios_grub
    2 1049kB 538MB 537MB fat32 boot, esp
    3 538MB 399GB 398GB lvm

    Error: /dev/sdb: unrecognised disk label
    Model: HP HSV340 (scsi)
    Disk /dev/sdb: 869GB
    Sector size (logical/physical): 512B/512B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/sdc: unrecognised disk label
    Model: HP HSV340 (scsi)
    Disk /dev/sdc: 869GB
    Sector size (logical/physical): 512B/512B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/sdd: unrecognised disk label
    Model: AVAGO HW-SAS3408 (scsi)
    Disk /dev/sdd: 399GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: AVAGO HW-SAS3408 (scsi)
    Disk /dev/sde: 1919GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 1919GB 1919GB lvm

    Error: /dev/mapper/pve-data_tdata3: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data_tdata3: 106GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data_tdata2: 1074MB
    Sector size (logical/physical): 512B/4096B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 1074MB 1074MB ext4

    Error: /dev/mapper/pve-data_tdata1: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data_tdata1: 1049kB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/mapper/pve-data-tpool3: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data-tpool3: 106GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data-tpool2: 1074MB
    Sector size (logical/physical): 512B/4096B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 1074MB 1074MB ext4

    Error: /dev/mapper/pve-data-tpool1: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data-tpool1: 1049kB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/mapper/pve-data3: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data3: 106GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data2: 1074MB
    Sector size (logical/physical): 512B/4096B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 1074MB 1074MB ext4

    Error: /dev/mapper/pve-data1: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-data1: 1049kB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/mapper/pve-vm--101--disk--0p3: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--101--disk--0p3: 106GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--101--disk--0p2: 1074MB
    Sector size (logical/physical): 512B/4096B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 1074MB 1074MB ext4

    Error: /dev/mapper/pve-vm--101--disk--0p1: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--101--disk--0p1: 1049kB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/mapper/pve-vm--102--disk--0p3: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--102--disk--0p3: 106GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--102--disk--0p2: 1074MB
    Sector size (logical/physical): 512B/4096B
    Partition Table: loop
    Disk Flags:

    Number Start End Size File system Flags
    1 0.00B 1074MB 1074MB ext4

    Error: /dev/mapper/pve-vm--102--disk--0p1: unrecognised disk label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/pve-vm--102--disk--0p1: 1049kB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Error: /dev/mapper/3670c7f268f8f2000295d0878ec04f131-part1: unrecognised disk
    label
    Model: Linux device-mapper (linear) (dm)
    Disk /dev/mapper/3670c7f268f8f2000295d0878ec04f131-part1: 1919GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: unknown
    Disk Flags:

    Model: Linux device-mapper (multipath) (dm)
    Disk /dev/mapper/3670c7f268f8f2000295d0878ec04f131: 1919GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 1919GB 1919GB lvm


    Model: Linux device-mapper (thin) (dm)
    Disk /dev/mapper/pve-vm--102--disk--0: 107GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 2097kB 1049kB bios_grub
    2 2097kB 1076MB 1074MB ext4
    3 1076MB 107GB 106GB

    Model: Linux device-mapper (thin) (dm)
    Disk /dev/mapper/pve-vm--101--disk--0: 107GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:

    Number Start End Size File system Name Flags
    1 1049kB 2097kB 1049kB bios_grub
    2 2097kB 1076MB 1074MB ext4
    3 1076MB 107GB 106GB