vdsm / virtual-dsm

Virtual DSM in a Docker container.
MIT License
2.74k stars 364 forks source link

Disk passing through not working for the 2nd disk #744

Closed neesonqk closed 5 months ago

neesonqk commented 6 months ago

Is there no existing issue for this?

Machine specifications

NUC 11 Generation

Operating system

Debian 12

Docker version

Docker version 24.0.5, build ced0996

Description

Steps:

  1. I firstly passed through a 3TB disk - /dev/disk/by-uuid/e060fd5e-9617-498c-81b3-a18045b78410:/disk2, everything worked like a charm.
  2. By then I installed photo app and uploaded few simples to /disk2
  3. After this I stopped it and added another 60GB disk - /dev/disk/by-uuid/138c4eb2-7228-4aa2-b5ca-2578fc649109:/disk3
  4. Boot it up, the /disk2 is gone.

Docker compose

services:
  dsm:
    container_name: dsm
    image: vdsm/virtual-dsm
    environment:
      DISK_SIZE: "32G"
      #GPU: "Y"
    devices:
      - /dev/kvm
      - /dev/disk/by-uuid/e060fd5e-9617-498c-81b3-a18045b78410:/disk2
      - /dev/disk/by-uuid/138c4eb2-7228-4aa2-b5ca-2578fc649109:/disk3
    cap_add:
      - NET_ADMIN
    ports:
      - 7777:5000
    volumes:
      - /var/dsm:/storage
    stop_grace_period: 2m

Docker log

❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i3 10110U CPU | RAM: 4/16 GB | DISK: 138 GB (ext4) | HOST: 6.1.0-11-amd64...

❯ Booting Virtual DSM... ...... [ 7.632727] scsi 9:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 7.639277] sd 9:0:0:0: [sdc] 5860531087 512-byte logical blocks: (3.00 TB/2.73 TiB) [ 7.643171] sd 9:0:0:0: [sdc] Write Protect is off [ 7.647310] sd 9:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.662491] sd 9:0:0:0: [sdc] Attached SCSI disk [ 9.154734] scsi host10: Virtio SCSI HBA [ 9.194892] scsi 10:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 9.201519] sd 10:0:0:0: [sdd] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB) [ 9.210181] sd 10:0:0:0: [sdd] Write Protect is off [ 9.218216] sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 9.245846] sdd: sdd1 .... ❯ ----------------------------------------------------------- ❯ You can now login to DSM at port 5000 ❯ -----------------------------------------------------------

[ 33.479870] findhostd uses obsolete (PF_INET,SOCK_PACKET) [ 33.597164] fuse init (API version 7.23) [ 46.286233] Synotify use 16384 event queue size [ 47.536728] Synotify use 16384 event queue size

Screenshots (optional)

image
kroese commented 6 months ago

Very strange problem..

From the logfile it is clear that DSM sees both the disks:

[ 7.639277] sd 9:0:0:0: [sdc] 5860531087 512-byte logical blocks: (3.00 TB/2.73 TiB)
[ 9.201519] sd 10:0:0:0: [sdd] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB)

It has a /dev/sdc of 3TB and a /dev/sdd device of 60GB. So I have no clue why it refuses to mount volume 2 after volume 3 is added.

One reason could be if both disks were clones (with same unique ID) and it that case the Linux kernel inside DSM might reject one of the two. But in your case that is not likely to be the case, because they have different sizes.

So I have no real explanation. And I never experimented with the multiple disk feature myself, but I believe from what other reported that when using disk images (/storage2 etc) it supported multiple additional disks just fine. So why it doesnt do the same with physical disks is a mystery for me.

Can you try two things? First add DEBUG: "Y" to the compose file and post the QEMU arguments here so we can look if they are correct. And secondly, try to do the same as you did, but now with disk images (/storage2 and /storage3) and confirm it works okay in that case.

neesonqk commented 6 months ago

Seems DEBUG:"Y" gives no difference,

Log with Debug TRUE Details

❯ Starting Virtual DSM for Docker v7.12... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i3 10110U CPU | RAM: 4/16 GB | DISK: 138 GB (ext4) | HOST: 6.1.0-11-amd64... ❯ Host: 2dfba29a695e IP: 172.24.0.2 Gateway: 172.24.0.1 Interface: eth0 MAC: 02:11:32:47:8B:4F nameserver 127.0.0.11 ++ /usr/sbin/dnsmasq --dhcp-range=20.20.20.21,20.20.20.21 --dhcp-host=02:11:32:47:8B:4F,,20.20.20.21,VirtualDSM,infinite --dhcp-option=option:netmask,255.255.255.0 --dhcp-option=option:dns-server,20.20.20.1 --dhcp-option=option:router,20.20.20.1 --address=/host.lan/20.20.20.1 ❯ Booting Virtual DSM... Arguments: -nodefaults -boot strict=on -cpu host,kvm=on,l3-cache=on,migratable=no -smp 1,sockets=1,dies=1,cores=1,threads=1 -m 1G -machine type=q35,usb=off,vmport=off,dump-guest-core=off,hpet=off,accel=kvm -enable-kvm -global kvm-pit.lost_tick_policy=discard -display none -vga none -pidfile /run/shm/qemu.pid -name virtual-dsm,process=virtual-dsm,debug-threads=on -monitor telnet:localhost:7100,server,nowait,nodelay -daemonize -D /run/shm/qemu.log -serial pty -device virtio-serial-pci,id=virtio-serial0,bus=pcie.0,addr=0x3 -chardev socket,id=charchannel0,host=127.0.0.1,port=12345,reconnect=10 -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=vchannel -netdev tap,ifname=dsm,script=no,downscript=no,id=hostnet0 -device virtio-net-pci,romfile=,netdev=hostnet0,mac=02:11:32:47:8B:4F,id=net0 -object iothread,id=io2 -device virtio-scsi-pci,id=hw-synoboot,iothread=io2,bus=pcie.0,addr=0xa -drive file=/storage/DSM_VirtualDSM_69057.boot.img,if=none,id=drive-synoboot,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on -device scsi-hd,bus=hw-synoboot.0,channel=0,scsi-id=0,lun=0,drive=drive-synoboot,id=synoboot0,rotation_rate=1,bootindex=1 -device virtio-scsi-pci,id=hw-synosys,iothread=io2,bus=pcie.0,addr=0xb -drive file=/storage/DSM_VirtualDSM_69057.system.img,if=none,id=drive-synosys,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on -device scsi-hd,bus=hw-synosys.0,channel=0,scsi-id=0,lun=0,drive=drive-synosys,id=synosys0,rotation_rate=1,bootindex=2 -drive file=/storage/data.img,if=none,id=drive-userdata3,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on -device virtio-scsi-pci,id=hw-userdata3,iothread=io2,bus=pcie.0,addr=0xc -device scsi-hd,bus=hw-userdata3.0,channel=0,scsi-id=0,lun=0,drive=drive-userdata3,id=userdata3,rotation_rate=1,bootindex=3 -drive file=/disk2,if=none,id=drive-userdata4,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on -device virtio-scsi-pci,id=hw-userdata4,iothread=io2,bus=pcie.0,addr=0xd -device scsi-hd,bus=hw-userdata4.0,channel=0,scsi-id=0,lun=0,drive=drive-userdata4,id=userdata4,rotation_rate=1,bootindex=4 -drive file=/disk3,if=none,id=drive-userdata5,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on -device virtio-scsi-pci,id=hw-userdata5,iothread=io2,bus=pcie.0,addr=0xe -device scsi-hd,bus=hw-userdata5.0,channel=0,scsi-id=0,lun=0,drive=drive-userdata5,id=userdata5,rotation_rate=1,bootindex=5 -device virtio-balloon-pci,id=balloon0,bus=pcie.0,addr=0x4 -object rng-random,id=objrng0,filename=/dev/urandom -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pcie.0,addr=0x1c [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.302+ (root@build6) (gcc version 12.2.0 (GCC) ) #69057 SMP Sat Sep 23 21:44:59 CST 2023 [ 0.000000] Command line: root=/dev/sda1 ihd_num=0 netif_num=0 syno_hw_version=VirtualDSM vender_format_version=2 macs=0091498d9a41,0091498d9a42,0091498d9a43,0091498d9a44 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: xstate_offset[3]: 960, xstate_sizes[3]: 64 [ 0.000000] x86/fpu: xstate_offset[4]: 1024, xstate_sizes[4]: 64 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x08: 'MPX bounds registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x10: 'MPX CSR' [ 0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 1088 bytes, using 'standard' format. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd0fff] usable [ 0.000000] BIOS-e820: [mem 0x000000003ffd1000-0x000000003fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] extended physical RAM map: [ 0.000000] reserve setup_data: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] reserve setup_data: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] reserve setup_data: [mem 0x0000000000100000-0x0000000001df29c7] usable [ 0.000000] reserve setup_data: [mem 0x0000000001df29c8-0x0000000001df29d7] usable [ 0.000000] reserve setup_data: [mem 0x0000000001df29d8-0x000000003ffd0fff] usable [ 0.000000] reserve setup_data: [mem 0x000000003ffd1000-0x000000003fffffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000b0000000-0x00000000bfffffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] SMBIOS 3.0.0 present. [ 0.000000] Hypervisor detected: KVM [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: last_pfn = 0x3ffd1 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC [ 0.000000] found SMP MP-table at [mem 0x000f5440-0x000f544f] mapped at [ffff8800000f5440] [ 0.000000] Using GB pages for direct mapping [ 0.000000] RAMDISK: [mem 0x3fa5a000-0x3ffc0fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F5280 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000003FFE225E 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000003FFE208E 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000003FFE0040 00204E (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000003FFE0000 000040 [ 0.000000] ACPI: APIC 0x000000003FFE2182 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: MCFG 0x000000003FFE21FA 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000003FFE2236 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 0:3ffcf001, primary cpu clock [ 0.000000] kvm-clock: using sched offset of 3603911264 cycles [ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003ffd0fff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000003ffd0fff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd0fff] [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x01df2000-0x01df2fff] [ 0.000000] PM: Registered nosave memory: [mem 0x01df2000-0x01df2fff] [ 0.000000] e820: [mem 0x40000000-0xafffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 37 pages/cpu @ffff88003f800000 s111896 r8192 d31464 u2097152 [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] kvm-stealtime: cpu 0, msr 3f814180 [ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257881 [ 0.000000] Kernel command line: root=/dev/sda1 ihd_num=0 netif_num=0 syno_hw_version=VirtualDSM vender_format_version=2 macs=0091498d9a41,0091498d9a42,0091498d9a43,0091498d9a44 [ 0.000000] Internal HD num: 0 [ 0.000000] Internal netif num: 0 [ 0.000000] Synology Hardware Version: VirtualDSM [ 0.000000] Vender format version: 2 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 1012524K/1047996K available (5435K kernel code, 870K rwdata, 1712K rodata, 1008K init, 1556K bss, 35472K reserved, 0K cma-reserved) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:8448 nr_irqs:256 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [ttyS0] enabled [ 0.000000] tsc: Detected 2592.000 MHz processor [ 0.116479] Calibrating delay loop (skipped) preset value.. 5184.00 BogoMIPS (lpj=2592000) [ 0.117688] pid_max: default: 32768 minimum: 301 [ 0.118364] ACPI: Core revision 20150930 [ 0.119347] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.120301] Security Framework initialized [ 0.120909] AppArmor: AppArmor initialized [ 0.121542] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.122469] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.123653] Initializing cgroup subsys io [ 0.124234] Initializing cgroup subsys memory [ 0.124885] Initializing cgroup subsys devices [ 0.125542] Initializing cgroup subsys freezer [ 0.126218] CPU: Physical Processor ID: 0 [ 0.139985] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.140825] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.141703] Speculative Store Bypass: Vulnerable [ 0.142348] SRBDS: Mitigation: TSX disabled [ 0.157144] Freeing SMP alternatives memory: 24K [ 0.162917] x2apic enabled [ 0.163507] Switched APIC routing to physical x2apic. [ 0.165020] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.165929] smpboot: CPU0: Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz (family: 0x6, model: 0x8e, stepping: 0xc) [ 0.167416] Performance Events: generic architected perfmon, full-width counters, Intel PMU driver. [ 0.168746] ... version: 2 [ 0.169326] ... bit width: 48 [ 0.169898] ... generic registers: 4 [ 0.170467] ... value mask: 0000ffffffffffff [ 0.171206] ... max period: 00007fffffffffff [ 0.171946] ... fixed-purpose events: 3 [ 0.172504] ... event mask: 000000070000000f [ 0.173272] KVM setup paravirtual spinlock [ 0.174146] x86: Booted up 1 node, 1 CPUs [ 0.174716] smpboot: Total of 1 processors activated (5184.00 BogoMIPS) [ 0.175942] devtmpfs: initialized [ 0.176575] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.177959] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.179133] NET: Registered protocol family 16 [ 0.179864] cpuidle: using governor ladder [ 0.180463] cpuidle: using governor menu [ 0.181045] ACPI: bus type PCI registered [ 0.181616] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.182620] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000) [ 0.183882] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820 [ 0.184844] PCI: Using configuration type 1 for base access [ 0.187311] ACPI: Added _OSI(Module Device) [ 0.187942] ACPI: Added _OSI(Processor Device) [ 0.188549] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.189211] ACPI: Added _OSI(Processor Aggregator Device) [ 0.191691] ACPI: Interpreter enabled [ 0.192222] ACPI: (supports S0 S4 S5) [ 0.192755] ACPI: Using IOAPIC for interrupt routing [ 0.193476] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.195933] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.196797] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.198030] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug] [ 0.199008] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] [ 0.200139] PCI host bridge to bus 0000:00 [ 0.200723] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.201679] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.202600] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.203652] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window] [ 0.204693] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 0.205742] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window] [ 0.206811] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.265145] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO [ 0.273603] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 0.274511] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 0.275385] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 0.276276] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 0.277182] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11) [ 0.278093] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11) [ 0.278997] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11) [ 0.279908] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11) [ 0.280757] ACPI: PCI Interrupt Link [GSIA] (IRQs *16) [ 0.281529] ACPI: PCI Interrupt Link [GSIB] (IRQs *17) [ 0.282291] ACPI: PCI Interrupt Link [GSIC] (IRQs *18) [ 0.283046] ACPI: PCI Interrupt Link [GSID] (IRQs *19) [ 0.283926] ACPI: PCI Interrupt Link [GSIE] (IRQs *20) [ 0.284757] ACPI: PCI Interrupt Link [GSIF] (IRQs *21) [ 0.285618] ACPI: PCI Interrupt Link [GSIG] (IRQs *22) [ 0.286445] ACPI: PCI Interrupt Link [GSIH] (IRQs *23) [ 0.287326] ACPI: Enabled 2 GPEs in block 00 to 3F [ 0.288773] vgaarb: loaded [ 0.289298] SCSI subsystem initialized [ 0.289899] pps_core: LinuxPPS API ver. 1 registered [ 0.290600] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.291860] PTP clock support registered [ 0.292958] PCI: Using ACPI for IRQ routing [ 0.329361] clocksource: Switched to clocksource kvm-clock [ 0.334249] AppArmor: AppArmor Filesystem Enabled [ 0.335016] pnp: PnP ACPI init [ 0.335584] system 00:04: [mem 0xb0000000-0xbfffffff window] has been reserved [ 0.336733] pnp: PnP ACPI: found 5 devices [ 0.342960] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.344275] NET: Registered protocol family 2 [ 0.344959] IP idents hash table entries: 16384 (order: 5, 131072 bytes) [ 0.346053] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.347046] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 0.347985] TCP: Hash tables configured (established 8192 bind 8192) [ 0.348892] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.349743] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.350678] NET: Registered protocol family 1 [ 0.419905] Trying to unpack rootfs image as initramfs... [ 1.124458] decompress cpio completed and skip redundant lzma [ 1.125807] Freeing initrd memory: 5532K [ 1.127359] audit: initializing netlink subsys (disabled) [ 1.128129] audit: type=2000 audit(1716382150.478:1): initialized [ 1.129106] Initialise system trusted keyring [ 1.158417] VFS: Disk quotas dquot_6.6.0 [ 1.159022] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.162250] Key type asymmetric registered [ 1.162871] Asymmetric key parser 'x509' registered [ 1.163583] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.164628] io scheduler noop registered (default) [ 1.165386] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.166160] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.825869] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 1.849701] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 2.097202] brd: module loaded [ 2.097796] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized [ 2.098690] Loading iSCSI transport class v2.0-870. [ 2.104912] rdac: device handler registered [ 2.128741] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16 [ 2.130039] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode [ 2.131217] ahci 0000:00:1f.2: flags: 64bit ncq only [ 2.132684] tsc: Refined TSC clocksource calibration: 2591.963 MHz [ 2.133576] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255c93b22fe, max_idle_ns: 440795235214 ns [ 2.237448] scsi host0: ahci [ 2.253568] scsi host1: ahci [ 2.272039] scsi host2: ahci [ 2.275248] scsi host3: ahci [ 2.279238] scsi host4: ahci [ 2.283063] scsi host5: ahci [ 2.283616] ata1: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff100 irq 24 [ 2.284657] ata2: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff180 irq 24 [ 2.285702] ata3: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff200 irq 24 [ 2.286750] ata4: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff280 irq 24 [ 2.287809] ata5: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff300 irq 24 [ 2.288863] ata6: SATA max UDMA/133 abar m4096@0xfebff000 port 0xfebff380 irq 24 [ 2.290008] rtc_cmos 00:03: RTC can wake from S4 [ 2.298606] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 2.299597] rtc_cmos 00:03: alarms up to one day, y3k, 242 bytes nvram [ 2.300529] i2c /dev entries driver [ 2.301080] md: raid1 personality registered for level 1 [ 2.301915] NET: Registered protocol family 17 [ 2.302576] Key type dns_resolver registered [ 2.324974] mce: Using 10 MCE banks [ 2.325713] registered taskstats version 1 [ 2.326298] Loading compiled-in untrusted X.509 certificates [ 2.327105] Loading compiled-in X.509 certificates [ 2.327841] Loaded X.509 cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329' [ 2.335338] Loaded X.509 cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089' [ 2.336826] Loaded X.509 cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28' [ 2.338475] Loaded X.509 cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5' [ 2.339854] page_owner is disabled [ 2.340404] AppArmor: AppArmor sha1 policy hashing enabled [ 2.344618] rtc_cmos 00:03: setting system clock to 2024-05-22 12:49:10 UTC (1716382150) [ 2.595785] ata2: SATA link down (SStatus 0 SControl 300) [ 2.599726] ata1: SATA link down (SStatus 0 SControl 300) [ 2.603079] ata4: SATA link down (SStatus 0 SControl 300) [ 2.606450] ata5: SATA link down (SStatus 0 SControl 300) [ 2.609774] ata3: SATA link down (SStatus 0 SControl 300) [ 2.612773] ata6: SATA link down (SStatus 0 SControl 300) [ 2.618561] Freeing unused kernel memory: 1008K [ 2.620769] Write protecting the kernel read-only data: 8192k [ 2.624828] Freeing unused kernel memory: 700K [ 2.627859] Freeing unused kernel memory: 336K START /linuxrc.syno START /linuxrc.syno.impl [ 2.785357] random: nonblocking pool is initialized Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore[ 2.823099] ACPI: bus type USB registered [ 2.823747] usbcore: registered new interface driver usbfs [ 2.824575] usbcore: registered new interface driver hub [ 2.825379] usbcore: registered new interface driver ethub [ 2.826145] usbcore: registered new device driver usb ... [ OK ] :: Loading module ehci-hcd[ 2.845204] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ... [ OK ] :: Loading module ehci-pci[ 2.853440] ehci-pci: EHCI PCI platform driver ... [ OK ] :: Loading module uhci-hcd[ 2.864845] uhci_hcd: USB Universal Host Controller Interface driver ... [ OK ] :: Loading module xhci-hcd ... [ OK ] [ 2.887931] kvmx64_synobios: loading out-of-tree module taints kernel. [ 2.890035] synobios ioctl TCGETS /dev/ttyS1 failed [ 2.890750] synobios unable to set termios of /dev/ttyS1 [ 2.891746] 2024-5-22 12:49:11 UTC [ 2.892233] synobios: load, major number 201 [ 2.892853] Brand: Synology [ 2.893262] Model: VirtualDSM [ 2.893693] set group disks wakeup number to 4, spinup time deno 7 [ 2.894571] synobios cpu_arch proc entry initialized [ 2.895267] synobios crypto_hw proc entry initialized [ 2.895996] synobios syno_platform proc entry initialized Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 2.908622] Module [kvmx64_synobios] is removed. [ 2.909307] synobios: unload Insert synorbd kernel module Insert synofsbd kernel module Insert sha256 kernel module [ 2.944913] ACPI: PCI Interrupt Link [GSIF] enabled at IRQ 21 [ 2.946731] ACPI: PCI Interrupt Link [GSIH] enabled at IRQ 23 [ 2.948538] ACPI: PCI Interrupt Link [GSIE] enabled at IRQ 20 [ 2.950221] ACPI: PCI Interrupt Link [GSIG] enabled at IRQ 22 [ 2.995784] scsi host6: Virtio SCSI HBA [ 3.002823] scsi 6:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 3.004942] sd 6:0:0:0: [synoboot] 225280 512-byte logical blocks: (115 MB/110 MiB) [ 3.006462] sd 6:0:0:0: [synoboot] Write Protect is off [ 3.007434] sd 6:0:0:0: [synoboot] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.012169] synoboot: synoboot1 synoboot2 [ 3.018445] sd 6:0:0:0: [synoboot] Attached SCSI disk [ 4.530875] scsi host7: Virtio SCSI HBA [ 4.537384] scsi 7:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 4.539516] sd 7:0:0:0: [sda] 9676832 512-byte logical blocks: (4.95 GB/4.61 GiB) [ 4.540763] sd 7:0:0:0: [sda] Write Protect is off [ 4.541520] sd 7:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.545733] sda: sda1 sda2 [ 4.552401] sd 7:0:0:0: [sda] Attached SCSI disk [ 6.071247] scsi host8: Virtio SCSI HBA [ 6.097558] scsi 8:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 6.106621] sd 8:0:0:0: [sdb] 67108864 512-byte logical blocks: (34.4 GB/32.0 GiB) [ 6.131379] sd 8:0:0:0: [sdb] Write Protect is off [ 6.138495] sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 6.151361] sdb: sdb1 [ 6.152613] sd 8:0:0:0: [sdb] Attached SCSI disk [ 7.667254] scsi host9: Virtio SCSI HBA [ 7.690775] scsi 9:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 7.695995] sd 9:0:0:0: [sdc] 5860531087 512-byte logical blocks: (3.00 TB/2.73 TiB) [ 7.698846] sd 9:0:0:0: [sdc] Write Protect is off [ 7.703478] sd 9:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 7.717899] sd 9:0:0:0: [sdc] Attached SCSI disk [ 9.221284] scsi host10: Virtio SCSI HBA [ 9.254311] scsi 10:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 9.260766] sd 10:0:0:0: [sdd] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB) [ 9.270929] sd 10:0:0:0: [sdd] Write Protect is off [ 9.275153] sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 9.304351] sdd: sdd1 [ 9.305068] sd 10:0:0:0: [sdd] Attached SCSI disk Partition Version=8 Checking ext4 rootfs on /dev/sda1 return value: 12 ForceNewestLayout: Skipped [ 10.943823] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 10.947080] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Mounting /dev/sda1 /tmpRoot [ 10.966859] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 10.970022] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: barrier=1 ------------upgrade Begin upgrade procedure e2fsck 1.44.1 (24-Mar-2018) /sbin/e2fsck: No such file or directory while trying to open /dev/sda3 mount: mounting /dev/sda3 on /tmpData failed: No such file or directory umount: can't unmount /tmpData: Invalid argument [ 11.054269] loop: module loaded Failed to found any patch No upgrade file found End upgrade procedure ============upgrade ------------bootup-smallupdate mkdir: can't create directory '/tmpRoot/proc': File exists mkdir: can't create directory '/tmpRoot/sys': File exists mkdir: can't create directory '/tmpRoot/dev': File exists Try bootup smallupdate No patch exist. Skip Packed Bootup SmallUpdate Sparse files don't exist. Skip Sparse Bootup SmallUpdate Finished synoautonano ============bootup-smallupdate Root check fail, then do selfcheck Copyright (c) 2003-2023 Synology Inc. All rights reserved. Check Success Selfcheck pass, enter DSM. Wait 2 seconds for synology manufactory device Wed May 22 12:49:27 UTC 2024 /dev/sda1 /tmpRoot ext4 rw,noatime,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 root: Start backing up logs in junior mode [ 19.701224] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 19.704553] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) umount: /etc/mtab: No such file or directory linuxrc.syno executed successfully. Post init [ 19.755075] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 19.758955] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: barrier=1 [ 19.845823] systemd[1]: systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN) [ 19.850920] systemd[1]: Detected virtualization kvm. [ 19.852356] systemd[1]: Detected architecture x86-64. Welcome to Linux! [ 19.857125] systemd[1]: Set hostname to . [ 20.609118] systemd[1]: Cannot add dependency job for unit kmip-server.service, ignoring: Unit kmip-server.service is masked. [ 20.610988] systemd[1]: Cannot add dependency job for unit synoperfeventd.service, ignoring: Unit synoperfeventd.service is masked. [ 20.613002] systemd[1]: Cannot add dependency job for unit pkg-install-high-priority-builtin.service, ignoring: Unit pkg-install-high-priority-builtin.service failed to load: No such file or directory. [ 20.615773] systemd[1]: Cannot add dependency job for unit pkg-synorelayd-reload-package-config.service, ignoring: Unit synorelayd.service failed to load: No such file or directory. [ 20.618073] systemd[1]: Cannot add dependency job for unit pkg-install-low-priority-builtin.service, ignoring: Unit pkg-install-low-priority-builtin.service failed to load: No such file or directory. [ 20.620612] systemd[1]: Cannot add dependency job for unit pkg-synorelayd-reload-fixed-package-config.service, ignoring: Unit synorelayd.service failed to load: No such file or directory. [ 20.622962] systemd[1]: Cannot add dependency job for unit SynoLedBrightness.service, ignoring: Unit SynoLedBrightness.service is masked. [ OK ] Reached target Swap. [ 20.626211] systemd[1]: Reached target Swap. [ 20.626810] systemd[1]: Starting Swap. [ OK ] Reached target Timers. [ 20.628045] systemd[1]: Reached target Timers. [ 20.628685] systemd[1]: Starting Timers. [ OK ] Reached target Paths. [ 20.629933] systemd[1]: Reached target Paths. [ 20.630555] systemd[1]: Starting Paths. [ INFO ] dev-hvc0.device is not active. [DEPEND] Dependency failed for agetty for console output(for vDSM). [ 20.633027] systemd[1]: Dependency failed for agetty for console output(for vDSM). [ 20.634086] systemd[1]: Job vdsm_dummy_tty.service/start failed with result 'dependency'. [ OK ] Created slice Root Slice. [ 20.636102] systemd[1]: Created slice Root Slice. [ 20.636775] systemd[1]: Starting Root Slice. [ OK ] Created slice System Slice. [ 20.638252] systemd[1]: Created slice System Slice. [ 20.638977] systemd[1]: Starting System Slice. [ OK ] Created slice system-syno\x2dmd\x2dresync\x2dspeed\x2dadjust.slice. [ 20.640868] systemd[1]: Created slice system-syno\x2dmd\x2dresync\x2dspeed\x2dadjust.slice. [ 20.642043] systemd[1]: Starting system-syno\x2dmd\x2dresync\x2dspeed\x2dadjust.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 20.644127] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 20.645023] systemd[1]: Starting system-serial\x2dgetty.slice. [ OK ] Created slice QuickConnect's slice. [ 20.646743] systemd[1]: Created slice QuickConnect's slice. [ 20.647515] systemd[1]: Starting QuickConnect's slice. [ OK ] Created slice Synology DSM internal service. [ 20.649187] systemd[1]: Created slice Synology DSM internal service. [ 20.650098] systemd[1]: Starting Synology DSM internal service. [ OK ] Created slice Package Center Slice. [ 20.651874] systemd[1]: Created slice Package Center Slice. [ 20.652679] systemd[1]: Starting Package Center Slice. [ OK ] Created slice synobackup daemon slice. [ 20.654336] systemd[1]: Created slice synobackup daemon slice. [ 20.655146] systemd[1]: Starting synobackup daemon slice. [ OK ] Created slice ScsiTarget's slice. [ 20.656786] systemd[1]: Created slice ScsiTarget's slice. [ 20.657544] systemd[1]: Starting ScsiTarget's slice. [ OK ] Created slice VirtualDSM daemon slice. [ 20.659163] systemd[1]: Created slice VirtualDSM daemon slice. [ 20.659998] systemd[1]: Starting VirtualDSM daemon slice. [ OK ] Listening on udev Kernel Socket. [ 20.661590] systemd[1]: Listening on udev Kernel Socket. [ 20.662332] systemd[1]: Starting udev Kernel Socket. [ OK ] Created slice Synology Index slice (WAT). [ 20.663980] systemd[1]: Created slice Synology Index slice (WAT). [ 20.664824] systemd[1]: Starting Synology Index slice (WAT). [ OK ] Listening on Journal Audit Socket. [ 20.666499] systemd[1]: Listening on Journal Audit Socket. [ 20.667265] systemd[1]: Starting Journal Audit Socket. [ OK ] Created slice SMBService's slice. [ 20.668897] systemd[1]: Created slice SMBService's slice. [ 20.669677] systemd[1]: Starting SMBService's slice. [ OK ] Created slice Node.js_v18's slice. [ 20.671275] systemd[1]: Created slice Node.js_v18's slice. [ 20.672033] systemd[1]: Starting Node.js_v18's slice. [ OK ] Listening on Journal Socket. [ 20.673590] systemd[1]: Listening on Journal Socket. [ 20.674332] systemd[1]: Starting Journal Socket. [ 20.675316] systemd[1]: Starting Set boot sequence config... Starting Set boot sequence config... [ 20.677166] systemd[1]: Mounting Debug File System... Mounting Debug File System... [ 20.679050] systemd[1]: Starting Set hostname... Starting Set hostname... [ 20.682555] systemd[1]: Starting Link coredump path to volume if possible... Starting Link coredump path to volume if possible... [ 20.687424] systemd[1]: Started Set project quota ID for /var/log. [ 20.688855] systemd[1]: Starting Load ntb_brd module... Starting Load ntb_brd module... [ 20.692697] systemd[1]: Starting Synology swap... Starting Synology swap... [ 20.697622] systemd[1]: Starting Synology Plugin Daemon... Starting Synology Plugin Daemon... [ 20.703793] systemd[1]: Starting Set time zone information to kernel... Starting Set time zone information to kernel... [ 20.711744] systemd[1]: Starting check integrity of rd.gz decompression... Starting check integrity of rd.gz decompression... [ 20.719024] systemd[1]: Starting Journal Socket (/dev/log). [ OK ] Created slice Synology Swap Works. [ 20.725643] systemd[1]: Created slice Synology Swap Works. [ 20.727600] systemd[1]: Starting Synology Swap Works. [ OK ] Created slice SecureSignIn's slice. [ 20.732221] systemd[1]: Created slice SecureSignIn's slice. [ 20.735357] systemd[1]: Starting SecureSignIn's slice. [ OK ] Created slice DownloadStation's slice. [ 20.738052] systemd[1]: Created slice DownloadStation's slice. [ 20.739505] systemd[1]: Starting DownloadStation's slice. [ OK ] Created slice SynologyPhotos's slice. [ 20.741645] systemd[1]: Created slice SynologyPhotos's slice. [ 20.742552] systemd[1]: Starting SynologyPhotos's slice. [ OK ] Created slice scemd. [ 20.744400] systemd[1]: Created slice scemd. [ 20.745062] systemd[1]: Starting scemd. [ OK ] Created slice SupportService's slice. [ 20.746664] systemd[1]: Created slice SupportService's slice. [ 20.747593] systemd[1]: Starting SupportService's slice. [ OK ] Created slice BTRFS Optimization. [ 20.749363] systemd[1]: Created slice BTRFS Optimization. [ 20.750709] systemd[1]: Starting BTRFS Optimization. [ OK ] Listening on udev Control Socket. [ 20.752261] systemd[1]: Listening on udev Control Socket. [ 20.753163] zram: Added device: zram0 [ 20.753880] systemd[1]: Starting udev Control Socket. [ OK ] Created slice CMS's slice. [ 20.756172] systemd[1]: Created slice CMS's slice. [ 20.759751] systemd[1]: Starting CMS's slice. [ OK ] Created slice FileStation's slice. [ 20.761990] systemd[1]: Created slice FileStation's slice. [ 20.762836] systemd[1]: Starting FileStation's slice. [ OK ] Created slice Node.js_v20's slice. [ 20.764851] systemd[1]: Created slice Node.js_v20's slice. [ 20.765606] systemd[1]: Starting Node.js_v20's slice. [ OK ] Created slice User and Session Slice. [ 20.767186] systemd[1]: Created slice User and Session Slice. [ 20.768062] systemd[1]: Starting User and Session Slice. [ OK ] Reached target Slices. [ 20.770196] systemd[1]: Reached target Slices. [ 20.770857] systemd[1]: Starting Slices. [ OK ] Created slice SSDP service. [ 20.772424] systemd[1]: Created slice SSDP service. [ 20.773144] systemd[1]: Starting SSDP service. [ OK ] Created slice SNMP. [ 20.774661] systemd[1]: Created slice SNMP. [ 20.775304] systemd[1]: Starting SNMP. [ OK ] Created slice StorageManager's slice. [ 20.777228] systemd[1]: Created slice StorageManager's slice. [ 20.778144] systemd[1]: Starting StorageManager's slice. [ OK ] Created slice SynologyApplicationService's slice. [ 20.780190] systemd[1]: Created slice SynologyApplicationService's slice. [ 20.781287] Adding 2097148k swap on /dev/sda2. Priority:-1 extents:1 across:2097148k SS [ 20.782509] systemd[1]: Starting SynologyApplicationService's slice. [ 20.783855] zram0: detected capacity change from 0 to 627048448 [ 20.785348] systemd[1]: Starting unbind USB device... Starting unbind USB device... [ OK ] Created slice Synology Cache Advisor. [ 20.788400] systemd[1]: Created slice Synology Cache Advisor. [ 20.789240] systemd[1]: Starting Synology Cache Advisor. [ 20.791180] Adding 612348k swap on /dev/zram0. Priority:1 extents:1 across:612348k SS [ OK ] Created slice Python2's slice. [ 20.794092] systemd[1]: Created slice Python2's slice. [ 20.794809] systemd[1]: Starting Python2's slice. [ 20.796147] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ OK ] Created slice Shared Folder Sync. [ 20.798426] systemd[1]: Created slice Shared Folder Sync. [ 20.799189] systemd[1]: Starting Shared Folder Sync. [ OK ] Created slice Synology DSM desktop service. [ 20.801385] systemd[1]: Created slice Synology DSM desktop service. [ 20.802462] systemd[1]: Starting Synology DSM desktop service. [ OK ] Created slice Task Scheduler Group. [ 20.804680] systemd[1]: Created slice Task Scheduler Group. [ 20.805610] systemd[1]: Starting Task Scheduler Group. [ 20.806795] systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway. [ 20.808919] systemd[1]: Mounting Temporary Directory... Mounting Temporary Directory... [ OK ] Created slice OAuthService's slice. [ 20.813356] systemd[1]: Created slice OAuthService's slice. [ 20.814156] systemd[1]: Starting OAuthService's slice. [ OK ] Created slice Synology Flashcache. [ 20.817487] systemd[1]: Created slice Synology Flashcache. [ 20.818266] systemd[1]: Starting Synology Flashcache. [ OK ] Created slice Synology DSM Storage Service. [ 20.820510] systemd[1]: Created slice Synology DSM Storage Service. [ 20.821424] systemd[1]: Starting Synology DSM Storage Service. [ 20.822585] systemd[1]: Starting Disabling fan checking flag ...... Starting Disabling fan checking flag ...... [ OK ] Created slice RAID Resync Process. ...ing Resync, Repair and Reshape.. [ 20.826811] systemd[1]: Created slice RAID Resync Process. Including Resync, Repair and Reshape.. [ 20.828244] systemd[1]: Starting RAID Resync Process. Including Resync, Repair and Reshape.. [ OK ] Created slice SynoFinder's slice. [ 20.831051] systemd[1]: Created slice SynoFinder's slice. [ 20.832109] systemd[1]: Starting SynoFinder's slice. [ OK ] Created slice BTRFS Space Reclaim. [ 20.833820] systemd[1]: Created slice BTRFS Space Reclaim. [ 20.834792] systemd[1]: Starting BTRFS Space Reclaim. [ OK ] Mounted Debug File System. [ 20.836607] systemd[1]: Mounted Debug File System. [ OK ] Mounted Temporary Directory. [ 20.838079] systemd[1]: Mounted Temporary Directory. [ OK ] Started Set boot sequence config. [ 20.840510] systemd[1]: Started Set boot sequence config. [ OK ] Started Set hostname. [ 20.842400] systemd[1]: Started Set hostname. [ 20.846041] NET: Registered protocol family 10 [ OK ] Started Link coredump path to volume if possible. [ 20.847992] systemd[1]: Started Link coredump path to volume if possible. [ OK ] Started Load ntb_brd module. [ 20.850063] systemd[1]: Started Load ntb_brd module. [ OK ] Started Synology swap. [ 20.852364] sit: IPv6 over IPv4 tunneling driver [ 20.853211] systemd[1]: Started Synology swap. [ OK ] Started Synology Plugin Daemon. [ 20.855157] systemd[1]: Started Synology Plugin Daemon. [ OK ] Started Set time zone information to kernel. [ 20.857258] systemd[1]: Started Set time zone information to kernel. [ OK ] Started check integrity of rd.gz decompression. [ 20.860356] systemd[1]: Started check integrity of rd.gz decompression. [ OK ] Listening on Journal Socket (/dev/log). [ 20.862923] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Started unbind USB device. [ 20.865277] systemd[1]: Started unbind USB device. [ OK ] Started Disabling fan checking flag .... [ 20.868508] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 20.869858] systemd[1]: Started Disabling fan checking flag .... [ OK ] Reached target Sockets. [ 20.871902] systemd[1]: Reached target Sockets. [ 20.872570] systemd[1]: Starting Sockets. [ 20.873631] systemd[1]: Starting Journal Service... Starting Journal Service... [ 20.876124] sd 6:0:0:0: Attached scsi generic sg0 type 0 [ 20.876947] sd 7:0:0:0: Attached scsi generic sg1 type 0 [ 20.877749] sd 8:0:0:0: Attached scsi generic sg2 type 0 [ 20.878565] sd 9:0:0:0: Attached scsi generic sg3 type 0 [ OK ] Reached target Local File Systems. [ 20.880229] systemd[1]: Reached target Local File Systems. [ 20.881525] sd 10:0:0:0: Attached scsi generic sg4 type 0 [ 20.882640] systemd[1]: Starting Local File Systems. [ 20.884680] systemd[1]: Starting D-Bus System Message Bus... Starting D-Bus System Message Bus... [ 20.895232] systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... [ 20.903983] systemd[1]: Starting D-Bus Session Message Bus... Starting D-Bus Session Message Bus... [ 20.908513] qed_init called [ 20.908950] QLogic FastLinQ 4xxxx Core Module qed 8.33.9.0 [ 20.909718] creating debugfs root node [ 20.910704] systemd[1]: Starting Set boot sequence config for temporary use... Starting Set boot sequence config for temporary use... [ 20.914945] systemd[1]: Starting Mount usb fs... Starting Mount usb fs... [ 20.920609] qede_init: QLogic FastLinQ 4xxxx Ethernet Driver qede 8.33.9.0 [ 20.924370] systemd[1]: Starting Mount efivarfs... Starting Mount efivarfs... [ OK ] Started Journal Service. [ 20.936925] systemd[1]: Started Journal Service. [ OK ] Started Set boot sequence config for temporary use. [ OK ] Started Mount efivarfs. Starting Flush Journal to Persistent Storage... Starting System Logger Daemon... [ OK ] Started D-Bus Session Message Bus. [ 21.001795] systemd-journald[6332]: Received request to flush runtime journal from PID 1 [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... Starting Synology Network Daemon... [ OK ] Started udev Coldplug all Devices. [ OK ] Started D-Bus System Message Bus. [ OK ] Started Create Volatile Files and Directories. [ OK ] Reached target Create SDK locks directory. Starting Check Synology group info consistency... Starting Synology Database Update... Starting Check Synology user info consistency... [ 21.059368] i40evf: Intel(R) 40-10 Gigabit Virtual Function Network Driver - version 3.6.15 [ 21.060595] Copyright(c) 2013 - 2018 Intel Corporation. Starting Check /etc/synoinfo.conf... Starting synodsmnotify... [ OK ] Started Synology Network Daemon. [ 21.084903] igbvf: Intel(R) Gigabit Virtual Function Driver - 2.3.8.2 [ 21.085807] igbvf: Copyright (c) 1999-2015 Intel Corporation. Starting Wait for synonetd ready... [ OK ] Started synodsmnotify. [FAILED] Failed to start Mount usb fs. See "systemctl status syno-mount-usbfs.service" for details. [ 21.102862] ixgbevf: Intel(R) 10GbE PCI Express Virtual Function Driver - version 4.5.3 [ 21.104066] Copyright(c) 1999 - 2019 Intel Corporation. [ OK ] Started Check /etc/synoinfo.conf. [ OK ] Started Load Kernel Modules. Starting Load Fan Modules in Kernel Project... Mounting Configuration File System... Starting Adjust NIC sequence... Starting Load Kernel Modules in Kernel Project... Starting Apply default and user cus... sysctl.conf kernel variable.... [ OK ] Mounted Configuration File System. [ 21.173794] usbcore: registered new interface driver usblp [ OK ] Started Synology Database Update. [ OK ] Started Check Synology user info consistency. [ OK ] Started Wait for synonetd ready. [ OK ] Started Load Fan Modules in Kernel Project. [ OK ] Started Apply default and user cust...ed sysctl.conf kernel variable.. [ OK ] Started Check Synology group info consistency. [ 21.194740] usbcore: registered new interface driver usbhid [ 21.195538] usbhid: USB HID core driver [FAILED] Failed to start Adjust NIC sequence. See "systemctl status SynoInitEth.service" for details. Starting Apply Kernel Variables... Starting Synology Network Event Daemon... [ OK ] Reached target Synology local user and group ready. Starting Synology Task Scheduler Init... [ OK ] Reached target User and Group Name Lookups. [ 21.211507] synobios ioctl TCGETS /dev/ttyS1 failed [ 21.212228] synobios unable to set termios of /dev/ttyS1 [ 21.213135] 2024-5-22 12:49:29 UTC [ 21.213619] synobios: load, major number 201 [ 21.214222] Brand: Synology [ 21.214636] Model: VirtualDSM [ 21.215043] set group disks wakeup number to 4, spinup time deno 7 [ 21.215905] synobios cpu_arch proc entry initialized [ 21.216607] synobios crypto_hw proc entry initialized [ 21.217317] synobios syno_platform proc entry initialized [ OK ] Started Apply Kernel Variables. Starting Apply kernel variable kernel-shmmni at least 16384... Starting Apply kernel variable kernel.sem at least 1024... Starting Apply kernel variable vm.kswapd_threads... Starting Adjust kernel parameters -...or, vm.watermark_boost_factor... [ OK ] Started Synology Network Event Daemon. [ OK ] Started Apply kernel variable kernel-shmmni at least 16384. [ OK ] Started Apply kernel variable vm.kswapd_threads. [ OK ] Started Synology Task Scheduler Init. [ OK ] Started Apply kernel variable kernel.sem at least 1024. [ 21.287969] AVX2 version of gcm_enc/dec engaged. [ 21.288653] AES CTR mode by8 optimization enabled [ OK ] Started Adjust kernel parameters - ...ctor, vm.watermark_boost_factor. [ 21.314837] usbcore: registered new interface driver usb-storage [ OK ] Started Load Kernel Modules in Kernel Project. Starting DSM Release Rolling Group ID... Starting Software Init Led for support led v2 models... [ OK ] Started DSM Release Rolling Group ID. [ OK ] Started Software Init Led for support led v2 models. [ OK ] Started System Logger Daemon. Starting Synology Log bootup start... Starting synodrnode... [DEPEND] Dependency failed for rebuild local user and group db. [ OK ] Reached target Synology Task Schedu...brary functions and tasks ready. [ OK ] Reached target Synology root filesystem (rw) ready. Starting Synology Default TLS Profile... Starting DSM Boot Health Check... [ OK ] Reached target Network (Pre). Starting DSM Installation ID... Starting Synology check locale... Starting Load AppArmor profiles... Starting syno-cgi-keygen.service... Starting Set arp ignore... Starting Umount initrd... Starting Set Eunit Sequence... Starting Clean UPS config... [ OK ] Started Synology Log bootup start. [ OK ] Started Synology Default TLS Profile. [ OK ] Started DSM Installation ID. [ OK ] Started Synology check locale. [ OK ] Started Set arp ignore. [ OK ] Started Umount initrd. [ OK ] Started Set Eunit Sequence. [ OK ] Started Clean UPS config. Starting udev Kernel Device Manager... Starting rc.network... [ OK ] Started synodrnode. [ OK ] Started DSM Boot Health Check. [ OK ] Started Load AppArmor profiles. [ OK ] Started syno-cgi-keygen.service. [ OK ] Started udev Kernel Device Manager. [ OK ] Reached target System Initialization. Starting bootup upgrade sha package... [ OK ] Started Synology token manager. Starting Synology token manager... [ OK ] Started Synology task manager. Starting Synology task manager... [ OK ] Started Serial Getty on ttyS0. Starting Serial Getty on ttyS0... [ OK ] Reached target Login Prompts. [ OK ] Started bootup upgrade sha package. [ OK ] Found device /dev/synoboot2. [ OK ] Reached target Synology synoboot2 done. [ OK ] Reached target Basic System. Starting Login Service... Starting Synology log notification service... Starting Synology firmware DLMC... Starting Log Rotate Daemon... Starting synology volume encryption get machine key service... Starting Synology guest command handle daemon... Starting synoconfd daemon... [ OK ] Started Synology log accounting service. Starting Synology log accounting service... [ OK ] Started synobackup daemon. Starting synobackup daemon... Starting Samba Environment Setup Unit... Starting Control RC power... Starting Synology filesytem check on bootup... Starting synoindex check if there a...ny synoindex-related packages... Starting Hibernation debug check... Starting Prepare notification cache data... Starting Service for irq balance... Starting Synology Schedule Daemon... [ 22.531638] exdisplay_handler not implemented Starting System Profile Tuning... Starting WD idle3 timer... Starting Synology guest service daemon... Starting always preprocess jobs before any package is started... [ OK ] Started Synology firmware DLMC. [ OK ] Started Log Rotate Daemon. [ OK ] Started synology volume encryption get machine key service. [ OK ] Started Synology guest command handle daemon. [ OK ] Started synoconfd daemon. [ OK ] Started Control RC power. [ OK ] Started Synology filesytem check on bootup. [FAILED] Failed to start synoindex check if ... any synoindex-related packages. See "systemctl status synoindex-checkpackage.service" for details. [DEPEND] Dependency failed for synoindex scand. [DEPEND] Dependency failed for synoindex workerd. [DEPEND] Dependency failed for synoindex mediad. [DEPEND] Dependency failed for synoindexd. [DEPEND] Dependency failed for synoindex plugind. [DEPEND] Dependency failed for synomkflvd. [DEPEND] Dependency failed for synoindex notifyd. [DEPEND] Dependency failed for synomkthumbd. [ OK ] Started Hibernation debug check. [ OK ] Started Service for irq balance. [ OK ] Started Synology Schedule Daemon. [ OK ] Started System Profile Tuning. [ OK ] Started WD idle3 timer. [ OK ] Started Synology guest service daemon. [ OK ] Started Login Service. Starting Synology guest communication daemon... Starting Synology space service... [ OK ] Stopped Synology Task Scheduler Vmtouch. [ OK ] Started Synology Task Scheduler Vmtouch. Starting Synology Task Scheduler Vmtouch... [ OK ] Started Synology guest communication daemon. [ OK ] Started Samba Environment Setup Unit. [ OK ] Started Prepare notification cache data. [ OK ] Started always preprocess jobs before any package is started. [ OK ] Reached target Hook on root ready. Starting QuickConnect's service unit... Starting SMBService's service unit... Starting SecureSignIn's service unit... Starting Python2's service unit... [ OK ] Started Synology space service. Starting Synology virtual space service... [ OK ] Started Python2's service unit. [ OK ] Started Synology virtual space service. Starting Synology virtual space service phase2... [ OK ] Started Synology virtual space service phase2. [ OK ] Reached target Synology storage pool. Starting Synology space table update for Storage Manager... Starting StorageManager's service unit... Starting Check Synology HotSpare Config... Starting Synology filesystem check service... Starting Synology Building Tasks Restore for Storage Manager... [ OK ] Started Check Synology HotSpare Config. [ OK ] Started Synology filesystem check service. Starting Synology volume service... [ OK ] Started StorageManager's service unit. Stopping Synology Task Scheduler Vmtouch... [ OK ] Stopped Synology Task Scheduler Vmtouch. [ OK ] Started Synology Task Scheduler Vmtouch. Starting Synology Task Scheduler Vmtouch... [ OK ] Started Synology space table update for Storage Manager. [ 23.971371] raid6: sse2x1 gen() 13632 MB/s [ 23.988357] raid6: sse2x1 xor() 10724 MB/s [ 24.005344] raid6: sse2x2 gen() 16914 MB/s [ 24.022326] raid6: sse2x2 xor() 11826 MB/s [ 24.039324] raid6: sse2x4 gen() 19546 MB/s [ 24.056324] raid6: sse2x4 xor() 12664 MB/s [ 24.073359] raid6: avx2x1 gen() 28097 MB/s [ 24.090337] raid6: avx2x1 xor() 20750 MB/s [ 24.107325] raid6: avx2x2 gen() 33820 MB/s [ 24.124324] raid6: avx2x2 xor() 21945 MB/s [ 24.141357] raid6: avx2x4 gen() 38929 MB/s [ 24.158355] raid6: avx2x4 xor() 23298 MB/s [ 24.158984] raid6: using algorithm avx2x4 gen() 38929 MB/s [ 24.159769] raid6: .... xor() 23298 MB/s, rmw enabled [ 24.160500] raid6: using avx2x2 recovery algorithm [ 24.354053] xor: automatically using best checksumming function: [ 24.364338] avx : 34760.000 MB/sec [ 24.428803] Btrfs loaded, crc32c=crc32c-intel [ OK ] Started SMBService's service unit. [ OK ] Started Synology log notification service. [ OK ] Created slice SecureSignin.slice. Starting Login Invoke Daemon... [ OK ] Started Login Invoke Daemon. [ OK ] Started SecureSignIn's service unit. [ OK ] Started QuickConnect's service unit. Starting SupportService's service unit... Stopping Synology Task Scheduler Vmtouch... [ OK ] Stopped Synology Task Scheduler Vmtouch. [ OK ] Started Synology Task Scheduler Vmtouch. Starting Synology Task Scheduler Vmtouch... [ 24.834403] BTRFS: device label 2024.05.21-07:20:32 v69057 devid 1 transid 3644 /dev/sdb1 [ 24.839761] BTRFS info (device sdb1): enabling auto syno reclaim space [ 24.840739] BTRFS info (device sdb1): use ssd allocation scheme [ 24.841593] BTRFS info (device sdb1): turning on discard [ 24.842361] BTRFS info (device sdb1): using free space tree [ 24.843153] BTRFS info (device sdb1): using free block group cache tree [ 24.844072] BTRFS info (device sdb1): has skinny extents [ 24.860821] 8021q: 802.1Q VLAN Support v1.8 [ 24.861469] 8021q: adding VLAN 0 to HW filter on device eth0 [ 24.911336] BTRFS: device label 2024.05.21-08:26:50 v69057 devid 1 transid 54 /dev/sdd1 [ 24.914255] BTRFS info (device sdd1): enabling auto syno reclaim space [ 24.915227] BTRFS info (device sdd1): use ssd allocation scheme [ 24.916073] BTRFS info (device sdd1): turning on discard [ 24.916842] BTRFS info (device sdd1): using free space tree [ 24.917649] BTRFS info (device sdd1): using free block group cache tree [ 24.918588] BTRFS info (device sdd1): has skinny extents [ OK ] Created slice system-dhclient.slice. Starting DHCP client init... [ OK ] Started DHCP client init. Starting eth0 DHCP Client... [ OK ] Started eth0 DHCP Client. [ OK ] Stopped Support Service Remote Action Client. [ OK ] Started Support Service Remote Action Client. Starting Support Service Remote Action Client... [ 25.023806] BTRFS info (device sdb1): BTRFS: root of syno feature tree is null [ OK ] Started Support Service Online Updater. Starting Support Service Online Updater... [ OK ] Started rc.network. [ OK ] Reached target Network. Starting PPPoE... Starting Redis data structure server for webapi... [ 25.155402] BTRFS info (device sdd1): BTRFS: root of syno feature tree is null Starting findhost daemon... Starting Synology SCGI SocketIO... Starting Check if network is ready... [ OK ] Started PPPoE. [ OK ] Started findhost daemon. [ OK ] Started SupportService's service unit. [ OK ] Started Redis data structure server for webapi. [ OK ] Started Synology SCGI. Starting Synology SCGI... [ OK ] Started Check if network is ready. [ OK ] Reached target Network is Online. Starting Issue VDSM ready for intialization before boot-done.... Starting Avahi daemon... Starting Entry for WS-Transfer and WS-Discovery Server... Starting Run sysnotify migration sc... string and network are ready... Starting Traffic Control... Starting NTP client/server... Starting VPN Client... Starting Set Policy Route... Starting NetBIOS name server... Starting broadcast synorelayd boot state... Starting register ds region by ip... [ OK ] Started Synology volume service. Starting Synology volume mount post hook... Stopping Synology Task Scheduler Vmtouch... [ OK ] Stopped Synology Task Scheduler Vmtouch. [ OK ] Started Synology Task Scheduler Vmtouch. Starting Synology Task Scheduler Vmtouch... [ OK ] Started Entry for WS-Transfer and WS-Discovery Server. [ OK ] Started Run sysnotify migration scr...il string and network are ready. [ OK ] Started VPN Client. [ OK ] Started NTP client/server. [ OK ] Started Set Policy Route. [ OK ] Started Avahi daemon. [ OK ] Started broadcast synorelayd boot state. [ OK ] Started Traffic Control. [ OK ] Started Synology Building Tasks Restore for Storage Manager. [ OK ] Started Issue VDSM ready for intialization before boot-done.. [ OK ] Started NetBIOS name server. [ OK ] Started WS-Discovery Server. Starting WS-Discovery Server... [ OK ] Started register ds region by ip. [ 27.931092] Synotify use 16384 event queue size [ 27.945838] Synotify use 16384 event queue size ONE login: [ 28.217882] capability: warning: `nginx' uses 32-bit capabilities (legacy support in use) [ 30.168590] iSCSI:target_core_rodsp_server.c:1025:rodsp_server_init RODSP server started, login_key(e98370af1c78). [ 30.177500] syno_extent_pool: module license 'Proprietary' taints kernel. [ 30.178496] Disabling lock debugging due to kernel taint [ 30.180277] iSCSI:extent_pool.c:766:ep_init syno_extent_pool successfully initialized [ 30.190305] iSCSI:target_core_device.c:612:se_dev_align_max_sectors Rounding down aligned max_sectors from 4294967295 to 4294967288 [ 30.192057] iSCSI:target_core_configfs.c:5763:target_init_dbroot db_root: cannot open: /etc/target [ 30.193530] iSCSI:target_core_lunbackup.c:366:init_io_buffer_head 2048 buffers allocated, total 8388608 bytes successfully [ 30.210069] iSCSI:target_core_file.c:152:fd_attach_hba RODSP plugin for fileio is enabled. [ 30.211287] iSCSI:target_core_file.c:159:fd_attach_hba ODX Token Manager is enabled. [ 30.213445] iSCSI:target_core_multi_file.c:91:fd_attach_hba RODSP plugin for multifile is enabled. [ 30.214790] iSCSI:target_core_ep.c:795:ep_attach_hba RODSP plugin for epio is enabled. [ 30.215904] iSCSI:target_core_ep.c:802:ep_attach_hba ODX Token Manager is enabled. [ 30.278721] workqueue: max_active 1024 requested for vhost_scsi is out of range, clamping between 1 and 512 ❯ ----------------------------------------------------------- ❯ You can now login to DSM at port 5000 ❯ ----------------------------------------------------------- [ 31.475401] findhostd uses obsolete (PF_INET,SOCK_PACKET) [ 33.210204] fuse init (API version 7.23) [ 46.537178] Synotify use 16384 event queue size [ 47.822077] Synotify use 16384 event queue size

neesonqk commented 6 months ago

I have changed to by using volumes instead of passing through entire disks as following,


services:
  dsm:
    container_name: dsm
    image: vdsm/virtual-dsm
    environment:
      DISK_SIZE: "32G"
      DEBUG: "Y"
      #GPU: "Y"
    devices:
      - /dev/kvm
      #- /dev/disk/by-uuid/e060fd5e-9617-498c-81b3-a18045b78410:/disk2
      #- /dev/disk/by-uuid/138c4eb2-7228-4aa2-b5ca-2578fc649109:/disk3
    cap_add:
      - NET_ADMIN
    ports:
      - 7777:5000
    volumes:
      - /var/dsm:/storage
      - /home/one/Disks/Disk-D-2700G:/storage2
      - /home/one/Disks/Disk60G:/storage3
    stop_grace_period: 2m

However, it complains,

❯ Starting Virtual DSM for Docker v7.12...
❯ For support visit https://github.com/vdsm/virtual-dsm
❯ CPU: Intel Core TM i3 10110U CPU | RAM: 4/16 GB | DISK: 138 GB (ext4) | HOST: 6.1.0-11-amd64...

rm: cannot remove '/storage2/data2.img': Structure needs cleaning
❯ ERROR: Not enough free space to create a disk2 of 16G in /storage2, it has only 0 GB available...
❯ ERROR: Please specify a smaller DISK2_SIZE or disable preallocation by setting ALLOCATE=N.

Disk-D-2700G is /dev/disk/by-uuid/e060fd5e-9617-498c-81b3-a18045b78410 Disk60G is /dev/disk/by-uuid/138c4eb2-7228-4aa2-b5ca-2578fc649109

Those two disks are no longer be accessible from the host since been passed to dsm due to the file system type change I guess, When do ls -al, both show: total 0

kroese commented 6 months ago

Is /home/one/Disks/Disk60G a directory (just like /var/dsm)?? Because it doesnt look like it from the output. You can only mount an empty folder as /storage2, not a file or a device.

neesonqk commented 6 months ago

I put a softlink to disk as /home/one/Disks/Disk60G, so I cannot use ...Disk60G directly? I have to create a folder inside and use that folder?

kroese commented 6 months ago

Yes... devices is for devices and volumes is for folders

neesonqk commented 6 months ago

That disk ever passed to DSM directly, it asks to clear the partition before able to create directory...

Ok, I overall understand how it works, just wondering why adding new disks gone away the existing one, it seems like passing entire disk is bit risky.

kroese commented 6 months ago

The purpose of binding devices to /dev/disk1 was never to passthrough real (physical) disks, but to passthrough virtual disks when running the container inside Proxmox or Vmware for example (so that you can manage those image files from the host). For physical disks I cannot think of any good reason to use this passthrough, it doesnt offer any benefits compared to a .img file.

In any case, I did not want to you to clear the disk or anything, what I thought is that you created two new directories (/var/dsm2 and /var/dsm3 for example) without touching the original disks. Just to see if it made any differences if you used directories or devices.

neesonqk commented 6 months ago

Ok, I will try to use directories then, and see if it behaves normally and update here once done, thank you.

neesonqk commented 5 months ago

After changed to directories work, it works very well by far, assume it is the recommended way.