Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'noextents' no longer recognized? [Solved: Obsoleted]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Sep 15, 2009 8:11 pm    Post subject: 'noextents' no longer recognized? [Solved: Obsoleted] Reply with quote

I just rebooted to go from 2.6.28 to 2.6.30 and found that my RAID array won't mount on boot anymore.

To cut a long story short, I tracked the problem down to the noextents option; Apparently it is no longer recognized as a valid mount option!

Obviously I don't want extents; I want to keep the option to go back to ext3 (In fact, the SOLE reason I'm using ext4 is for the journal checksum; I'm not using any of the other options because I feel they compromise integrity for speed!)

The removal of the option seems to be completely undocumented. I found a reference to the removal of the 'extents' option in 2.6.29, but nothing about 'noextents' or what the default behavior has been changed to.

I know previously, mounting with 'extents' or nothing would convert the filesystem to use extents which was why all the FAQs and HOWTOs were saying mount with 'noextents' if you want to stay ext3 compatible.

So, my query is, if I remove the noextents mount option, what will happen? Will it irreversibly switch my filesystem to ext4 or am I safe?
And, if it is safe now, what are the chances of the kernel people reverting behavior later so that I need to put 'noextents' back?


Last edited by Cyker on Wed Sep 16, 2009 7:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23517

PostPosted: Wed Sep 16, 2009 2:57 am    Post subject: Reply with quote

The mount option was removed in v2.6.28-5772-g83982b6. Based on a reading of the code, I think that you will be fine as long as the extents feature flag is not set in the superblock. However, I am not a filesystem developer and I have not tested this. If you are concerned, I suggest making an ext3 filesystem in a loopback file, mounting it with the newer kernel, and then checking whether any extents were used for large files.
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Wed Sep 16, 2009 7:41 am    Post subject: Reply with quote

Been reading around and have come to a similar conclusion, although all my data comes from stuff mentioned in passing!

Anyway, tried it and it seems okay; The dreaded extents flag has not appeared \o/

I just need to make sure I am damned careful if I touch any old kernels now :shock:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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