Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zfs: default device name to vblk0.1 if vdev_path different than /dev/…
…vblk* This patch allows mounting OSv zfs image on Linux host and/or modifying and using again to boot OSv. It also allows mounting ZFS disks created on Linux host. Typically when mounting OSv image on Linux, the zpool utility would change so called vdev_path from /dev/vblk0.1 to /dev/nbd0p2 and OSv would fail mounting it afterwards as it tries open device using the vdev_path stored on the disk. This patch effectively validates the vdev_path to make sure it starts with /dev/vblk. Fixes #918 Signed-off-by: Waldemar Kozaczuk <[email protected]> Message-Id: <[email protected]>
- Loading branch information