APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Creating ext3 file systems


© June 2004 Tony Lawrence

The ext3 filesystem is a journaled file system that is compatible with ext2 (an ext3 filesystem can be mounted as ext2 if necessary). It's faster and more reliable than ext2, and therefore has become popular (though so has Reiserfs).

This poster had difficulty creating an ext3 filesystem. Not so long ago, you'd do this by first making an ext2 filestem and then converting it with

tune2fs -j /dev/hdXX
 

A bit later, you could do that directly with:

mke2fs -j /dev/hdXX
 

(See https://www.redhat.com/archives/ext3-users/2001-January/msg00023.html)

and now you can use

mkfs.ext3
 

I can't find a man page that says you can do "mkfs -t ext3 /dev/hdXX", but that does turn up in posts, so maybe it is in a newer version than I have.

However, this poster's problem wasn't really to do with ext3 at all; it was actually a problem with fdisk and the kernel.

If you modify or create a partition on a disk that has other mounted partitions, fdisk will tell you:

WARNING: Re-reading the partition table failed with error
16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
 

If you ignore that, or didn't see it, you are going to get errors when you try to create a filesystem on your new partition. That's what apparently happened here - the fix is simply to reboot. Note that this only applies if the disk being modified has mounted partitions: if you could unmount the other partitions or were using a disk without other partitions, you wouldn't need to reboot and could proceed directly to making your filesystems.

Referencing: https://groups.google.com/groups?selm=672ceaed.0406251701.757d68df%40posting.google.com


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Creating ext3 file systems


Inexpensive and informative Apple related e-books:

Take Control of Pages

Take control of Apple TV, Second Edition

Take Control of Upgrading to El Capitan

Take Control of the Mac Command Line with Terminal, Second Edition

Take Control of Apple Mail, Third Edition




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





C++: NSStringWithoutYourMothersHatButWithNiceCandyFrosting - aargh! (Tony Lawrence)




Linux posts

Troubleshooting posts


This post tagged:

Blog

Disks/Filesystems

Linux

Unix



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com