| Summary: | Bring in support for Write-Once-Read-Many (WORM) FS | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | shishir gowda <sgowda> |
| Component: | unclassified | Assignee: | shishir gowda <sgowda> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | gluster-bugs, nsathyan, shwetha |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | 3.3beta2 | Category: | --- |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
shishir gowda
2011-07-13 13:01:45 UTC
CHANGE: http://review.gluster.com/23 (This xlator will allow files to be opened for write in append mode) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.com/210 (Change-Id: I7234909eecdc6af1b8482465f19d0490fcba94ad) merged in master by Vijay Bellur (vijay) Verified on the branch 3.3beta2. Steps executed: Testing file operations ---------------------------- 1) root@Unbuntu1:/opt/client1# touch a.txt 2) root@Unbuntu1:/opt/client1# echo "Hello" > a.txt -bash: a.txt: Read-only file system 3) root@Unbuntu1:/opt/client1# cat a.txt 4) root@Unbuntu1:/opt/client1# echo "Hello" >> a.txt 5) root@Unbuntu1:/opt/client1# cat a.txt Hello 6) root@Unbuntu1:/opt/client1# rm a.txt rm: cannot remove `a.txt': Read-only file system 7) root@Unbuntu1:/opt/client1# :>a.txt -bash: a.txt: Read-only file system 8) root@Unbuntu1:/opt/client1# mv a.txt b.txt mv: cannot move `a.txt' to `b.txt': Read-only file system Testing directory operations -------------------------------------- 1) root@Unbuntu1:/opt/client1# mkdir test 2) root@Unbuntu1:/opt/client1# rmdir test rmdir: failed to remove `test': Read-only file system 3) root@Unbuntu1:/opt/client1# rm -rf test rm: cannot remove directory `test': Read-only file system 4) root@Unbuntu1:/opt/client1# mv test test1 mv: cannot move `test' to `test1': Read-only file system |