Dear fellow testers,
Is there a way to tell if one is running ext4 filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta, but I am not sure that the filesystem is ext4 :(
Thanks,
Antonio
On Fri, Oct 3, 2008 at 7:23 PM, Antonio Olivares olivares14031@yahoo.com wrote:
Dear fellow testers,
Is there a way to tell if one is running ext4 filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta, but I am not sure that the filesystem is ext4 :(
Thanks,
Antonio
If you run Gparted, will it show the file system type correctly?
--- On Fri, 10/3/08, Gerry Tool gerrytool@gmail.com wrote:
From: Gerry Tool gerrytool@gmail.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3 To: olivares14031@yahoo.com, "For testers of Fedora Core development releases" fedora-test-list@redhat.com Date: Friday, October 3, 2008, 5:33 PM On Fri, Oct 3, 2008 at 7:23 PM, Antonio Olivares olivares14031@yahoo.com wrote:
Dear fellow testers,
Is there a way to tell if one is running ext4
filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta,
but I am not sure that the filesystem is ext4 :(
Thanks,
Antonio
If you run Gparted, will it show the file system type correctly?
Gparted does not show the filesystem types? If it does, how do I run it? I tried LiveCD, but it does not show what filesystem type it is. fdisk shows:
[root@riohigh ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xaf7caf7c
Device Boot Start End Blocks Id System /dev/sda1 * 1 12 96358+ 83 Linux /dev/sda2 31841 31865 200812+ 83 Linux /dev/sda3 31866 38913 56613060 8e Linux LVM /dev/sda4 13 31840 255658410 5 Extended /dev/sda5 13 26108 209616088+ 83 Linux /dev/sda6 26109 26239 1052226 82 Linux swap / Solaris /dev/sda7 26240 31840 44990001 83 Linux
Partition table entries are not in disk order [root@riohigh ~]#
Thanks,
Antonio
On Fri, 3 Oct 2008 18:11:10 -0700 (PDT), Antonio Olivares wrote:
If you run Gparted, will it show the file system type correctly?
Gparted does not show the filesystem types? If it does, how do I run it?
Try:
parted /dev/sda print
You may abbreviate "print" as "p":
parted /dev/sda p
Parted examines the filesystems on the partitions. In case it recognises ext4 already, it would print that.
I tried LiveCD, but it does not show what filesystem type it is. fdisk shows:
[root@riohigh ~]# fdisk -l
fdisk doesn't examine a partition's filesys type.
On Fri, 3 Oct 2008, Antonio Olivares wrote:
To: For testers of Fedora Core development releases fedora-test-list@redhat.com, Gerry Tool gerrytool@gmail.com From: Antonio Olivares olivares14031@yahoo.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3
--- On Fri, 10/3/08, Gerry Tool gerrytool@gmail.com wrote:
From: Gerry Tool gerrytool@gmail.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3 To: olivares14031@yahoo.com, "For testers of Fedora Core development releases" fedora-test-list@redhat.com Date: Friday, October 3, 2008, 5:33 PM On Fri, Oct 3, 2008 at 7:23 PM, Antonio Olivares olivares14031@yahoo.com wrote:
Dear fellow testers,
Is there a way to tell if one is running ext4
filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta,
but I am not sure that the filesystem is ext4 :(
Thanks,
Antonio
If you run Gparted, will it show the file system type correctly?
Gparted does not show the filesystem types? If it does, how do I run it? I tried LiveCD, but it does not show what filesystem type it is. fdisk shows:
On F8 Gparted shows the filesystem types for me. However it does not show or appear to support the ext4 fs type yet.
HTH
Keith
----------------------------------------------------------------- Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk
The mind of the prudent is ever getting knowledge, and the eear of the wise is ever seeking, inquiring for and craving knowledge. Pr. 18:15 Amp
Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf
All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------
On Fri, 2008-10-03 at 18:11 -0700, Antonio Olivares wrote:
--- On Fri, 10/3/08, Gerry Tool gerrytool@gmail.com wrote:
From: Gerry Tool gerrytool@gmail.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3 To: olivares14031@yahoo.com, "For testers of Fedora Core development releases" fedora-test-list@redhat.com Date: Friday, October 3, 2008, 5:33 PM On Fri, Oct 3, 2008 at 7:23 PM, Antonio Olivares olivares14031@yahoo.com wrote:
Dear fellow testers,
Is there a way to tell if one is running ext4
filesystem vs. ext3?
Run 'mount'. If it's ext4, the filesystem will be listed as 'ext4dev'.
I used ext4 boot parameter to install Fedora 10 Beta,
but I am not sure that the filesystem is ext4 :(
Unless you did custom partitioning and told it to use ext4, you got the standard setup - which means ext3.
Thanks,
Antonio
If you run Gparted, will it show the file system type correctly?
Gparted does not show the filesystem types? If it does, how do I run it? I tried LiveCD, but it does not show what filesystem type it is. fdisk shows:
[root@riohigh ~]# fdisk -l
fdisk shows the *partition* type. partitions can contain any filesystem type that Linux knows about. So this won't help.
-w
On Fri, 2008-10-03 at 17:23 -0700, Antonio Olivares wrote:
Is there a way to tell if one is running ext4 filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta, but I am not sure that the filesystem is ext4 :(
libblkid can tell the difference /sbin/blkid -s TYPE /path/to/blkdev
Jeremy
Jeremy Katz wrote:
On Fri, 2008-10-03 at 17:23 -0700, Antonio Olivares wrote:
Is there a way to tell if one is running ext4 filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta, but I am not sure that the filesystem is ext4 :(
libblkid can tell the difference /sbin/blkid -s TYPE /path/to/blkdev
Jeremy
or look at /proc/mounts :)
Note: if you use the ext4 boot param, you still must go to the custom partitioning screen to choose ext4. The boot param simply enables this choice.
-Eric
On Fri, 2008-10-03 at 21:28 -0500, Eric Sandeen wrote:
Note: if you use the ext4 boot param, you still must go to the custom partitioning screen to choose ext4. The boot param simply enables this choice.
Will this still be the method to get it when it goes Gold? Or will ext4 be automatically included like ext3, in which I am assuming depending on how testing goes to that point?
Mike Chambers wrote:
On Fri, 2008-10-03 at 21:28 -0500, Eric Sandeen wrote:
Note: if you use the ext4 boot param, you still must go to the custom partitioning screen to choose ext4. The boot param simply enables this choice.
Will this still be the method to get it when it goes Gold? Or will ext4 be automatically included like ext3, in which I am assuming depending on how testing goes to that point?
Good question. There's no consensus upstream to drop the "dev" from "ext4dev" yet, so it may remain as a boot option for this release, yet.
I think it may technically require a fedora "feature" change to to drop the boot argument at this point, but I'm not certain...
It certainly won't be switched in as the *default* for F10, though.
-Eric
Eric Sandeen <sandeen <at> redhat.com> writes:
Good question. There's no consensus upstream to drop the "dev" from "ext4dev" yet, so it may remain as a boot option for this release, yet.
I think it may technically require a fedora "feature" change to to drop the boot argument at this point, but I'm not certain...
It certainly won't be switched in as the *default* for F10, though.
Ultimately when id does become default I wonder what the situation will be if you install clean for F11+ and make the / partition default formatted to ext4, but there may be other pre-existing ext3 /opt or /home paritions that have lots of files on which should not be formatted....
In that case is there a way to convert the ext3 to ext4 whilst retaining all the pre-existing files? If not then would the system be happy having ext4 / partition as well as co-existing ext3 /opt and /home partitions on a single system?
In that case is there a way to convert the ext3 to ext4 whilst retaining all the pre-existing files? If not then would the system be happy having ext4 / partition as well as co-existing ext3 /opt and /home partitions on a single system?
To the best of my knowledge ext3 can be converted to ext4 simply by mounting ext3 as ext4 with only minor limitations (same can be done from ext2 to ext3. Therefore formatting ext3 partitions to take advantage of ext4 should not be necessary.
2008/10/4 Mike mike.cloaked@gmail.com
Eric Sandeen <sandeen <at> redhat.com> writes:
Good question. There's no consensus upstream to drop the "dev" from "ext4dev" yet, so it may remain as a boot option for this release, yet.
I think it may technically require a fedora "feature" change to to drop the boot argument at this point, but I'm not certain...
It certainly won't be switched in as the *default* for F10, though.
Ultimately when id does become default I wonder what the situation will be if you install clean for F11+ and make the / partition default formatted to ext4, but there may be other pre-existing ext3 /opt or /home paritions that have lots of files on which should not be formatted....
In that case is there a way to convert the ext3 to ext4 whilst retaining all the pre-existing files? If not then would the system be happy having ext4 / partition as well as co-existing ext3 /opt and /home partitions on a single system?
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list
John5342 wrote:
In that case is there a way to convert the ext3 to ext4 whilst retaining all the pre-existing files? If not then would the system be happy having ext4 / partition as well as co-existing ext3 /opt and /home partitions on a single system?
To the best of my knowledge ext3 can be converted to ext4 simply by mounting ext3 as ext4 with only minor limitations (same can be done from ext2 to ext3. Therefore formatting ext3 partitions to take advantage of ext4 should not be necessary.
That's largely correct.
You can mount any ext3 partition as ext4, but you'll get varying degrees of ext4 advantages that way.
ext2->ext3 was actually a bit simpler, as ext3 when it was first introduced really was pretty much just ext2+journal. There are many more changes in ext4, many of which have different disk format implications.
ext3 filesystems created in F9 or later will have larger inodes, which leaves room for some of the new features in ext4. Simply mounting ext3 as ext4 leaves existing files in the old format... there are conversion tools for both of these things, but they have not had a huge amount of testing yet. There are also mkfs-time geometry changes (flex_bg for one) which you don't get if you migrate a filesystem.
-Eric
--- On Fri, 10/3/08, Jeremy Katz katzj@redhat.com wrote:
From: Jeremy Katz katzj@redhat.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3 To: olivares14031@yahoo.com, "For testers of Fedora Core development releases" fedora-test-list@redhat.com Date: Friday, October 3, 2008, 6:43 PM On Fri, 2008-10-03 at 17:23 -0700, Antonio Olivares wrote:
Is there a way to tell if one is running ext4
filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta,
but I am not sure that the filesystem is ext4 :(
libblkid can tell the difference /sbin/blkid -s TYPE /path/to/blkdev
Jeremy
Jeremy,
Thank you very much, and to all who also have answered. I have found out that i am running indeed ext4, but it says ext4dev, Here's the proof
[olivares@riohigh ~]$ su - Password: [root@riohigh ~]# /sbin/blkid -s TYPE /path/to/blkdev [root@riohigh ~]# /sbin/blkid -s TYPE /dev/ Display all 238 possibilities? (y or n) [root@riohigh ~]# /sbin/blkid -s TYPE /dev/s scd0 sda2 sda6 sg0 snapshot stderr scd1 sda3 sda7 sg1 snd/ stdin sda sda4 sequencer sg2 sr0 stdout sda1 sda5 sequencer2 shm/ sr1 systty [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda1 /dev/sda1: TYPE="ext3" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda2 /dev/sda2: TYPE="ext3" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda3 /dev/sda3: TYPE="lvm2pv" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda4 [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda5 /dev/sda5: TYPE="ext4dev" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda6 /dev/sda6: TYPE="swap" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda7 /dev/sda7: TYPE="ext3" [root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda8 [root@riohigh ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xaf7caf7c
Device Boot Start End Blocks Id System /dev/sda1 * 1 12 96358+ 83 Linux /dev/sda2 31841 31865 200812+ 83 Linux /dev/sda3 31866 38913 56613060 8e Linux LVM /dev/sda4 13 31840 255658410 5 Extended /dev/sda5 13 26108 209616088+ 83 Linux /dev/sda6 26109 26239 1052226 82 Linux swap / Solaris /dev/sda7 26240 31840 44990001 83 Linux
Partition table entries are not in disk order [root@riohigh ~]#
sda5 is the partion in which F10 Beta resides:
[root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda5 /dev/sda5: TYPE="ext4dev"
Best regards,
Antonio
Antonio Olivares wrote:
--- On Fri, 10/3/08, Jeremy Katz katzj@redhat.com wrote:
From: Jeremy Katz katzj@redhat.com Subject: Re: is there a way to tell that you have ext4 filesystem vs ext3 To: olivares14031@yahoo.com, "For testers of Fedora Core development releases" fedora-test-list@redhat.com Date: Friday, October 3, 2008, 6:43 PM On Fri, 2008-10-03 at 17:23 -0700, Antonio Olivares wrote:
Is there a way to tell if one is running ext4
filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta,
but I am not sure that the filesystem is ext4 :(
libblkid can tell the difference /sbin/blkid -s TYPE /path/to/blkdev
Jeremy
Jeremy,
Thank you very much, and to all who also have answered. I have found out that i am running indeed ext4, but it says ext4dev, Here's the proof
<snip>
[root@riohigh ~]# /sbin/blkid -s TYPE /dev/sda5 /dev/sda5: TYPE="ext4dev"
In that case, my earlier suggestion needs some translation:-)
Antonio Olivares wrote:
Dear fellow testers,
Is there a way to tell if one is running ext4 filesystem vs. ext3?
I used ext4 boot parameter to install Fedora 10 Beta, but I am not sure that the filesystem is ext4 :(
Thanks,
Antonio
df -t ext4