Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbd devices do not support S.M.A.R.T. #1705

Merged
merged 1 commit into from May 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rockstor/storageadmin/views/disk.py
Expand Up @@ -283,7 +283,7 @@ def _update_disk_state():
# not have a by-id type name expected by the smart subsystem.
# This has only been observed in no serial virtio devices.
if (re.match('fake-serial-', do.serial) is not None) or (
re.match('virtio-|md-|mmc-|nvme-|dm-name-luks-|bcache',
re.match('virtio-|md-|mmc-|nvme-|dm-name-luks-|bcache|nbd',
do.name) is not None):
# Virtio disks (named virtio-*), md devices (named md-*),
# and an sdcard reader that provides devs named mmc-* have
Expand Down