stratis-storage / project

A holding place for issues that affect more than one repository in the project
4 stars 0 forks source link

Question: any reason there is no such device under /dev/stratis/? #667

Closed yxiang92128 closed 9 months ago

yxiang92128 commented 9 months ago

I created a pool and a file system:

stratis filesystem list
Pool              Filesystem   Total / Used / Free             Created             Device                                    UUID
stratis_testing   testing_fs   1 TiB / 546 MiB / 1023.47 GiB   Sep 25 2023 16:28   /dev/stratis/stratis_testing/testing_fs   70c8beaa-7199-44ee-a9c3-7e7a3c3473a8

But there is no such thing under /dev
cnc-tdvm-smp:/ # ls /dev/stratis
ls: cannot access '/dev/stratis': No such file or directory
cnc-tdvm-smp:/ # ls /dev/stratis/stratis_testing/testing_fs
ls: cannot access '/dev/stratis/stratis_testing/testing_fs': No such file or directory
cnc-tdvm-smp:/ # mount /dev/stratis/stratis_testing/testing_fs /mnt
mount: /mnt: special device /dev/stratis/stratis_testing/testing_fs does not exist.

How do I work around the issue?

Thanks.

mulkieran commented 9 months ago

You will have to build and install not just stratisd the Rust application but also its supporting files. Please take a look at the Fedora spec file[1] for the project, which handles installing all the additional files that are needed.

[1] https://src.fedoraproject.org/rpms/stratisd/blob/rawhide/f/stratisd.spec