Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Invalid filesystem option set [solved pebcak]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sat Oct 26, 2013 9:59 am    Post subject: Invalid filesystem option set [solved pebcak] Reply with quote

Trying to create a basic ext4 filesystem:

Code:

# mke2fs -b 1024 -cc -L /boot -N 1024 -m 0 -n -O ^dir_index,^dir_nlink,extents.^extra_isize,^flex_bg,^has_journal,^huge_file,^uninit_bg -t ext4 -v /dev/sda5
mke2fs 1.42.7 (21-Jan-2013)
Invalid filesystem option set: ^dir_index,^dir_nlink,extents.^extra_isize,^flex_bg,^has_journal,^huge_file,^uninit_bg


OK, trial and error finally led to a conclusion (still don't understand why). It only works if extents is the LAST feature (it did not used to be that way):

Code:

# mke2fs -b 1024 -cc -L /boot -N 1024 -m 0 -n -O ^dir_index,^dir_nlink,^extra_isize,^flex_bg,^has_journal,^huge_file,^uninit_bg,extents -t ext4 -v /dev/sda5
mke2fs 1.42.7 (21-Jan-2013)
fs_types for mke2fs.conf resolution: 'ext4', 'small'

[...]


Things like this don't exactly fill me with confidence. Any thoughts?

Edited to remove some (but not all) of the superfluous stupidity.


Last edited by curmudgeon on Sun Oct 27, 2013 8:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 26, 2013 3:15 pm    Post subject: Reply with quote

Quote:
# mke2fs -b 1024 -cc -L /boot -N 1024 -m 0 -n -O ^dir_index,^dir_nlink,extents.^extra_isize,^flex_bg,^has_journal,^huge_file,^uninit_bg -t ext4 -v /dev/sda5
mke2fs 1.42.7 (21-Jan-2013)

Is this the actual command you used? There is a period instead of comma after extents.

Please see /etc/mke2fs.conf, too.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sun Oct 27, 2013 8:42 am    Post subject: Reply with quote

Jaglover wrote:
Is this the actual command you used? There is a period instead of comma after extents.


That would explain it.

I was actually looking for that (not a comma), and staring right at it, but I didn't see it.

Guess that is telling me I need stronger lenses. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum