Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I format the following partition on Redhat 5.2?

/dev/mapper/VG00-LogVol 148G  111G   36G  76% /u001/app/oracle
share|improve this question
up vote 0 down vote accepted

"Formating" a partition is done by simply creating a filesystem on that device. For example:

mkfs.ext4 /dev/mapper/VG00-LogVol

But be sure you know what you are doing. You can really destroy data that way.

share|improve this answer
Its redhat 5 so isn't it should be mkfs.ext3 /dev/mapper/VG00-LogVol instead mkfs.ext4. Yes We already have taken the backup – OmiPenguin Jan 12 '13 at 13:24
You have to decide yourself what kind of filesystem is best for your case. ext3 is probably fine. – michas Jan 12 '13 at 13:37
I tried to run the command mkfs.ext3 /dev/mapper/VG00-LogVol but its saying that /dev/mapper/VG00-LogVol is apparently is in use by the system, will not make a filesystem. Although i have unmounted the filesystem – OmiPenguin Jan 12 '13 at 13:40

Red Hat distros should have a GUI tool for this called "Disks" installed, and yes, be extremely careful, especially if you're running on a manufacturer-built machine because often times people end up voiding their warranty messing with partitions because the manufacturers almost always have a partition full of recovery tools hidden somewhere.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.