Skip to contentSkip to conversation

Can't mount after mkfs -b 8192

DISCUSSION David Greaves 3 participants 4 messages Jun 3, 2004 – Jun 4, 2004

lore
Share & tools
lore
#0 lore raw

Help :)

This seems odd...

Kernel 2.6.6
progsreiserfs 0.3.0.4-3

I have a raid5 array in an LVM2 VG with a 600Gb LV defined. If I make a reiserfs with a block size of 8192 it won't mount.

The following commands were issued consecutively:

cu:~# mkfs -treiserfs /dev/video_vg/video_lv
All data on /dev/video_vg/video_lv will be lost. Do you really want to create reiser filesystem (v3.6) (y/n) y
Creating reiser filesystem (v3.6) with standard journal on /dev/video_vg/video_lv
initializing skiped area: done
initializing journal: done
syncing...done
cu:~# mount /dev/video_vg/video_lv /huge
cu:~# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             19283776    697988  18585788   4% /
/dev/hda1                97826     13003     79604  15% /boot
/dev/mapper/video_vg-video_lv
                    629126396     32840 629093556   1% /huge
cu:~# umount /huge
cu:~# mkfs -treiserfs -b 8192 /dev/video_vg/video_lv
All data on /dev/video_vg/video_lv will be lost. Do you really want to create reiser filesystem (v3.6) (y/n) y
Creating reiser filesystem (v3.6) with standard journal on /dev/video_vg/video_lv
initializing skiped area: done
initializing journal: done
syncing...done
cu:~# mount /dev/video_vg/video_lv /huge
mount: wrong fs type, bad option, bad superblock on /dev/video_vg/video_lv,
      or too many mounted file systems

dmesg now shows:
sh-2011: read_super_block: can't find a reiserfs filesystem on (dev dm-0, block 16, size 4096)
sh-2021: reiserfs_fill_super: can not find reiserfs on dm-0

David

#1 lore raw
Quoted 9 lines · David Greaves

Help :)

This seems odd...

Kernel 2.6.6
progsreiserfs 0.3.0.4-3

I have a raid5 array in an LVM2 VG with a 600Gb LV defined. If I make a reiserfs with a block size of 8192 it won't mount.

I'm almost sure that reiserfs supports a blocksize of 4096, only.

Signature · 1 line
lg, Chris
#2 lore raw

Hello

Quoted 11 lines · Christian Mayrhuber
Quoted 9 lines · David Greaves

Help :)

This seems odd...

Kernel 2.6.6
progsreiserfs 0.3.0.4-3

I have a raid5 array in an LVM2 VG with a 600Gb LV defined. If I make a reiserfs with a block size of 8192 it won't mount.

reiserfs does not support blocksize > page size. Does ext2 do that? Please send your /proc/cpuinfo

Quoted 2 lines

I'm almost sure that reiserfs supports a blocksize of 4096, only.

#3 lore raw
Quoted 15 lines · Vladimir Saveliev

Hello

Quoted 10 lines · Christian Mayrhuber
Quoted 7 lines · David Greaves

Help :)

This seems odd...

Kernel 2.6.6
progsreiserfs 0.3.0.4-3

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

I have a raid5 array in an LVM2 VG with a 600Gb LV defined. If I make a reiserfs with a block size of 8192 it won't mount.

reiserfs does not support blocksize > page size. Does ext2 do that?

dunno - not even tried ;)

But now you said that, I tried XFS and it says:
XFS: Attempted to mount file system with blocksize 8192 bytes
XFS: Only page-sized (4096) or less blocksizes currently work.
XFS: SB validate failed

Quoted 3 lines

Please send your /proc/cpuinfo

OK - why? (just curious)

cu:/everything/devel/mdadm# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) Processor
stepping        : 2
cpu MHz         : 1276.255
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 2506.75
Quoted 2 lines
Quoted 2 lines

I'm almost sure that reiserfs supports a blocksize of 4096, only.

OK
I saw:
http://www.namesys.com/mkreiserfs.html

   -b | --block-size N

N is block size in bytes. It may only be set to a power of 2 within
the 512-8192 interval.

and man has the elipsis:
-b N, --block-size=N

             block size (1024, 2048, 4096...)

So I'm sure I'm forgiven ;)

David