Skip to contentSkip to conversation

newbie question about mounting options

DISCUSSION Pierre Fafet 3 participants 3 messages Apr 8, 2004 – Apr 9, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

Sorry if this question was already seen, I'm newbie on this list.

I tried creating a reiserfs file system with external journal device mkreiserfs work fine but I can't mount the FS as you can see on the following screen copy :

[root@CORTON root]# mkreiserfs -s 8193 -j /dev/sdf1 /dev/sdg2

<-------------mkreiserfs, 2002------------->
reiserfsprogs 3.6.4

mkreiserfs: Guessing about desired format..
mkreiserfs: Kernel 2.4.20-30.9smp is running.
Format 3.6 with non-standard journal
Count of blocks on the device: 8865871
Number of blocks consumed by mkreiserfs formatting process: 289
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Device [0x851]
Journal Size 8193 blocks (first block 0)
Journal Max transaction length 1024
Space on this device reserved by journal: 0
inode generation number: 0
UUID: 874b3d7c-48b8-48ca-90e1-80bc98c74193
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sdg2' AND ON JOURNAL DEVICE
'/dev/sdf1'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100% Syncing..ok

The [...]
Have fun.

[root@CORTON root]# mount -t reiserfs /dev/sdg2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdg2,
or too many mounted file systems
[root@CORTON root]#

Why is it not working ?

My distrib is Red Hat Linux 9

P.F.

#1 lore raw
Quoted 6 lines · Pierre Fafet
    [root@CORTON root]# mkreiserfs -s 8193 -j /dev/sdf1 /dev/sdg2

    <-------------mkreiserfs, 2002------------->
    reiserfsprogs 3.6.4

Why is it not working ?

reiserfsprogs is up to 3.6.13 or even later. Probably you'll need to get to some non-ancient version before anybody even thinks about the problem. There's been lots of bugs fixed in the 2 years since the version you're running....

#2 lore raw
In reply to Pierre Fafet

Hello

Quoted 8 lines · Pierre Fafet

Hi,

Sorry if this question was already seen, I'm newbie on this list.

I tried creating a reiserfs file system with external journal device mkreiserfs work fine but I can't mount the FS as you can see on the following screen copy :

Quoted 7 lines
    [root@CORTON root]# mkreiserfs -s 8193 -j /dev/sdf1 /dev/sdg2

    <-------------mkreiserfs, 2002------------->
    reiserfsprogs 3.6.4

    mkreiserfs: Guessing about desired format..
    mkreiserfs: Kernel 2.4.20-30.9smp is running.

This kernel is too old. External journal support was included in 2.4.22

Quoted 34 lines

Format 3.6 with non-standard journal
Count of blocks on the device: 8865871
Number of blocks consumed by mkreiserfs formatting process: 289
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Device [0x851]
Journal Size 8193 blocks (first block 0)
Journal Max transaction length 1024
Space on this device reserved by journal: 0
inode generation number: 0
UUID: 874b3d7c-48b8-48ca-90e1-80bc98c74193
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sdg2' AND ON JOURNAL DEVICE
'/dev/sdf1'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100% Syncing..ok

The [...]
Have fun.

[root@CORTON root]# mount -t reiserfs /dev/sdg2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdg2,
or too many mounted file systems
[root@CORTON root]#

Why is it not working ?

My distrib is Red Hat Linux 9

P.F.