Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ final class MountBlockDeviceHelper {

static final String LOG_PREFIX = "[MountBlockDevice]";
private static final String FSTAB_SCAN_NO_UUID_SENTINEL = "__zs_no_uuid__";
private static final String FSTAB_OPTIONS_MULTIPATH = "defaults,_netdev,x-systemd.device-timeout=10";
private static final String FSTAB_OPTIONS_DEFAULT = "defaults";
private static final String FSTAB_OPTIONS_MULTIPATH = "defaults,_netdev,nofail,x-systemd.device-timeout=10";
private static final String FSTAB_OPTIONS_DEFAULT = "defaults,nofail,x-systemd.device-timeout=10";
private static final String MULTIPATH_PREFIX = "/dev/mapper/mpath";

private MountBlockDeviceHelper() {
Expand Down Expand Up @@ -352,4 +352,4 @@ private static SshResult executeSshCommand(Ssh ssh, String command) {
}
return ret;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ public void run(MessageReply reply) {
cmd.setSshPort(greply.getSshPort());
cmd.setBackupStorageInstallPath(backupStorageInstallPath);
cmd.setPrimaryStorageInstallPath(primaryStorageInstallPath);
cmd.uuid = pinv.getUuid();
cmd.primaryStorageUuid = pinv.getUuid();
cmd.storagePath = pinv.getUrl();

KVMHostAsyncHttpCallMsg msg = new KVMHostAsyncHttpCallMsg();
Expand Down