Skip to content
Open
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ SM_LIBS += constants
SM_LIBS += cbtutil
SM_LIBS += sr_health_check

UDEV_RULES = 65-multipath 55-xs-mpath-scsidev 57-usb 58-xapi 99-purestorage
UDEV_RULES = 65-multipath 55-xs-mpath-scsidev 57-usb 58-xapi 99-purestorage 99-datacore
MPATH_DAEMON = sm-multipath
MPATH_CONF = multipath.conf
MPATH_CUSTOM_CONF = custom.conf
Expand Down
1 change: 1 addition & 0 deletions mk/sm.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ tests/run_python_unittests.sh
%config /etc/logrotate.d/SMlog
%config /etc/udev/rules.d/57-usb.rules
%config /etc/udev/rules.d/99-purestorage.rules
%config /etc/udev/rules.d/99-datacore.rules

%doc CONTRIB LICENSE MAINTAINERS README.md

Expand Down
14 changes: 13 additions & 1 deletion multipath/multipath.conf
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,16 @@ devices {
rr_min_io_rq 1
rr_weight uniform
}
}
device {
vendor                    "DataCore"
product                   "Virtual Disk"
path_checker              tur
prio                      alua
failback                  10
no_path_retry             fail
dev_loss_tmo              60
fast_io_fail_tmo          5
rr_min_io_rq              100
path_grouping_policy      group_by_prio
}
}
1 change: 1 addition & 0 deletions udev/99-datacore.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBSYSTEM=="block", ACTION=="add", ATTRS{vendor}=="DataCore", ATTRS{model}=="Virtual Disk    ", RUN+="/bin/sh -c 'echo 80 > /sys/block/device/timeout'"
Loading