Score:0

how to match spec in disk selection extension using ID_PATH with focal auto install?

uz flag

how to match spec in disk selection extension using ID_PATH during the auto network install ?

ID_PATH=pci-0000:41:00.0-nvme-1

$ udevadm info  -q all -n /dev/nvme0n1
P: /devices/pci0000:40/0000:40:01.3/0000:41:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
L: 0
S: disk/by-path/pci-0000:41:00.0-nvme-1
S: disk/by-id/nvme-eui.01000000010000005cd2e4081df14e51
S: disk/by-id/nvme-INTEL_SSDPE2KX010T8_BTLJ802106H61P0FGN
E: DEVPATH=/devices/pci0000:40/0000:40:01.3/0000:41:00.0/nvme/nvme0/nvme0n1
E: DEVNAME=/dev/nvme0n1
E: DEVTYPE=disk
E: MAJOR=259
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=3323336
E: MPATH_SBIN_PATH=/sbin
E: DM_MULTIPATH_DEVICE_PATH=0
E: ID_SERIAL_SHORT=BTLJ802106H61P0FGN
E: ID_WWN=eui.01000000010000005cd2e4081df14e51
E: ID_MODEL=INTEL SSDPE2KX010T8
E: ID_REVISION=VDV10120
E: ID_SERIAL=INTEL SSDPE2KX010T8_BTLJ802106H61P0FGN
E: ID_PATH=pci-0000:41:00.0-nvme-1
E: ID_PATH_TAG=pci-0000_41_00_0-nvme-1
E: ID_PART_TABLE_UUID=e480a6a1-08b7-4a70-af07-286fbc8c3728
E: ID_PART_TABLE_TYPE=gpt
E: DEVLINKS=/dev/disk/by-path/pci-0000:41:00.0-nvme-1 /dev/disk/by-id/nvme-eui.01000000010000005cd2e4081df14e51 /dev/disk/by-id/nvme-INTEL_SSDPE2KX010T8_BTLJ802106H61P0FGN
E: TAGS=:systemd:

I tried this and its not working but '/dev/sda' works

  storage:
    layout:
      name: lvm
      match:
        #path: /dev/sda
        path: pci-0000:41:00.0-nvme-1
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.