LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ext4 extending extended attributes (https://www.linuxquestions.org/questions/linux-software-2/ext4-extending-extended-attributes-4175669552/)

xooShu4y 02-13-2020 02:19 PM

ext4 extending extended attributes
 
Does it possible to make ext4 file system store extended file attributes of more than 4 KB?

berndbausch 02-13-2020 06:10 PM

It seems that the ea_inode feature, documented in the ext4 man page, allows extended attributes that are larger than a filesystem block. You should be able to set it with tune2fs.

Note that you can tune a filesystem, but you can't tuna fish (reference).

xooShu4y 02-14-2020 02:38 AM

Thank you very much, will this feature for the file system remain forever? I have never used tune2fs before.

berndbausch 02-14-2020 04:17 AM

Quote:

Originally Posted by xooShu4y (Post 6089841)
Thank you very much, will this feature for the file system remain forever? I have never used tune2fs before.

While I have no guarantee, it would be extremely improbable that an existing filesystem feature disappears. Perhaps it will be discontinued in ext5. but it will certainly remain in ext4.

chrism01 02-17-2020 10:55 PM

Just be aware that the default FS for RHEL7 & RHEL 8 is xfs, so you'll have to specify ext4 at build time.


All times are GMT -5. The time now is 11:42 AM.