-
Notifications
You must be signed in to change notification settings - Fork 17
Which fsTypes are supported #90
Comments
Hi @hei-pa we do not support zfs as a fsType. We support the following fsTypes: ext2, ext3, ext4, btrfs and xfs |
ok thanks for the info zfs can be mounted legacy like other filesystems. So |
@hei-pa could you perhaps share any logs you have about the crash with us? For instance what did the PVC events log show? If it's easier to do so you can send the crash reports to [email protected] With regards to what filesystems we support we are agnostic to what file system is mounted on Out of curiosity, I did try to create a volume with a storage class that had
That makes me wonder whether Kubernetes supports ZFS PVs at all. That's something I haven't yet been able to find an answer to so I will get back to you on that. |
Ok I have not that deep knowledge of kubernetes and pvc at all. I have setup a single master node to evaluate a little bit. My setup with zpools as root filesystem or data pools mounted to Is it possible to delete the current StorageClass and create a new one without reinstalling the whole storageos part? Because the default setup of storageos-operator creates a StorageClass with ext4. Now with a new cluster and a storageclass with fsType zfs i get the following ... don't know if something else is wrong here
|
@hei-pa So using zpools or data pools as the file system mounted under You can have multiple Storage Classes and specify which you wish to use when you create PVCs. You can create a new Storage Class and change the fsType parameter to one that you want. If you have reinstalled then I'd suggest you create a storage class with an fsType of ext4 and test whether you can provision volumes like that before you try and create a Storage Class that uses zfs |
yes i have deleted the sc fast and it was recreated from storageos with this one (have ext4 as fsType) is looks good to me
|
@hei-pa Could you show me what the StorageClass you are using looks like? Also could you try and create a volume using the StorageOS CLI? |
i have a zfs storageclass after i have followed your advice to extract the original with
Now using this one in a pvc results in
There is no mkfs.zfs ... it's not working that way. Now trying the
It would be fine for me if storageos creates ext4 filesystem blobs, but the underlaying filesystem has to be a zpool because I have no other. If I have a look to the disk that should be mounted
There is no partition? It's the whole disk? Is that correct? Something like this can not be mounted. |
@hei-pa I checked with colleagues and when using CSI StorageOS actually does the formatting of the block device. However we do not currently support ZFS filesystems so this is not possible. On the subject of the partitions we do not create partitions on our volumes, however the lack of partitions does not prevent the file system from being mounted. In the output below I have mounted the volume default/pvc-52e8d3e6-517f-11e9-99f1-0681640e8ccc on /mnt.
Could you try and do the following and share the output? |
Ok got the partition thing. Here is the output
So it does not work to force a ext4 blob file for some reason I have tried the command and got this error
Edit I have tried creating a file with ext4 signature in /var/lib/storageos (the zfs dataset mountpoint) and everything is working. Then I did the same inside /var/lib/storageos/volumes and this did not work
Whats wrong with the volumes directory? Special thing? Ok there is something mounted to volumes
|
@hei-pa Thanks for doing that. I've created a ticket internally for someone to recreate this issue however I do not know when the development team will be able to spend time working on this issue. In the meantime I'd suggest that you move If you've got any questions in future feel free to send me a message on our public slack |
I have a zpool mounted on
/var/lib/storageos
.Using ext4 as fsType crashes when the pvc is used and the final
mount -t ext4 ..
is executed.I do not find any other supported fsTypes. I have tried setting
zfs
as fsType without luck.Is is possible in general or do I have to use ext4?
The text was updated successfully, but these errors were encountered: