I was hoping to play around with using Stratis as my rootfs, but only half my drive is used for my Linux install (with Windows on the other half). Would it be possible to create a Stratis pool covering just a portion of the block device?
Hi Ryan! If you claim the Linux partition half of the device for a Stratis pool, using Stratis as the root filesystem is doable. You'd simply need to back up your current install somewhere, claim that partition for a Stratis pool, and then create your partitions for Linux by creating filesystems that you intend to mount at the various mount points like /, /var, etc.
More concretely, you'd want to back up your data, then let's say your drive is /dev/sda, the Windows partition is /dev/sda1, and the Linux partition is /dev/sda2. You'd want to create a pool using /dev/sda2 and then create your desired filesystems on that pool, mount them in the appropriate places, and copy your data back over from the root filesystem with the appropriate user, group and SELinux permissions. I tried something like this while I was developing the process and it did work once the permissions were sorted out, so I know it's possible.
If you bump into any problems, please let me know and I'm happy to troubleshoot with you! Also, please do back up your data if you intend to try this because the official process that I've developed for this at the moment involves using Anaconda for the install so while I'm happy to develop some documentation with you for alternate methods, this is still uncharted territory at the moment in terms of documentation.
One alternate option is trying it in a VM first if you want to play around with setting the appropriate permissions and all of the details.
Please let me know how it goes and if I can help with anything else. Thanks!
John Baublitz Senior Software Engineer, Storage, Stratis team he/him/his
On 8/16/21 12:05 AM, Ryan Gonzalez wrote:
I was hoping to play around with using Stratis as my rootfs, but only half my drive is used for my Linux install (with Windows on the other half). Would it be possible to create a Stratis pool covering just a portion of the block device? _______________________________________________ stratis-devel mailing list -- stratis-devel@lists.fedorahosted.org To unsubscribe send an email to stratis-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/stratis-devel@lists.fedorahoste... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
stratis-devel@lists.stg.fedorahosted.org