The problem is that an absolute path /storage/vm/... is being used, but the actual path should be a ZFS filesystem path. In this specific case, that would mean: zroot/storage/vm/50613ad2-3c93-478b-afa0-d8ac613723da/disk-0_1_0 instead. This requires fetching the underlying FileStore as is done elsewhere in the codebase.
Realizing a VM results in this command being executed:
The problem is that an absolute path
/storage/vm/...
is being used, but the actual path should be a ZFS filesystem path. In this specific case, that would mean:zroot/storage/vm/50613ad2-3c93-478b-afa0-d8ac613723da/disk-0_1_0
instead. This requires fetching the underlyingFileStore
as is done elsewhere in the codebase.