docs: add complete Local PV Rawfile documentation#619
Open
balaharish7 wants to merge 2 commits into
Open
Conversation
- Add 12 new docs: overview, configuration (Create StorageClass, StorageClass Parameters, Create PVC, Deploy an Application), and advanced operations (Storage Pools, Snapshots, Volume Restore, Volume Resize, Monitoring, Raw Block Volumes, Thin Provisioning) - Update installation, prerequisites, upgrades, and uninstallation docs with rawfile-specific instructions - Add rawfile navigation to sidebars.ts with Configuration and Advanced Operations categories Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Bala Harish A <bala.harish@datacore.com>
balaharish7
force-pushed
the
rawfileoverview-clean
branch
from
July 24, 2026 11:07
b53e854 to
099de58
Compare
Abhinandan-Purkait
approved these changes
Jul 24, 2026
- Remove incorrect host-level prerequisites (losetup, filesystem tools are bundled in the driver container image) - Add CoW filesystem dependency note in overview with link to Storage Pools doc Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Bala Harish A <bala.harish@datacore.com>
| Local PV Rawfile is disabled by default in the OpenEBS Helm chart. These prerequisites apply only if you intend to enable and use it. | ||
| ::: | ||
|
|
||
| The Rawfile driver container image bundles all required tools (`losetup`, `mkfs.ext4`, `mkfs.xfs`, `mkfs.btrfs`) — no host-level installation of these tools is needed. |
Member
There was a problem hiding this comment.
Should we mention the COW prerequisites on the host filesystem?
|
|
||
| ### CoW-Capable Pools (Recommended) | ||
|
|
||
| Storage pools backed by btrfs or XFS with reflink produce space-efficient, nearly instant snapshots. No freeze is required. |
Member
There was a problem hiding this comment.
I think ext4 also supports reflink, so maybe make reflink the major with examples, ie:
Suggested change
| Storage pools backed by btrfs or XFS with reflink produce space-efficient, nearly instant snapshots. No freeze is required. | |
| Storage pools backed by filesystems which support reflink (i.e. btrfs or XFS) produce space-efficient, nearly instant snapshots. No freeze is required. |
|
|
||
| ### freezeFs | ||
|
|
||
| For pools without CoW support (e.g. ext4), add `freezeFs: "true"` to the StorageClass. The filesystem is briefly frozen during the snapshot to ensure crash consistency: |
Member
There was a problem hiding this comment.
Well, not really "briefly", the volume is frozen and then we copy the ENTIRE volume to a new file, and only then do we unfreeze
|
|
||
| ## Capacity Considerations | ||
|
|
||
| - CoW-capable pools (btrfs, XFS reflink): snapshots consume only the changed blocks after the snapshot point. |
Member
There was a problem hiding this comment.
Suggested change
| - CoW-capable pools (btrfs, XFS reflink): snapshots consume only the changed blocks after the snapshot point. | |
| - CoW-capable pools (filesystems with reflink enabled): snapshots consume only the changed blocks after the snapshot point. |
| ## Capacity Considerations | ||
|
|
||
| - CoW-capable pools (btrfs, XFS reflink): snapshots consume only the changed blocks after the snapshot point. | ||
| - Non-CoW pools (ext4): each snapshot is a full copy of the volume and consumes the same amount of space as the original. |
Member
There was a problem hiding this comment.
Suggested change
| - Non-CoW pools (ext4): each snapshot is a full copy of the volume and consumes the same amount of space as the original. | |
| - Non-CoW pools: each snapshot is a full copy of the volume and consumes the same amount of space as the original. |
|
|
||
| ## Support | ||
|
|
||
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
Member
There was a problem hiding this comment.
Suggested change
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). | |
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/rawfile-localpv/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
|
|
||
| ## Support | ||
|
|
||
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
Member
There was a problem hiding this comment.
Suggested change
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). | |
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/rawfile-localpv/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
|
|
||
| ## Support | ||
|
|
||
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
Member
There was a problem hiding this comment.
Suggested change
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). | |
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/rawfile-localpv/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
|
|
||
| ## Support | ||
|
|
||
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
Member
There was a problem hiding this comment.
Suggested change
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). | |
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/rawfile-localpv/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
|
|
||
| ## Support | ||
|
|
||
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
Member
There was a problem hiding this comment.
Suggested change
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/openebs/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). | |
| If you encounter issues or have a question, file a [Github issue](https://github.com/openebs/rawfile-localpv/issues/new), or talk to us on the [#openebs channel on the Kubernetes Slack server](https://kubernetes.slack.com/messages/openebs/). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds full user facing documentation for the Local PV Rawfile storage engine in OpenEBS, following the same structure and style as existing storage docs (Hostpath, LVM, ZFS, Mayastor).
New Docs - Configuration (4 Docs)
New Docs - Advanced Operations (7 Docs)
Updated Existing Docs
--set engines.local.rawfile.enabled=trueinstall commandNote:
All content sourced from the rawfile-localpv develop branch docs