Skip to contentSkip to conversation

Different size of partion between reiser4 and reiserFS 3.6

DISCUSSION luc 5 participants 5 messages Sep 30, 2005

lore
Share & tools
lore

luc

author
#0 lore raw

Hi,

i want to try use reiser4 and i discover this :

I have 80Gb Western Digital HDD. When i created one partition (full disk)

mkfs.reiserfs -f /dev/sda1

then obtain this

reiserfs 3.6
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 78145768 32840 78112928 1% /mnt/te

when i did

mkfs.reiser4 -f /dev/sda1

reiser4
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 74256016 2544 74253472 1% /mnt/te

I use patch from ftp.namesys.com for kernel 2.6.12 and libreiser4progs-1.0_4-1.0.4-1mdk , reiser4progs-1.0.4-1mdk. Is here anyone who is able to explain me why the size of partion sda1 is different ???

Signature · 2 lines
luc
Linux 2.6.12-12mdk-i686-up-4GB Intel(R) Pentium(R) M processor 2.00GHz
#1 lore raw

This is because reiser uses 5% of disk space for internal use - which is no problem since reiser saves that 5% easily since it stores files much more efficient.

lg Clemens

2005/9/30, luc <[email protected]>:

Quoted 35 lines

Hi,

i want to try use reiser4 and i discover this :

I have 80Gb Western Digital HDD. When i created one partition (full disk)

mkfs.reiserfs -f /dev/sda1

then obtain this

reiserfs 3.6
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 78145768 32840 78112928 1% /mnt/te

when i did

mkfs.reiser4 -f /dev/sda1

reiser4
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 74256016 2544 74253472 1% /mnt/te

I use patch from ftp.namesys.com for kernel 2.6.12 and libreiser4progs-1.0_4-1.0.4-1mdk , reiser4progs-1.0.4-1mdk. Is here anyone who is able to explain me why the size of partion sda1 is different ???
--
luc
Linux 2.6.12-12mdk-i686-up-4GB Intel(R) Pentium(R) M processor 2.00GHz

#2 lore raw
In reply to luc

Hello

Quoted 7 lines · luc

Hi,

i want to try use reiser4 and i discover this :

I have 80Gb Western Digital HDD. When i created one partition (full disk)

Quoted 9 lines

mkfs.reiserfs -f /dev/sda1

then obtain this

reiserfs 3.6
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 78145768 32840 78112928 1% /mnt/te

                        ^^^^^^^
Quoted 9 lines

when i did

mkfs.reiser4 -f /dev/sda1

reiser4
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 74256016 2544 74253472 1% /mnt/te

                        ^^^^^^^

reiser4 subtracted amount of reserved space. Probably it should have not done that.

Quoted 6 lines

I use patch from ftp.namesys.com for kernel 2.6.12 and libreiser4progs-1.0_4-1.0.4-1mdk , reiser4progs-1.0.4-1mdk. Is here anyone who is able to explain me why the size of partion sda1 is different ???

#3 lore raw
Quoted 3 lines · Vladimir V. Saveliev

Hello

reiser4 subtracted amount of reserved space. Probably it should have not done that.

Yes, it should. Otherwise, I'd start getting out-of-space errors when I've still got almost 20 gigs left.

If Reiser3 reserves anything, it should also subtract that.

If users really want to see how much space is available for repartitioning, they should be using some form of fdisk anyway.

#4 lore raw
In reply to Vladimir V. Saveliev
Quoted 39 lines · Vladimir V. Saveliev

Hello

Quoted 7 lines · luc

Hi,

i want to try use reiser4 and i discover this :

I have 80Gb Western Digital HDD. When i created one partition (full disk)

Quoted 11 lines

mkfs.reiserfs -f /dev/sda1

then obtain this

reiserfs 3.6
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 78145768 32840 78112928 1% /mnt/te

                       ^^^^^^^
Quoted 11 lines

when i did

mkfs.reiser4 -f /dev/sda1

reiser4
[root@Merlin luc]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 74256016 2544 74253472 1% /mnt/te

Quoted 17 lines
                       ^^^^^^^

reiser4 subtracted amount of reserved space. Probably it should have not done that.

Quoted 6 lines

I use patch from ftp.namesys.com for kernel 2.6.12 and libreiser4progs-1.0_4-1.0.4-1mdk , reiser4progs-1.0.4-1mdk. Is here anyone who is able to explain me why the size of partion sda1 is different ???

No, it is right as it is. df tells users what they get to use.