LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2020, 03:19 PM   #1
xooShu4y
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Rep: Reputation: Disabled
ext4 extending extended attributes


Does it possible to make ext4 file system store extended file attributes of more than 4 KB?
 
Old 02-13-2020, 07:10 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,154

Rep: Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169
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).
 
Old 02-14-2020, 03:38 AM   #3
xooShu4y
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much, will this feature for the file system remain forever? I have never used tune2fs before.
 
Old 02-14-2020, 05:17 AM   #4
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,154

Rep: Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169Reputation: 1169
Quote:
Originally Posted by xooShu4y View Post
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.
 
Old 02-17-2020, 11:55 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,710

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Having problems extending the size of a extended partition bikal Linux - Newbie 3 12-29-2016 02:56 AM
extending volume group vs extending physical volume which is better ? Gil@LQ Linux - Server 2 08-19-2013 11:13 AM
Extended attributes - Ubuntu 13.04 ext4 AristoDawg Ubuntu 0 06-06-2013 05:44 AM
Extending Samba4 Schema for additinoal attributes. varouj Linux - Enterprise 0 02-12-2013 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration