Bug 1036052

Summary: RFE: targetcli allows a LUN to be set as read only
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: targetcliAssignee: Maurizio Lombardi <mlombard>
Status: CLOSED WONTFIX QA Contact: Filip Suba <fsuba>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: nwpudengzg
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:28:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1227991    

Description Bruno Goncalves 2013-11-29 09:46:14 UTC
Description of problem:
It would be nice to be able to set an specific LUN to be read only, sometimes the write to a LUN should be temporarily disabled, for example to do perform maintenance on filesystem.

I could not find any option to do it on targetcli right now.

Something like "targetcli /backstores/fileio/<lun name> set read_only=1" would be great.

Version-Release number of selected component (if applicable):
targetcli-2.1.fb31-1.el7

Comment 9 RHEL Program Management 2020-12-15 07:28:42 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.