* Unsupported mkreiserfs and mount options
@ 2004-10-19 12:20 Martin MOKREJŠ
2004-10-19 14:28 ` Edward Shishkin
2004-10-19 16:47 ` E.Gryaznova
0 siblings, 2 replies; 6+ messages in thread
From: Martin MOKREJŠ @ 2004-10-19 12:20 UTC (permalink / raw)
To: reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
Hi,
I'm doing some benchmarking of reiserfs on 2.4.28-pre3 system.
I have crafted some non-standard options to mkreiserfs and mount,
but they sometimes fail. I've attached only those which have failed.
;)
Am I right they don't work but should according to manpages?
Thanks for help
Martin
P.S.: Yes, some messages about unsupported bla bla got logged by syslog.
Why cannot user see the on STDERR? I simply don't know what has
generated what in syslog. :(
[-- Attachment #2: wrong-docs-reiserfs.txt --]
[-- Type: text/plain, Size: 5965 bytes --]
mkreiserfs -f -s 8192 -b 2048 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with non-standard journal
Count of blocks on the device: 638137920
Number of blocks consumed by mkreiserfs formatting process: 47175
Blocksize: 2048
Hash function used to sort names: "r5"
Journal Size 8192 blocks (first block 34)
Journal Max transaction length 512
inode generation number: 0
UUID: f9c76801-44d4-4020-a5cf-b9e5aa76a707
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -s 8192 -b 8192 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with non-standard journal
Count of blocks on the device: 159534480
Number of blocks consumed by mkreiserfs formatting process: 10637
Blocksize: 8192
Hash function used to sort names: "r5"
Journal Size 8192 blocks (first block 10)
Journal Max transaction length 1024
inode generation number: 0
UUID: fcfa840c-4170-421a-9383-cebaf2d78b58
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -h r5 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 2fa671ed-eb3e-4e4f-b59c-040502c6d7b4
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs -o r5 /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -h yura /dev/sdb2
mkreiserfs: wrong hash type specified. Using default
mkreiserfs 3.6.17 (2003 www.namesys.com)
mkreiserfs -f -t 16384 /dev/sdb2
mkreiserfs 3.6.17 (2003 www.namesys.com)
WARNING: wrong transaction max size (16384). Changed to 1024
mkreiserfs -f -t 65535 /dev/sdb2
mkreiserfs 3.6.17 (2003 www.namesys.com)
WARNING: wrong transaction max size (65535). Changed to 1024
mkreiserfs -f -t 131072 /dev/sdb2
mkreiserfs 3.6.17 (2003 www.namesys.com)
WARNING: wrong transaction max size (131072). Changed to 1024
mkreiserfs -f -h r5 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 2b54ffa7-068a-428b-bc7b-a8b3ba80400b
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs -o hashed_relocation /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -h r5 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: e2d5da73-0359-4bc1-bfcb-6dad0a80efe6
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs -o no_unhashed_relocation /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -h r5 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 10caff17-0e91-4517-814b-fc407a996985
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs -o noborder /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
mkreiserfs -f -h r5 /dev/sdb2
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: c2edaab9-1b24-459b-ba62-722798e0745d
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
mount -t reiserfs -o r5 /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unsupported mkreiserfs and mount options
2004-10-19 12:20 Unsupported mkreiserfs and mount options Martin MOKREJŠ
@ 2004-10-19 14:28 ` Edward Shishkin
2004-10-19 15:02 ` Martin MOKREJŠ
2004-10-19 16:47 ` E.Gryaznova
1 sibling, 1 reply; 6+ messages in thread
From: Edward Shishkin @ 2004-10-19 14:28 UTC (permalink / raw)
To: Martin MOKREJŠ; +Cc: reiserfs-list
Martin MOKREJ© wrote:
> Hi,
> I'm doing some benchmarking of reiserfs on 2.4.28-pre3 system.
> I have crafted some non-standard options to mkreiserfs and mount,
> but they sometimes fail. I've attached only those which have failed.
> ;)
>
Hello.
Most cases take place because kernel doesn't support blocksize != 4096.
I don't have any ideas why fs with standard journal created by '
mkreiserfs -f -h r5 /dev/sdb2'
is failed to mount. Would you please send us the kernel messages?
> Am I right they don't work but should according to manpages?
What manpages do you mean? My 'man mkreiserfs' says the following:
-b | --block-size N
N is block size in bytes. 4096 only for now.
> Thanks for help
> Martin
> P.S.: Yes, some messages about unsupported bla bla got logged by syslog.
> Why cannot user see the on STDERR?
Because of restricted set of standard errors..
> I simply don't know what has
> generated what in syslog. :(
try the following (using your date) under root privileges:
cat /var/log/messages | grep '^Oct 19 17:3' | grep reiserfs
Edward.
>------------------------------------------------------------------------
>
>mkreiserfs -f -s 8192 -b 2048 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with non-standard journal
>Count of blocks on the device: 638137920
>Number of blocks consumed by mkreiserfs formatting process: 47175
>Blocksize: 2048
>Hash function used to sort names: "r5"
>Journal Size 8192 blocks (first block 34)
>Journal Max transaction length 512
>inode generation number: 0
>UUID: f9c76801-44d4-4020-a5cf-b9e5aa76a707
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -s 8192 -b 8192 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with non-standard journal
>Count of blocks on the device: 159534480
>Number of blocks consumed by mkreiserfs formatting process: 10637
>Blocksize: 8192
>Hash function used to sort names: "r5"
>Journal Size 8192 blocks (first block 10)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: fcfa840c-4170-421a-9383-cebaf2d78b58
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 2fa671ed-eb3e-4e4f-b59c-040502c6d7b4
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o r5 /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -h yura /dev/sdb2
>mkreiserfs: wrong hash type specified. Using default
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>
>
>mkreiserfs -f -t 16384 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (16384). Changed to 1024
>
>
>mkreiserfs -f -t 65535 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (65535). Changed to 1024
>
>
>mkreiserfs -f -t 131072 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (131072). Changed to 1024
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 2b54ffa7-068a-428b-bc7b-a8b3ba80400b
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o hashed_relocation /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: e2d5da73-0359-4bc1-bfcb-6dad0a80efe6
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o no_unhashed_relocation /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 10caff17-0e91-4517-814b-fc407a996985
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o noborder /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: c2edaab9-1b24-459b-ba62-722798e0745d
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o r5 /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unsupported mkreiserfs and mount options
2004-10-19 14:28 ` Edward Shishkin
@ 2004-10-19 15:02 ` Martin MOKREJŠ
2004-10-19 15:47 ` Edward Shishkin
0 siblings, 1 reply; 6+ messages in thread
From: Martin MOKREJŠ @ 2004-10-19 15:02 UTC (permalink / raw)
To: Edward Shishkin; +Cc: reiserfs-list
Edward Shishkin wrote:
> Martin MOKREJ© wrote:
>
>> Hi,
>> I'm doing some benchmarking of reiserfs on 2.4.28-pre3 system.
>> I have crafted some non-standard options to mkreiserfs and mount,
>> but they sometimes fail. I've attached only those which have failed.
>> ;)
>>
> Hello.
> Most cases take place because kernel doesn't support blocksize != 4096.
> I don't have any ideas why fs with standard journal created by '
> mkreiserfs -f -h r5 /dev/sdb2'
> is failed to mount. Would you please send us the kernel messages?
See below. They are unfortunately a bit mixed with those generated
by mkreiserfs. I cannot say myself from what I've pasted down what message
has been generated by which command, as I've already said, but it should give
you some clue. In principle, I could re-run those tests if necessary.
>
>> Am I right they don't work but should according to manpages?
>
>
> What manpages do you mean? My 'man mkreiserfs' says the following:
> -b | --block-size N
> N is block size in bytes. 4096 only for now.
OPTIONS
-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.
[...]
Reiserfsprogs-3.6.17 February 2004 MKREISERFS(8)
I have also used mount(8) manpage to get a list of supported mount options specific for reiserfs:
Linux 2.0 14 September 1997 MOUNT(8)
It seems my Gentoo Linux manpages come from:
* sys-apps/man-pages
Latest version available: 1.67
Latest version installed: 1.67
Size of downloaded files: 1,585 kB
Homepage: http://www.win.tue.nl/~aeb/linux/man/
Description: A somewhat comprehensive collection of Linux man pages
License: GPL-2
>
>> Thanks for help
>> Martin
>> P.S.: Yes, some messages about unsupported bla bla got logged by syslog.
>> Why cannot user see the on STDERR?
>
>
> Because of restricted set of standard errors..
I don't understand. The application has STDERR to /dev/tty* opened, right?
>
>> I simply don't know what has
>> generated what in syslog. :(
>
>
> try the following (using your date) under root privileges:
> cat /var/log/messages | grep '^Oct 19 17:3' | grep reiserfs
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
Unsupported reiserfs blocksize: 2048 on 08:12, only 4096 bytes blocksize is supported.
sh-2021: reiserfs_read_super: can not find reiserfs on sd(8,18)
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
Unsupported reiserfs blocksize: 8192 on 08:12, only 4096 bytes blocksize is supported.
sh-2021: reiserfs_read_super: can not find reiserfs on sd(8,18)
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs_getopt: unknown option "r5"
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using tea hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using rupasov hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with non-standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs_getopt: head of option "hash" is only correct
reiserfs_getopt: unknown option "no_unhashed_relocation"
reiserfs_getopt: unknown option "noborder"
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):Using r5 hash to sort names
reiserfs_getopt: unknown option "r5"
>
> Edward.
>
>> ------------------------------------------------------------------------
>>
>> mkreiserfs -f -s 8192 -b 2048 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with non-standard journal
>> Count of blocks on the device: 638137920
>> Number of blocks consumed by mkreiserfs formatting process: 47175
>> Blocksize: 2048
>> Hash function used to sort names: "r5"
>> Journal Size 8192 blocks (first block 34)
>> Journal Max transaction length 512
>> inode generation number: 0
>> UUID: f9c76801-44d4-4020-a5cf-b9e5aa76a707
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>> mkreiserfs -f -s 8192 -b 8192 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with non-standard journal
>> Count of blocks on the device: 159534480
>> Number of blocks consumed by mkreiserfs formatting process: 10637
>> Blocksize: 8192
>> Hash function used to sort names: "r5"
>> Journal Size 8192 blocks (first block 10)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: fcfa840c-4170-421a-9383-cebaf2d78b58
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>> mkreiserfs -f -h r5 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with standard journal
>> Count of blocks on the device: 319068960
>> Number of blocks consumed by mkreiserfs formatting process: 17949
>> Blocksize: 4096
>> Hash function used to sort names: "r5"
>> Journal Size 8193 blocks (first block 18)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: 2fa671ed-eb3e-4e4f-b59c-040502c6d7b4
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs -o r5 /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>> mkreiserfs -f -h yura /dev/sdb2
>> mkreiserfs: wrong hash type specified. Using default
>> mkreiserfs 3.6.17 (2003 www.namesys.com)
>>
>>
>> mkreiserfs -f -t 16384 /dev/sdb2
>> mkreiserfs 3.6.17 (2003 www.namesys.com)
>> WARNING: wrong transaction max size (16384). Changed to 1024
>>
>>
>> mkreiserfs -f -t 65535 /dev/sdb2
>> mkreiserfs 3.6.17 (2003 www.namesys.com)
>> WARNING: wrong transaction max size (65535). Changed to 1024
>>
>>
>> mkreiserfs -f -t 131072 /dev/sdb2
>> mkreiserfs 3.6.17 (2003 www.namesys.com)
>> WARNING: wrong transaction max size (131072). Changed to 1024
>>
>>
>> mkreiserfs -f -h r5 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with standard journal
>> Count of blocks on the device: 319068960
>> Number of blocks consumed by mkreiserfs formatting process: 17949
>> Blocksize: 4096
>> Hash function used to sort names: "r5"
>> Journal Size 8193 blocks (first block 18)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: 2b54ffa7-068a-428b-bc7b-a8b3ba80400b
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs -o hashed_relocation /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>> mkreiserfs -f -h r5 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with standard journal
>> Count of blocks on the device: 319068960
>> Number of blocks consumed by mkreiserfs formatting process: 17949
>> Blocksize: 4096
>> Hash function used to sort names: "r5"
>> Journal Size 8193 blocks (first block 18)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: e2d5da73-0359-4bc1-bfcb-6dad0a80efe6
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs -o no_unhashed_relocation /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>> mkreiserfs -f -h r5 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with standard journal
>> Count of blocks on the device: 319068960
>> Number of blocks consumed by mkreiserfs formatting process: 17949
>> Blocksize: 4096
>> Hash function used to sort names: "r5"
>> Journal Size 8193 blocks (first block 18)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: 10caff17-0e91-4517-814b-fc407a996985
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs -o noborder /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>> mkreiserfs -f -h r5 /dev/sdb2
>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>> Format 3.6 with standard journal
>> Count of blocks on the device: 319068960
>> Number of blocks consumed by mkreiserfs formatting process: 17949
>> Blocksize: 4096
>> Hash function used to sort names: "r5"
>> Journal Size 8193 blocks (first block 18)
>> Journal Max transaction length 1024
>> inode generation number: 0
>> UUID: c2edaab9-1b24-459b-ba62-722798e0745d
>> Initializing journal - 0%....20%....40%....60%....80%....100%
>> Syncing..ok
>> mount -t reiserfs -o r5 /dev/sdb2 /scratch
>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>> or too many mounted file systems
>> (aren't you trying to mount an extended partition,
>> instead of some logical partition inside?)
>>
>>
>>
>>
>>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unsupported mkreiserfs and mount options
2004-10-19 15:02 ` Martin MOKREJŠ
@ 2004-10-19 15:47 ` Edward Shishkin
0 siblings, 0 replies; 6+ messages in thread
From: Edward Shishkin @ 2004-10-19 15:47 UTC (permalink / raw)
To: Martin MOKREJŠ; +Cc: reiserfs-list
Martin MOKREJ© wrote:
> Edward Shishkin wrote:
>
>> Martin MOKREJ© wrote:
>
>
> sd(8,18):Using r5 hash to sort names
> reiserfs_getopt: head of option "hash" is only correct
Ahh, you specify the mount options a bit incorrect, first
use the "type" of the option:
mount -t reiserfs -o hash=r5 /dev/sdb2 /scratch
> reiserfs_getopt: unknown option "no_unhashed_relocation"
use 'block-allocator' here, etc..
See http://www.namesys.com/mount-options.html
for details.
Edward
> reiserfs_getopt: unknown option "noborder"
> reiserfs: found format "3.6" with standard journal
> reiserfs: checking transaction log (device sd(8,18)) ...
> for (sd(8,18))
> sd(8,18):Using r5 hash to sort names
> reiserfs: found format "3.6" with standard journal
> reiserfs: checking transaction log (device sd(8,18)) ...
> for (sd(8,18))
> sd(8,18):Using r5 hash to sort names
> reiserfs_getopt: unknown option "r5"
>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> mkreiserfs -f -s 8192 -b 2048 /dev/sdb2
>>> Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>>> Format 3.6 with non-standard journal
>>> Count of blocks on the device: 638137920
>>> Number of blocks consumed by mkreiserfs formatting process: 47175
>>> Blocksize: 2048
>>> Hash function used to sort names: "r5"
>>> Journal Size 8192 blocks (first block 34)
>>> Journal Max transaction length 512
>>> inode generation number: 0
>>> UUID: f9c76801-44d4-4020-a5cf-b9e5aa76a707
>>> Initializing journal - 0%....20%....40%....60%....80%....100%
>>> Syncing..ok
>>> mount -t reiserfs /dev/sdb2 /scratch
>>> mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
>>> or too many mounted file systems
>>> (aren't you trying to mount an extended partition,
>>> instead of some logical partition inside?)
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unsupported mkreiserfs and mount options
2004-10-19 12:20 Unsupported mkreiserfs and mount options Martin MOKREJŠ
2004-10-19 14:28 ` Edward Shishkin
@ 2004-10-19 16:47 ` E.Gryaznova
2004-10-22 8:38 ` Martin MOKREJŠ
1 sibling, 1 reply; 6+ messages in thread
From: E.Gryaznova @ 2004-10-19 16:47 UTC (permalink / raw)
To: Martin MOKREJŠ; +Cc: reiserfs-list
Martin MOKREJ© wrote:
> Hi,
> I'm doing some benchmarking of reiserfs on 2.4.28-pre3 system.
> I have crafted some non-standard options to mkreiserfs and mount,
> but they sometimes fail. I've attached only those which have failed.
> ;)
>
> Am I right they don't work but should according to manpages?
> Thanks for help
> Martin
> P.S.: Yes, some messages about unsupported bla bla got logged by syslog.
> Why cannot user see the on STDERR? I simply don't know what has
> generated what in syslog. :(
>
>------------------------------------------------------------------------
>
>mkreiserfs -f -s 8192 -b 2048 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with non-standard journal
>Count of blocks on the device: 638137920
>Number of blocks consumed by mkreiserfs formatting process: 47175
>Blocksize: 2048
>Hash function used to sort names: "r5"
>Journal Size 8192 blocks (first block 34)
>Journal Max transaction length 512
>inode generation number: 0
>UUID: f9c76801-44d4-4020-a5cf-b9e5aa76a707
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
block size = 2048 is supported in 2.6.x kernel.
>
>mkreiserfs -f -s 8192 -b 8192 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with non-standard journal
>Count of blocks on the device: 159534480
>Number of blocks consumed by mkreiserfs formatting process: 10637
>Blocksize: 8192
>Hash function used to sort names: "r5"
>Journal Size 8192 blocks (first block 10)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: fcfa840c-4170-421a-9383-cebaf2d78b58
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 2fa671ed-eb3e-4e4f-b59c-040502c6d7b4
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o r5 /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
>
You use incorrect mount option. In according to
www.namesys.com/mount-options.html the correct option is :
-o hash=r5
>mkreiserfs -f -h yura /dev/sdb2
>mkreiserfs: wrong hash type specified. Using default
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>
>
I am confused, why do you use "yura" hash?
# mkeriserfs --help
mkreiserfs 3.6.17 (2003 www.namesys.com)
Options:
-h | --hash rupasov|tea|r5 hash function to use by default
>
>mkreiserfs -f -t 16384 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (16384). Changed to 1024
>
>
>mkreiserfs -f -t 65535 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (65535). Changed to 1024
>
>
>mkreiserfs -f -t 131072 /dev/sdb2
>mkreiserfs 3.6.17 (2003 www.namesys.com)
>WARNING: wrong transaction max size (131072). Changed to 1024
>
>
mkreiserfs man page says that :
-t | --transaction-max-size N
N is the maximum transaction size parameter for the
journal. The default, and max possible, value is
1024 blocks. It should be less than half the size
of the journal. If specified incorrectly, it will
automatically be adjusted.
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 2b54ffa7-068a-428b-bc7b-a8b3ba80400b
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o hashed_relocation /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
In according to www.namesys.com/mount-options.html the correct option is
-o block-allocator=hashed_relocation
>
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: e2d5da73-0359-4bc1-bfcb-6dad0a80efe6
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o no_unhashed_relocation /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
-o block-allocator=no_unhashed_relocation
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: 10caff17-0e91-4517-814b-fc407a996985
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o noborder /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
-o block-allocator=noborder
>
>mkreiserfs -f -h r5 /dev/sdb2
>Guessing about desired format.. Kernel 2.4.28-pre3 is running.
>Format 3.6 with standard journal
>Count of blocks on the device: 319068960
>Number of blocks consumed by mkreiserfs formatting process: 17949
>Blocksize: 4096
>Hash function used to sort names: "r5"
>Journal Size 8193 blocks (first block 18)
>Journal Max transaction length 1024
>inode generation number: 0
>UUID: c2edaab9-1b24-459b-ba62-722798e0745d
>Initializing journal - 0%....20%....40%....60%....80%....100%
>Syncing..ok
>mount -t reiserfs -o r5 /dev/sdb2 /scratch
>mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
>
>
the correct option is
-o hash=r5 (as it is docummented in www.namesys.com/mount-options.html)
would you please check is this work for you? I did not check 2.4.28, but
this works fine in 2.4.23.
Thanks,
Lena
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unsupported mkreiserfs and mount options
2004-10-19 16:47 ` E.Gryaznova
@ 2004-10-22 8:38 ` Martin MOKREJŠ
0 siblings, 0 replies; 6+ messages in thread
From: Martin MOKREJŠ @ 2004-10-22 8:38 UTC (permalink / raw)
To: E.Gryaznova; +Cc: reiserfs-list
Hi,
after few days my tests are finished. On linux-2.4.28-pre3 the only command
which doesn't work as expected is:
# mkreiserfs -f -h tea /dev/sdb2
mkreiserfs 3.6.17 (2003 www.namesys.com)
A pair of credits:
Chris Mason wrote the journaling code for V3, which was enormously more useful
to users than just waiting until we could create a wandering log filesystem as
Hans would have unwisely done without him.
Jeff Mahoney optimized the bitmap scanning code for V3, and performed the big
endian cleanups.
Yury Umanets (aka Umka) developed libreiser4, userspace plugins, and all
userspace tools (reiser4progs) except of fsck.
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Blocksize: 4096
Hash function used to sort names: "tea"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 102ff819-e449-4d2b-bce9-29b127d52f18
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
Tell your friends to use a kernel based on 2.4.18 or later, and especially not a
kernel based on 2.4.9, when you use reiserFS. Have fun.
ReiserFS is successfully created on /dev/sdb2.
# mount -t reiserfs -o hash=tea /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
#
It logs the following ... :(
reiserfs: found format "3.6" with standard journal
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x31 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x21 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x1d 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x15 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x11 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x2d 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x29 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
scsi2:0:0:0: Attempting to queue an ABORT message
CDB: 0x28 0x0 0xe 0x25 0xe4 0xb4 0x0 0x0 0x8 0x0
scsi2:0:0:0: Command not found
aic7xxx_abort returns 0x2002
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):reiserfs: FS seems to be empty, autodetect is using the default hash
REISERFS: Error, r5 hash detected, unable to force tea hash
Another attempt caused fortunately just:
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):reiserfs: FS seems to be empty, autodetect is using the default hash
REISERFS: Error, r5 hash detected, unable to force tea hash
I retried once more with debug:
# mkreiserfs -d -f -h tea /dev/sdb2
mkreiserfs 3.6.17 (2003 www.namesys.com)
A pair of credits:
BigStorage (www.bigstorage.com) contributes to our general fund every month,
and has done so for quite a long time.
Alexander Zarochentcev (zam) wrote the high low priority locking code, online
resizer for V3 and V4, online repacker for V4, block allocation code, and major
parts of the flush code, and maintains the transaction manager code. We give
him the stuff that we know will be hard to debug, or needs to be very cleanly
structured.
Guessing about desired format.. Kernel 2.4.28-pre3 is running.
Block 16 (0x812) contains super block. Format 3.6 with standard journal
Count of blocks on the device: 319068960
Number of blocks consumed by mkreiserfs formatting process: 17949
Free blocks: 319051011
Blocksize: 4096
Hash function used to sort names: "tea"
Number of bitmaps: 9738
Root block: 8211
Tree height: 2
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7deb8698]
Size 8193 blocks (including 1 for journal header) (first block 18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Filesystem state 0x0
sb_version 2
inode generation number: 0
UUID: 92f5af9f-6511-4bad-838a-ba55b7776f79
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
# mount -t reiserfs -o hash=tea /dev/sdb2 /scratch
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
and again same result:
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,18)) ...
for (sd(8,18))
sd(8,18):reiserfs: FS seems to be empty, autodetect is using the default hash
REISERFS: Error, r5 hash detected, unable to force tea hash
I think tea hash isn't supported well under 2.4.28-pre3.
Martin
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-10-22 8:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 12:20 Unsupported mkreiserfs and mount options Martin MOKREJŠ
2004-10-19 14:28 ` Edward Shishkin
2004-10-19 15:02 ` Martin MOKREJŠ
2004-10-19 15:47 ` Edward Shishkin
2004-10-19 16:47 ` E.Gryaznova
2004-10-22 8:38 ` Martin MOKREJŠ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.