vdsm / virtual-dsm

Virtual DSM in a Docker container.
MIT License
2.69k stars 360 forks source link

Snapshot Replication prompts "Command execution failed. Please log in to DSM and try again." when configuring remote replication. #801

Closed bigtiger-qian closed 1 month ago

bigtiger-qian commented 2 months ago

Operating system

ubuntu22.4

Description

I have a Synology NAS. When configuring VDSM as the remote replication destination for Snapshot Replication, it prompts that the command execution failed and asks to log in to DSM again and try. Snapshot Replication indicates that the remote destination needs to be Btrfs. In VDSM, my storage space is shown as Btrfs, but the actual physical machine mount point is Ext4. Is this the reason for the issue?

Docker compose

version: '3' services: dsm: container_name: dsm image: vdsm/virtual-dsm:latest environment: DISK_SIZE: "14336G" RAM_SIZE: "44G" CPU_CORES: "24" MAC: "" GUEST_SERIAL: "" HOST_SERIAL: "" HOST_MAC: "" HOST_MODEL: "DS923+" devices:

Docker log

❯ ----------------------------------------------------------- ❯ You can now login to DSM at port 5000 ❯ -----------------------------------------------------------

     Stopping Synology Task Scheduler Vmtouch...

[ OK ] Stopped Synology Task Scheduler Vmtouch. [ OK ] Started Synology Task Scheduler Vmtouch. Starting Synology Task Scheduler Vmtouch... [ OK ] Started Daemon for Resource Monitor. [ 40.725281] capability: warning: `nginx' uses 32-bit capabilities (legacy support in use) [ OK ] Started Nginx. Starting ScsiTarget's service unit... Starting SSDP service... Starting WS-Transfer Server... [ OK ] Started Check Synology shared folders. Starting Migrate all volume and share to quota DB... Starting Check share snapshot... [ OK ] Started Migrate all volume and share to quota DB. [ OK ] Started Check share snapshot. [ OK ] Reached target Synology shared folders. Starting daemon for handle hotplug event... Starting Samba SMB Daemon... Starting deal with remote/ISO mount during when bootup and poweroff... Starting synotifyd... Starting Daemon for Recycle Bin... Starting Remove session if the option enabled.... Starting Accountdb cache database... Starting Shared Folder Sync Daemon... Starting Build DB link for synolog... [ OK ] Started Accountdb cache database. [ OK ] Started Daemon for Recycle Bin. [ OK ] Started Synology SCGI SocketIO. [ OK ] Started Remove session if the option enabled.. Starting Synology CGI Auth Daemon... Starting synodrnode_reset... [ OK ] Started WS-Transfer Server. [ OK ] Started synodrnode_reset. [ OK ] Started Shared Folder Sync Daemon. [ OK ] Started Synology CGI Auth Daemon. [ OK ] Started deal with remote/ISO mount during when bootup and poweroff. [ 41.044312] Synotify use 16384 event queue size [ OK ] Started synotifyd. [ OK ] Started daemon for handle hotplug event. [ 41.098050] Synotify use 16384 event queue size [ 41.100380] Synotify use 16384 event queue size [ OK ] Started SSDP service. [ OK ] Started Build DB link for synolog.

bigtiger_VDSM login: [ 42.288824] iSCSI:target_core_rodsp_server.c:1025:rodsp_server_init RODSP server started, login_key(de33aed7c87e). [ 42.345940] syno_extent_pool: module license 'Proprietary' taints kernel. [ 42.349423] Disabling lock debugging due to kernel taint [ 42.355188] iSCSI:extent_pool.c:766:ep_init syno_extent_pool successfully initialized [ 42.413689] iSCSI:target_core_device.c:612:se_dev_align_max_sectors Rounding down aligned max_sectors from 4294967295 to 4294967288 [ 42.421479] iSCSI:target_core_configfs.c:5763:target_init_dbroot db_root: cannot open: /etc/target [ 42.428779] iSCSI:target_core_lunbackup.c:366:init_io_buffer_head 2048 buffers allocated, total 8388608 bytes successfully [ 42.493446] iSCSI:target_core_file.c:152:fd_attach_hba RODSP plugin for fileio is enabled. [ 42.499505] iSCSI:target_core_file.c:159:fd_attach_hba ODX Token Manager is enabled. [ 42.504759] iSCSI:target_core_multi_file.c:91:fd_attach_hba RODSP plugin for multifile is enabled. [ 42.510908] iSCSI:target_core_ep.c:795:ep_attach_hba RODSP plugin for epio is enabled. [ 42.516686] iSCSI:target_core_ep.c:802:ep_attach_hba ODX Token Manager is enabled. [ 42.781086] workqueue: max_active 1024 requested for vhost_scsi is out of range, clamping between 1 and 512 [ 43.642945] findhostd uses obsolete (PF_INET,SOCK_PACKET) [ 44.767019] fuse init (API version 7.23) [ 44.934167] Synotify use 16384 event queue size [ 44.936024] Synotify use 16384 event queue size [ 45.799203] tcmu daemon: command reply support 1. [ 47.686425] Synotify use 16384 event queue size [ 65.188568] Synotify use 16384 event queue size [ 65.196168] Synotify use 16384 event queue size [ 79.082705] ip_tables: (C) 2000-2006 Netfilter Core Team [ 79.099517] audit: type=1325 audit(1724382880.669:2): table=filter family=2 entries=0 [ 79.119651] nf_conntrack version 0.5.0 (65536 buckets, 262144 max) [ 79.310468] audit: type=1325 audit(1724382880.880:3): table=filter family=2 entries=4 [ 79.326231] audit: type=1325 audit(1724382880.896:4): table=filter family=2 entries=8 [ 79.498998] audit: type=1325 audit(1724382881.069:5): table=filter family=2 entries=9 [ 183.242152] audit: type=1325 audit(1724382984.820:6): table=filter family=2 entries=10 [ 183.259030] audit: type=1325 audit(1724382984.837:7): table=filter family=2 entries=9 [ 183.297435] Module [xt_recent] is removed. [ 183.331288] Module [xt_iprange] is removed. [ 183.354261] Module [xt_limit] is removed. [ 183.373629] Module [xt_state] is removed. [ 183.403848] Module [xt_multiport] is removed. [ 183.449205] Module [xt_LOG] is removed. [ 183.468243] Module [nf_conntrack_ipv4] is removed. [ 183.567930] Module [nf_defrag_ipv4] is removed. [ 183.615185] audit: type=1325 audit(1724382985.193:8): table=filter family=2 entries=8 [ 233.377258] audit: type=1325 audit(1724383034.955:9): table=nat family=2 entries=0 [ 233.450690] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 233.464765] audit: type=1325 audit(1724383035.042:10): table=filter family=10 entries=0 [ 233.503064] tun: Universal TUN/TAP device driver, 1.6 [ 233.505818] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 234.322763] audit: type=1325 audit(1724383035.900:11): table=filter family=2 entries=4 [ 234.340508] audit: type=1325 audit(1724383035.918:12): table=filter family=10 entries=4 [ 234.358430] audit: type=1325 audit(1724383035.936:13): table=filter family=2 entries=8 [ 234.376054] audit: type=1325 audit(1724383035.954:14): table=filter family=10 entries=8 [ 234.391618] audit: type=1325 audit(1724383035.969:15): table=filter family=2 entries=9 [ 234.408044] audit: type=1325 audit(1724383035.986:16): table=filter family=10 entries=9 [ 4375.793312] audit: type=1325 audit(1724387177.498:17): table=filter family=2 entries=10

Screenshots (optional)

截屏2024-08-23 12 29 30
kroese commented 1 month ago

Closing old issues, if this problem is still not solved, please let me know!