[solved] ext4 file system compatibility [not relevant]
Hi, I have formatted (ext4) an USB memory stick on my workstation (CentOS8, mke2fs 1.44.3).
When attaching this device via an USB OTG adapter to a XA2 phone (SFOS 3.2.0.12). I can mounting the encrypted partition via system preferences. But it seems that the UI has glitches, timeouts, responsiveness, file manager not usable etc. At this point there appears also a warning text while at the terminal I see the mounted filesystem (df -h) and copied manually (cp) some files onto it.
Comparing two device, each one formatted on the phone and workstation respectively, I see these main differences (tune2fs -l):
- SFOS: Filesystem features: ...... 64bit ....
- SFOS: Filesystem flags: unsigned_directory_hash
- SFOS: Default mount options: user_xattr acl
- CENTOS8: Filesystem flags: signed_directory_hash
I added the user_xattr,acl options to the device of the workstation but the file manager on SFOS is still not usable. Also, after using the device at the phone, when plugged to the workstation back, following appears in the logs:
kernel: EXT4-fs (dm-4): recovery complete
SFOS has mke2fs 1.45.0 and should be backward compatible. It feels still sluggished. Does this experiences have to do with the above Filesystem flags: signed_directory_hash? Any hints?
Based on the evidence of my own answer I did some tests and EVERYTHING works as expected now! Summarized: Created a encrypted usb device on the workstation (CentOS8) based on LUKS/EXT4 and used it for data transfers between SFOS and vice versa.
Leon ( 2019-12-19 03:17:00 +0200 )edit