Skip to contentSkip to conversation

Two Reiser4 FSs in the same HDD cause head seek panic?

DISCUSSION Georgios Tsalikis 3 participants 6 messages May 24, 2016 – May 27, 2016

lore
Share & tools
lore
#0 lore raw

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

#1 lore raw
Quoted 7 lines · Georgios Tsalikis

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

Hello,
As far as I know you have to boot with a Reiser4 enabled kernel to read reiser4 filesystem.
--Glenn

# lsmod |grep -i reiser4
Module                  Size  Used by
reiser4               442368  0
# cat /proc/filesystems  |grep -i reiser4 |sort
        reiser4

--Glenn

#2 lore raw
Quoted 18 lines · On 25/05/2016 01:22 μμ, [email protected] wrote:
Quoted 7 lines · Georgios Tsalikis

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

Hello,
As far as I know you have to boot with a Reiser4 enabled kernel to read reiser4 filesystem.
--Glenn

# lsmod |grep -i reiser4
Module                  Size  Used by
reiser4               442368  0
Quoted 9 lines
# cat /proc/filesystems  |grep -i reiser4 |sort
         reiser4

--Glenn
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

It is implied that my kernel is patched and both / and /home were mounted as Reiser4

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Georgios Tsalikis
Quoted 6 lines · On Tue, 24 May 2016 10:58:53 +0200 Georgios Tsalikis <[email protected]>…

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

How large are the disks? The long boot time may be (at least partially) caused by bitmap loading – try mount option “dont_load_bitmap”. This won't help you with seeking *after* boot, though. It will actually make it worse.

Do you have a proper IO scheduler set? What does
“cat /sys/block/sdX/queue/scheduler” say? (Replace sdX with the correct identifier.)

Is there anything interesting in the system logs? I'm assuming there isn't.

Signature · 5 lines
Jonáš Vidra, [email protected]
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
In reply to Georgios Tsalikis
Quoted 9 lines · Georgios Tsalikis
Quoted 8 lines · On 25/05/2016 01:22 μμ, [email protected] wrote:
Quoted 6 lines · Georgios Tsalikis

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

Hello,
What do following commands show ?
--Glenn

example:

# which fsck.reiser4 
/usr/sbin/fsck.reiser4
# fdisk -l

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

# fsck.reiser4 -V
fsck.reiser4 1.0.6
Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING. 
# fsck.reiser4 --print-profile /dev/sdb
Default profile:
create:          "reg40"           (id:0x0 type:0x0)    [Regular file
plugin for creat(2)]
key:             "key_large"       (id:0x1 type:0xb)    [Key plugin]
compress:        "lzo1"            (id:0x0 type:0xc)    [Compression
plugin]
compressMode:    "conv"            (id:0x4 type:0xd)    [Compression Mode
plugin]
cluster:         "64K"             (id:0x0 type:0x10)   [Cluster plugin]
hash:            "r5_hash"         (id:0x1 type:0x3)    [Directory entry
hash plugin]
fibration:       "ext_1_fibre"     (id:0x2 type:0x4)    [Key fibration
plugin]
formatting:      "smart"           (id:0x2 type:0x5)    [File body
formatting plugin]
# fsck.reiser4 --print-plugins  /dev/sdb
Known plugins:
"reg40"             (id:0x0 type:0x0) [Unix-file regular file plugin.]
"dir40"             (id:0x1 type:0x0) [Directory file plugin.]
"sym40"             (id:0x2 type:0x0) [Symlink file plugin.]
"spl40"             (id:0x3 type:0x0) [Special file plugin.]
"ccreg40"           (id:0x4 type:0x0) [Cryptcompress regular file plugin.]
"stat40"            (id:0x0 type:0x1) [StatData item plugin.]
"cde40"             (id:0x2 type:0x1) [Compound directory entry item
plugin.]
"nodeptr40"         (id:0x3 type:0x1) [Node pointer item plugin.]
"extent40"          (id:0x5 type:0x1) [Extent file body item plugin.]
"plain40"           (id:0x6 type:0x1) [Plain file body item plugin.]
"ctail40"           (id:0x7 type:0x1) [Compressed file body item plugin.]
"bbox40"            (id:0x8 type:0x1) [Safe link item plugin.]
"node40"            (id:0x0 type:0x2) [Node plugin.]
"rupasov_hash"      (id:0x0 type:0x3) [Rupasov hash plugin.]
"r5_hash"           (id:0x1 type:0x3) [R5 hash plugin.]
"tea_hash"          (id:0x2 type:0x3) [Tea hash plugin.]
"fnv1_hash"         (id:0x3 type:0x3) [Fnv1 hash plugin.]
"deg_hash"          (id:0x4 type:0x3) [Degenerate hash plugin.]
"lexic_fibre"       (id:0x0 type:0x4) [Lexicographic fibration plugin.]
"dot_o_fibre"       (id:0x1 type:0x4) ['.o' fibration plugin.]
"ext_1_fibre"       (id:0x2 type:0x4) [1-symbol extention fibration
plugin.]
"ext_3_fibre"       (id:0x3 type:0x4) [3-symbol extention fibration
plugin.]
"extents"           (id:0x0 type:0x5) ['Extents only' tail policy plugin.]
"tails"             (id:0x1 type:0x5) ['Tails only' tail policy plugin.]
"smart"             (id:0x2 type:0x5) [Smart tail policy plugin.]
"sdext_lw"          (id:0x0 type:0x6) [Light stat data extension plugin.]
"sdext_unix"        (id:0x1 type:0x6) [Unix stat data extension plugin.]
"sdext_lt"          (id:0x2 type:0x6) [Large times stat data extension
plugin.]
"sdext_symlink"     (id:0x3 type:0x6) [Symlink stat data extension
plugin.]
"sdext_plugin_set"  (id:0x4 type:0x6) [Plugin Set StatData extension
plugin.]
"sdext_flags"       (id:0x5 type:0x6) [Inode flags stat data extension
plugin.]
"sdext_crypto"      (id:0x7 type:0x6) [Crypto stat data extension plugin.]
"sdext_heir_set"    (id:0x8 type:0x6) [Heir Set StatData extension
plugin.]
"format40"          (id:0x0 type:0x7) [Disk-format plugin.]
"oid40"             (id:0x0 type:0x8) [Inode number allocator plugin.]
"alloc40"           (id:0x0 type:0x9) [Space allocator plugin.]
"journal40"         (id:0x0 type:0xa) [Journal plugin.]
"key_short"         (id:0x0 type:0xb) [Short key plugin.]
"key_large"         (id:0x1 type:0xb) [Large key plugin.]
"lzo1"              (id:0x0 type:0xc) [lzo1 compression transform plugin.]
"gzip1"             (id:0x1 type:0xc) [gzip1 compression transform
plugin.]
"none"              (id:0x0 type:0xd) ['Don't compress' compression mode
plugin.]
"latt"              (id:0x1 type:0xd) ['Check on dynamic lattice'
compression mode plugin.]
"ultim"             (id:0x2 type:0xd) ['Check ultimately' compression mode
plugin.]
"force"             (id:0x3 type:0xd) ['Compress evrything' compression
mode plugin.]
"conv"              (id:0x4 type:0xd) ['Convert to extent' compression
mode plugin.]
"64K"               (id:0x0 type:0x10) [64K size cluster plugin.]
"32K"               (id:0x1 type:0x10) [32K size cluster plugin.]
"16K"               (id:0x2 type:0x10) [16K size cluster plugin.]
"8K"                (id:0x3 type:0x10) [8K size cluster plugin.]
"4K"                (id:0x4 type:0x10) [4K size cluster plugin.]

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

'Installing your Linux Distribution on Reiser4.' - [Found this as a guide]

In reply to [email protected]
Quoted 10 lines · On Wed, 25 May 2016 20:22:05 +1000, <[email protected]> wrote:
Quoted 7 lines · Georgios Tsalikis

I happened to format a rootfs partition and another one for /home with Reiser4. It proved to be a disaster. Apart from the slow boot times (expected from this drive) even after reaching a functional GUI the disk kept doing I/O like crazy. When /home became Btrfs the issue ceased. My other computer that uses an entire drive formatted with Reiser4 is nice and silent as well.

Hello,

Found this as a guide
--Glenn

'Installing your Linux Distribution on Reiser4.'
http://linuxhelp.150m.com/installs/install-on-reiser4.htm