Operating System - Linux
1748140 Members
3426 Online
108758 Solutions
New Discussion юеВ

how to create "resizefs" in linux

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to create "resizefs" in linux

Hi

I am using SUSE9 and RHEL 4. I know that we can create ext2 and ext3.

Ex: # mkfs.ext3 /dev/sda1
# mkfs.ext2 /dev/sda1

Pls answer my following questions:

1) what is the difference beteen "ext2" and "resizerfs"

2) what is the syntax to create "resizerfs" file system.

3) is "resizerfs" created in Linux Native file system (type is 82)?

7 REPLIES 7
Ivan Ferreira
Honored Contributor
Solution

Re: how to create "resizefs" in linux

>>> what is the difference beteen "ext2" and "resizerfs"

There are large differences. You should take a look to some documentation about each file system.

>>> what is the syntax to create "resizerfs" file system.

First, it must be supported on the kernel and the user commands should be installed. The command is similar for all (thank you VFS):

mkfs -t ext2
mkfs -t ext3
mkfs -t reiserfs

>>> is "resizerfs" created in Linux Native file system (type is 82)?

Yes
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sivakumar MJ._1
Respected Contributor

Re: how to create "resizefs" in linux

Ans. 1

Journaling in resizefs not in ext2

Ans. 2

resize2fs /dev/VG1/usr


Ans. 3 --- YES
IT Csar
Occasional Advisor

Re: how to create "resizefs" in linux

SUSE provides built-in support for reiserfs for a long time, and many installation came with residerfs as default file system (including boot partition). Recently, after ReiserFS's author personal problems, I think support had lessen to a big degree. There are many other FS with similar features and performance.

I think RHEL 4 never supported reiserfs by default.
dirk dierickx
Honored Contributor

Re: how to create "resizefs" in linux

wikipedia explains all you want to know about ext3 - http://en.wikipedia.org/wiki/Ext3

reiserfs is not included in RHEL and certainly not supported.
senthil_kumar_1
Super Advisor

Re: how to create "resizefs" in linux

Hi

Pls answer to my following questions

1)what is difference between ext3 and reiserfs. since i heared that both are journaled file systems.

2)what is the advantages of journaling file system.

3) pls check my below command syntax to create reiserfs file system
# mkfs -t reiserfs /dev/sda1

is it correct?

4) what is the advantage and disadvantages of ext3 and reiserfs. since both are journaled file system.

5) is SUSE using reiserfs as default file system?

6) is Redhat using ext3 as default file system.
Sivakumar MJ._1
Respected Contributor

Re: how to create "resizefs" in linux

ext3 Filesystem

The ext3 or third extended filesystem is a journalled fS. Most of the Linux dist. uses this as default FS.

ReiserFS

It is based on fast balanced trees which are more robust in their performance, and are a more sophisticated algorithmic foundation for a fs.

ReiserFS is more space efficient.

Ex: If you write 100 byte files, we pack many of them into one block. Other file systems put each of them into their own block. We don├в t have fixed space allocation for inodes. That saves 6% of your disk.

Features of ext3 & Reiserfs

1) Journal Data Writeback
2) Journal Data Ordered
3) Journal Data





Kannan V
New Member

Re: how to create "resizefs" in linux

hi senthil,
i think there is no fs like resizerfs.In redhat linux there is a command called resize2fs this cmd is used to resize the file system size.