Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stratis Storage support #142

Open
timwhite1 opened this issue Feb 16, 2023 · 3 comments
Open

Stratis Storage support #142

timwhite1 opened this issue Feb 16, 2023 · 3 comments
Labels
question Further information is requested research

Comments

@timwhite1
Copy link

timwhite1 commented Feb 16, 2023

Stratis Storage relies on LVM / DM-Tables thin volumes as well. I'm very encouraged by your project and its capabilities. Has anyone tested this on a Stratis Storage Pool? I cannot see why it wouldn't work.

@tasket
Copy link
Owner

tasket commented Feb 16, 2023

It would be interesting to see if that worked. Assuming the thin-provisioning-tools commands like thin_delta can't be used directly on Stratis objects, what would be the analog to use under Stratis?

BTW in a bit of an ironic twist, Wyng is adding support for reflink image files on Btrfs and XFS. IIRC Stratis uses XFS on top of its thin block layer.

(As for relative merits, someday I'd love to see an apples-to-apples benchmark comparison of COW storage systems, including Ext4-on-dm-thin, Stratis and Btrfs.)

@tasket tasket added question Further information is requested research labels Feb 16, 2023
@tlaurion
Copy link
Contributor

tlaurion commented Jul 1, 2023

@timwhite1 ?

@timwhite1
Copy link
Author

timwhite1 commented Jul 1, 2023

It would be interesting to see if that worked. Assuming the thin-provisioning-tools commands like thin_delta can't be used directly on Stratis objects, what would be the analog to use under Stratis?

Not sure if this is a great answer but here is my understanding of how it works--

Command syntax is:
stratis filesystem snapshot <pool_name> <file_system_name> <snapshot_name>

That creates a thin snapshot of the entire XFS file system via underlying DM-thin mechanisms. More info here:
stratis-storage/project#541 (reply in thread)

Per this Redhat KB as "thin" as it might be "Each snapshot uses around half a gigabyte of actual backing storage, which is needed for the XFS log." That seems outlandish.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/using-snapshots-on-stratis-file-systems_managing-file-systems

BTW in a bit of an ironic twist, Wyng is adding support for reflink image files on Btrfs and XFS. IIRC Stratis uses XFS on top of its thin block layer.

Yes a Stratis Filesystem is XFS. In some not so great news I've learned that Stratis COW functionality is limited to when you manually run a CP or other iotcl command. But more typical writes will be overwrites, not COW. This is disappointing and not really what one would expect of a system calling itself "copy on write". More info here (same thread as above):
stratis-storage/project#541 (reply in thread)

(As for relative merits, someday I'd love to see an apples-to-apples benchmark comparison of COW storage systems, including Ext4-on-dm-thin, Stratis and Btrfs.)

Agreed! And someday before long we should have bcachefs joining the ranks. Would love to see some comparison as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested research
Projects
None yet
Development

No branches or pull requests

3 participants