bundles/smartd: do not try to monitor encrypted devices
This commit is contained in:
parent
781264432a
commit
c6552e8dd2
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ def zfs_disks_to_metadata(metadata):
|
|||
continue
|
||||
|
||||
for disk in option['devices']:
|
||||
if search(r'p([0-9]+)$', disk):
|
||||
if search(r'p([0-9]+)$', disk) or disk.startswith('/dev/mapper/'):
|
||||
continue
|
||||
|
||||
disks.add(disk)
|
||||
|
|
Loading…
Reference in a new issue