HI, I have just upgraded my Linux 7.1 to 7.2 (so I can have ext3 available for use). My question is how do I format a partition for an ext3 file system? We can normally run the command 'mkfs' or 'mkfs.ext2' to format an ext2 file system, or 'mkfs.xfs' for an xfs file system. I was looking for some utilily like 'mkfs.ext3' or similar. Question: Does ext3 support large file (file > 2GB)? Eventhough there's no mention of ext3 supporting large file, a friend of mine was able to copy a 2.5GB file to an ext3 file system. Thanks, Steve __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
Craig Dickson
2001-Nov-08 21:50 UTC
Re: Which mkfs tool can I use for an ext3 file system??
steve pham wrote:> I have just upgraded my Linux 7.1 to 7.2I think you mean "Red Hat Linux 7.1 to 7.2"... distro version numbers are only meaningful if you identify the distro you're referring to.> (so I can have ext3 available for use). My question is how do I > format a partition for an ext3 file system? We can > normally run the command 'mkfs' or 'mkfs.ext2' to > format an ext2 file system, or 'mkfs.xfs' for an xfs > file system. I was looking for some utilily like > 'mkfs.ext3' or similar.tune2fs -j /dev/hda1 (or whatever the partition's device is) If you do this while the partition is mounted, you'll see a file called .journal in the root directory of the partition. If you don't want this, do it while the partition is unmounted. (It doesn't really matter either way -- it doesn't hurt anything for it to be visible.)> Question: Does ext3 support large file (file > 2GB)?Yes, as long as your kernel does. Any 2.4 kernel should be okay.> Eventhough there's no mention of ext3 supporting large > file, a friend of mine was able to copy a 2.5GB file > to an ext3 file system.Well, there you go. Craig
Andreas Dilger
2001-Nov-08 21:58 UTC
Re: Which mkfs tool can I use for an ext3 file system??
On Nov 08, 2001 11:30 -0800, steve pham wrote:> My question is how do I > format a partition for an ext3 file system? We can > normally run the command 'mkfs' or 'mkfs.ext2' to > format an ext2 file system, or 'mkfs.xfs' for an xfs > file system. I was looking for some utilily like > 'mkfs.ext3' or similar.Use "mke2fs -j <dev>". I had a patch to have allow a (sym)link mkfs.ext3 -> mkfs.ext2 do the right thing, but Ted didn't like it.> Question: Does ext3 support large file (file > 2GB)?Yes. Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
Reasonably Related Threads
- Re: Possible bug in mkfs.ext3
- How can binaries be different when package versions are identical? (mkfs.ext3 on CentOS 5.4)
- Possible bug in mkfs.ext3
- Help needed to recover data from ext3 file system where mkfs was issued accidentally
- [PATCH] mkfs: add 'label' optional argument