Skip to content

docs: create new doc for rawfile overview and storageclass#604

Open
balaharish7 wants to merge 1 commit into
openebs:mainfrom
balaharish7:rawfileoverview
Open

docs: create new doc for rawfile overview and storageclass#604
balaharish7 wants to merge 1 commit into
openebs:mainfrom
balaharish7:rawfileoverview

Conversation

@balaharish7

Copy link
Copy Markdown
Contributor
  • Create new document to describe the Overview of RawFile
  • Create new document that describes about Storage Class

Signed-off-by: Bala Harish <bala.harish.ac@datacore.com>

@tiagolobocastro tiagolobocastro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should explain how storagePools and the COW can be enabled in the host filesystem
Maybe something in the advanced guide? Then point to it?


## StorageClass with Thin Provisioning

Thin provisioning creates sparse backing files, meaning disk space is allocated on demand rather than upfront. When using thin provisioning, you must set `formatOptions` to disable block discard, otherwise the filesystem may reclaim space in a way that conflicts with the sparse file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the other way around
If using thinProvision: "false" then there should be no discard?

allowVolumeExpansion: true
parameters:
fsType: "ext4"
storagePool: "fast-pool"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're mentioning these but we're not explaining how it works? They need to be configured first


## StorageClass with Snapshots Enabled (Copy-on-Write)

To enable block-level snapshots using copy-on-write (reflink), set `copyOnWrite` to `"true"`. The underlying filesystem must support reflinks (btrfs supports this natively; ext4 requires a reflink-capable filesystem).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably give examples on how to configure this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants