APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Blogging > Creating ext3 file systems
Printer Friendly Version




Creating ext3 file systems


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: http://groups.google.com/groups?selm=672ceaed.0406251701.757d68df%40posting.google.com


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

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. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Blog
       - Disks/Filesystems
       - Linux
       - Unix




Unix/Linux Consultants

Skills Tests

Guest Post Here