mkfs and mke2fs filesystems..


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mkfs and mke2fs filesystems..
# 1  
Old 11-27-2004
mkfs and mke2fs filesystems..

I am very interested in filesystems. creating filesystems on my database is almost a function that I apply routinely.. . but recently I have been reading up on filesystems and creating filesystem in The Rute Tutorial and Expo by paul sheer.. and he mentions the use of mkfs and mke2fs as a means of creating filesystems on partitions.. the concept seems to be more along the lines of what i may be trying to implement right now but I am not quite grasping the literal meaning of "creating a file(seperate) system on a partition" as a literal concept. my two questions are what are the most common uses of mkfs filesystems and how do I go about implementing them.
thanx moxxx68
ps which partition is safest.
# 2  
Old 11-28-2004
Its not a separate system. All Operating Systems need a filesystem. MS Windows uses Fat16/32, NTFS. Gnu/Linux can chose from many filesystems; ext2 is one of them, more recent system choices are journaling system, such as ReiserFS, JFS, XFS, ext3. CD/DVD's use filesystem's, there are many as well; Joliet, Romeo, Rock Ridge, UDF....
Your using a filesystem now, check /etc/fstab, it will display which partition is using what filesystem.

When you create a new partition from unallocated space, you divide the hard drive into partitions, and each partition must contain a filesystem before data can be written to it.

mkfs are tools for formatting a partition with a filesystem. Once you have run fdisk on your harddrive, and created separate space (partitoned) you then can run one of the mkfs.xxx tools to format the space with a filesystem.

You run these tools on a hardware device, not for creating a filesystem inside your database.

Which partition is safest? The one that you just created, or one which has no data on it, or if you want to loose your data, and format the partition.
# 3  
Old 11-28-2004
Quote:
CD/DVD's use filesystem's, there are many as well; Joliet, Romeo, Rock Ridge
These aren't filesystems - rather they are just extensions to the iso9660 filesystem.

Cheers
ZB
# 4  
Old 11-28-2004
Quote:
Originally posted by zazzybob
These aren't filesystems - rather they are just extensions to the iso9660 filesystem.

Cheers
ZB
Correct.

Quote:
IRIX supports a number of different filesystems. Some of these types are names that can be used with the mount(1) command's -t option. Others are just common names and cannot be used with the mount command. An example of this is the RockRidge type, which is a superset of the iso9660 filesystem type.

RockRidge A filesystem layered on type of the iso9660 filesystem type (see above) that provides semantics closer to those of standard UNIX filesystems. In particular, it supplies file permissions and allows for directory hierarchies more than 8 levels deep.

Note that IRIX software distribution CD-ROMs are not iso9660 filesystems, they are efs filesystems.
# 5  
Old 11-28-2004
thanx for your input i am going to book mark this page and try to read up some more to make sure i am able to grasp the concept which is a little over my head.
thanx moxxx68
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux : getting error while executing mkfs

Hi All, i am getting below error while executing mkfs after creating a new partition in linux /dev/sda2 is apparently in use by the system ; will not make a filesystem here. Anyone having any idea , how to solve this problem thanks (2 Replies)
Discussion started by: Jcpratap
2 Replies

2. UNIX for Dummies Questions & Answers

Question regarding mkfs ext3

Hi i am looking for some help with a question relating to the creation of the ext3 file system. "Why is it good practice not to have a file system mounted whilst you try to create it?" I have searched google but not had any luck in finding out what the actual dangers are of creating a file... (1 Reply)
Discussion started by: allan1986
1 Replies

3. Shell Programming and Scripting

filesystems > 70%

I need a scrip that will show me the filesystems that are greater than 70%...but not sure how to filter using the df -h | grep Thank you for your help!! (6 Replies)
Discussion started by: eponcedeleonc
6 Replies

4. UNIX for Dummies Questions & Answers

mounted filesystems

how to check the record of previously mounted remote filesystems after the filesystems are unmounted .operating system is solaris 10 (0 Replies)
Discussion started by: ravijanjanam12
0 Replies

5. AIX

Filesystems cmd

hi is that any command to find out which filesystems occupying more process in cpu utilisation (4 Replies)
Discussion started by: senmak
4 Replies

6. Solaris

difference between mkfs and newfs

hi what is the difference between mkfs and newfs (2 Replies)
Discussion started by: madhudeepan
2 Replies

7. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

8. AIX

AIX 4.3.3 - mkfs default 4096K Why?

I was wondering why the mkfs command would be defaulted to allocate a minimum of 4096K of space to each file. :confused: (0 Replies)
Discussion started by: vigsgb
0 Replies

9. Shell Programming and Scripting

Filesystems GT 95%

Hi How can I only print the file systems that are more than 95% full. I used the df -k output and tried to check for each file system and then print only the ones that meet the criteria... But my solution seems cloodgie ... (3 Replies)
Discussion started by: YS2002
3 Replies

10. UNIX for Advanced & Expert Users

Filesystems

my partner change the server's ip address and now i can't to mount the oracle's filesystem, what i do? i don't want to reinstall Unix. My unix is SCO UNIX 5.0.5 (9 Replies)
Discussion started by: marun
9 Replies
Login or Register to Ask a Question