LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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, 06:10 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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, 02: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, 04:17 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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, 10:55 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



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 01:56 AM
extending volume group vs extending physical volume which is better ? Gil@LQ Linux - Server 2 08-19-2013 10:13 AM
Extended attributes - Ubuntu 13.04 ext4 AristoDawg Ubuntu 0 06-06-2013 04:44 AM
Extending Samba4 Schema for additinoal attributes. varouj Linux - Enterprise 0 02-12-2013 09:44 PM

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

All times are GMT -5. The time now is 11:12 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
Open Source Consulting | Domain Registration