LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-07-2012, 09:58 AM   #1
eduperez
LQ Newbie
 
Registered: Jan 2011
Distribution: Fedora 16
Posts: 2

Rep: Reputation: 0
ext3 converted to ext4, still reported as ext3


I have a couple of filesystems that where initially created as ext3 and later converted to ext4 (tune2fs -O extents,uninit_bg,dir_index ...; fsck.ext4 -pfD ...); I mount then as ext4, have been using them for some time, and everything seems fine.

However, "fsck -N" still reports them as ext3, not ext4. This would be just a cosmetic issue, were not for some programs (Fedora's rescue or upgrade, for example), that refuse to mount them, because they do not match what fstab says.

So, my question is, how does fsck detect them as ext3, and how can I change that info (other than mkfs, of course)? Many thanks!
 
Old 02-07-2012, 11:15 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,703
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Does fsck even know what ext4 is? Chances are that this version did'nt "know" ext4 at creation time...
Just a flake of a thought...by the way, what's the OS over there?

Thor
 
Old 02-07-2012, 06:06 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,213

Rep: Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952
Strictly speaking, you still have an ext3 filesystem - with some extra functionality enabled, on files created since the tune2fs was run. Older files are still "bare" ext3 format.
You might be up for a mkfs after all I'd reckon.
Ted Ts'o maintains the ext? filesystems and tools. Current versions all know about all variants.
 
Old 02-08-2012, 01:25 AM   #4
eduperez
LQ Newbie
 
Registered: Jan 2011
Distribution: Fedora 16
Posts: 2

Original Poster
Rep: Reputation: 0
I'm currently using Fedora 16, and I can run ext4-related utilities (mkfs, fsck, mount, ...) without issues; but these fs where created many versions ago, well before ext4 existed. I hoped that I could make a full conversion from ext3 to ext4; but it looks like I'll have to create new filesystems after all. Many thanks.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is best EXT3 or EXT4 shafey Linux - General 1 12-04-2011 03:46 AM
Ext3 or Ext4? cccc Debian 2 07-28-2011 05:11 PM
mounting ext3 FS as ext4 info1686 Linux - General 1 07-08-2009 08:16 AM
From ext3 to ext4 rengo.Java Linux - Software 6 12-27-2008 10:58 AM
Ext3 filesystem reported as FAT32 Samuli Järvelä Linux - General 1 05-10-2007 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:46 AM.

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