Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Upstream, Lustre 2.15.0
-
None
-
Lustre filesystem with ZFS as backend filesystem for OST's.
Description
We have the obdfilter.testfs-OST000*.degraded value set/unset by zedlets (/etc/zfs/zed.d/statechange-lustre.sh) based on zpool being DEGRADED/ONLINE, We'd like to have this behavior enabled/disabled through an option so that we have I/O or newer allocations to DEGRADED OST's as well and hence there is no degradation in net bandwidth of the filesystem due to the degraded OSTs.
Introduce a new Lustre-specific ZFS dataset user property (lustre:autodegrade=on|off) for this purpose. Update the Lustre zedlet and also extend the mkfs.lustre utility to add this property by default when creating a new Lustre server(only for ZFS OSTs). The default behavior would remain the same (lustre:autodegrade=on) which disables new allocations to DEGRADED OSTs.
Creating a user property has a few advantages:
- User properties are a generic ZFS feature and won't be interpreted by ZFS itself. No ZFS changes are needed.
- The property can be set per dataset providing more granularity.
- The property is persistent and will survive reboots.
Attachments
Activity
Fix Version/s | New: Lustre 2.16.0 [ 15190 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Description |
Original:
We have the obdfilter.testfs-OST000*.degraded value set/unset by zedlets (/etc/zfs/zed.d/statechange-lustre.sh) based on zpool being DEGRADED/ONLINE, We'd like to have this behavior enabled/disabled through an option so that we have I/O or newer allocations to DEGRADED OST's as well and hence there is no degradation in net bandwidth of the filesystem due to the degraded OSTs.
Introduce a new Lustre-specific ZFS dataset user property (lustre:autodegrade=on|off) for this purpose. Update the Lustre zedlet and also extend the mkfs.lustre utility to add this property by default when creating a new Lustre server(only for ZFS OSTs). The default behavior would remain the same (lustre:autodegrade=on) which disables new allocations to DEGRADED OSTs. Creating a user property has a few advantages: # User properties are a generic ZFS feature and won't be interpreted by ZFS itself. No ZFS changes are needed. # The property can be set per dataset providing more granularity. # The property is persistent and will survive reboots. |
New:
We have the obdfilter.testfs-OST000*.degraded value set/unset by zedlets (/etc/zfs/zed.d/statechange-lustre.sh) based on zpool being DEGRADED/ONLINE, We'd like to have this behavior enabled/disabled through an option so that we have I/O or newer allocations to DEGRADED OST's as well and hence there is no degradation in net bandwidth of the filesystem due to the degraded OSTs.
Introduce a new Lustre-specific ZFS dataset user property (lustre:autodegrade=on|off) for this purpose. Update the Lustre zedlet and also extend the mkfs.lustre utility to add this property by default when creating a new Lustre server(only for ZFS OSTs). The default behavior would remain the same (lustre:autodegrade=on) which disables new allocations to DEGRADED OSTs. Creating a user property has a few advantages: # User properties are a generic ZFS feature and won't be interpreted by ZFS itself. No ZFS changes are needed. # The property can be set per dataset providing more granularity. # The property is persistent and will survive reboots. |
Description |
Original:
We have the obdfilter.*-OST000*.degraded value set/unset by zedlets (/etc/zfs/zed.d/statechange-lustre.sh) based on zpool being DEGRADED/ONLINE, We'd like to have this behavior enabled/disabled through an option so that we have I/O or newer allocations to DEGRADED OST's as well and hence there is no degradation in net bandwidth of the filesystem due to the degraded OSTs.
Introduce a new Lustre-specific ZFS dataset user property (lustre:autodegrade=on|off) for this purpose. Update the Lustre zedlet and also extend the mkfs.lustre utility to add this property by default when creating a new Lustre server(only for ZFS OSTs). The default behavior would remain the same (lustre:autodegrade=on) which disables new allocations to DEGRADED OSTs. Creating a user property has a few advantages: # User properties are a generic ZFS feature and won't be interpreted by ZFS itself. No ZFS changes are needed. # The property can be set per dataset providing more granularity. # The property is persistent and will survive reboots. |
New:
We have the obdfilter.testfs-OST000*.degraded value set/unset by zedlets (/etc/zfs/zed.d/statechange-lustre.sh) based on zpool being DEGRADED/ONLINE, We'd like to have this behavior enabled/disabled through an option so that we have I/O or newer allocations to DEGRADED OST's as well and hence there is no degradation in net bandwidth of the filesystem due to the degraded OSTs.
Introduce a new Lustre-specific ZFS dataset user property (lustre:autodegrade=on|off) for this purpose. Update the Lustre zedlet and also extend the mkfs.lustre utility to add this property by default when creating a new Lustre server(only for ZFS OSTs). The default behavior would remain the same (lustre:autodegrade=on) which disables new allocations to DEGRADED OSTs. Creating a user property has a few advantages: # User properties are a generic ZFS feature and won't be interpreted by ZFS itself. No ZFS changes are needed. # The property can be set per dataset providing more granularity. # The property is persistent and will survive reboots. |
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49660/
Subject:
LU-16479utils: Add option to manage degraded ZFS OSTProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a2de6af65d21bff0d9357c30e6eb4ba049ff2059