I/O Errors
I have been having problems with my reiser4 partitions. I believed it was how I had my machine configured but I doubt this assumption now.
I sucessfully created a resier4 fs on a LVM2 volume group. After mounting it and executing a few basic i/o things (like cp, mv, cat, ls, rm) all is okay.
After some emerging (I use Gentoo), I "lose" the fs. I have even tried mkfs.resier4 and I still can not use the fs.
# ls -l /var/tmp/portage ls: reading directory /var/tmp/portage: Input/output error
If I try to cp a file, no error, no file, but the superblock does become corrupt.
I have 2 volume groups on one LVM partition spanning the entire scsi drive. Half is an ext3 fs and the other half is reiser4 fs. I mount one or the other as /var/tmp/portage (where source code is compiled using Gentoo) for testing purposes.
I am using reiser4progs and libaal 1.0.2_pre1.
# uname -a Linux yin-yang 2.6.9-rc2-mm1-tao #1 SMP Sun Sep 19 03:14:18 CDT 2004 i686 AMD Athlon(tm) MP 2400+ AuthenticAMD GNU/Linux
# debugfs.reiser4 -p /dev/vgsdc1/reiser4 debugfs.reiser4 1.0.2-pre1 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Default profiles:
format: "format40" (id:0x0 type:0x8) journal: "journal40" (id:0x0 type:0xf) oid: "oid40" (id:0x0 type:0x9) alloc: "alloc40" (id:0x0 type:0xe) key: "key_large" (id:0x1 type:0x10) node: "node40" (id:0x0 type:0x2) statdata: "stat40" (id:0x0 type:0x1) nodeptr: "nodeptr40" (id:0x3 type:0x1) direntry: "cde40" (id:0x2 type:0x1) tail: "tail40" (id:0x6 type:0x1) extent: "extent40" (id:0x5 type:0x1) acl: "absent (id:0x4 type:0x1)" permission: "absent (id:0x0 type:0x6)" regular: "reg40" (id:0x0 type:0x0) directory: "dir40" (id:0x1 type:0x0) symlink: "sym40" (id:0x2 type:0x0) special: "spl40" (id:0x3 type:0x0) hash: "r5_hash" (id:0x1 type:0x3) fibration: "ext_1_fibre" (id:0x2 type:0x4) formatting: "smart" (id:0x2 type:0x5)
# debugfs.reiser4 -s /dev/vgsdc1/reiser4 debugfs.reiser4 1.0.2-pre1 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: a529df4c-09bb-4803-b5c1-33938d5bbc68 label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4, ver. 1.0.2-pre1 magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x3bd87cf1 blocks: 553984 free blocks: 553937 root block: 23 tail policy: 0x2 (smart) next oid: 0x10000 file count: 0 tree height: 2 key policy: LARGE
FS status block (21):
FS marked consistent
Hi,
Quoted 8 lines · On Thu, Sep 23, 2004 at 05:38:01PM -0700, f00bar wrote:
I have been having problems with my reiser4 partitions. I believed it was how I had my machine configured but I doubt this assumption now.
I sucessfully created a resier4 fs on a LVM2 volume group. After mounting it and executing a few basic i/o things (like cp, mv, cat, ls, rm) all is okay.
Quoted 7 lines
After some emerging (I use Gentoo), I "lose" the fs. I have even tried mkfs.resier4 and I still can not use the fs.
# ls -l /var/tmp/portage ls: reading directory /var/tmp/portage: Input/output error
anything in the logs?
Quoted 3 lines
If I try to cp a file, no error, no file, but the superblock does become corrupt.
what "fsck.reiser4 /dev/vgsdc1/reiser4" says?
Quoted 73 lines
I have 2 volume groups on one LVM partition spanning the entire scsi drive. Half is an ext3 fs and the other half is reiser4 fs. I mount one or the other as
/var/tmp/portage(where source code is compiled using Gentoo) for testing purposes.I am using reiser4progs and libaal 1.0.2_pre1.
# uname -a Linux yin-yang 2.6.9-rc2-mm1-tao #1 SMP Sun Sep 19 03:14:18 CDT 2004 i686 AMD Athlon(tm) MP 2400+ AuthenticAMD GNU/Linux# debugfs.reiser4 -p /dev/vgsdc1/reiser4 debugfs.reiser4 1.0.2-pre1 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.Default profiles:
format: "format40" (id:0x0 type:0x8) journal: "journal40" (id:0x0 type:0xf) oid: "oid40" (id:0x0 type:0x9) alloc: "alloc40" (id:0x0 type:0xe) key: "key_large" (id:0x1 type:0x10) node: "node40" (id:0x0 type:0x2) statdata: "stat40" (id:0x0 type:0x1) nodeptr: "nodeptr40" (id:0x3 type:0x1) direntry: "cde40" (id:0x2 type:0x1) tail: "tail40" (id:0x6 type:0x1) extent: "extent40" (id:0x5 type:0x1) acl: "absent (id:0x4 type:0x1)" permission: "absent (id:0x0 type:0x6)" regular: "reg40" (id:0x0 type:0x0) directory: "dir40" (id:0x1 type:0x0) symlink: "sym40" (id:0x2 type:0x0) special: "spl40" (id:0x3 type:0x0) hash: "r5_hash" (id:0x1 type:0x3) fibration: "ext_1_fibre" (id:0x2 type:0x4) formatting: "smart" (id:0x2 type:0x5)# debugfs.reiser4 -s /dev/vgsdc1/reiser4 debugfs.reiser4 1.0.2-pre1 Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: a529df4c-09bb-4803-b5c1-33938d5bbc68 label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4, ver. 1.0.2-pre1 magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x3bd87cf1 blocks: 553984 free blocks: 553937 root block: 23 tail policy: 0x2 (smart) next oid: 0x10000 file count: 0 tree height: 2 key policy: LARGEFS status block (21):
FS marked consistent
Signature · 1 line
Alex.
Hi Alex,
Thanks for your assistance.
When I mount the partition, (actually a logical volume) the following is written to syslog.
Sep 27 19:17:32 yin-yang ef_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang j_hash_table: 16384 buckets Sep 27 19:17:32 yin-yang loading reiser4 bitmap......done (148 jiffies) Sep 27 19:17:32 yin-yang d_cursor_hash_table: 256
buckets
I perform an "ls" the following is written to the console (I assume stderr) but nothing is written to syslog.
ls: reading directory /var/tmp/portage: Input/output error
total 0
The following is the output from fsck:
yin-yang log # fsck.reiser4 /dev/vgsdc1/reiser4
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************
Fscking the /dev/vgsdc1/reiser4 block device. Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): yes
***** fsck.reiser4 started at Mon Sep 27 19:23:14 2004 Reiser4 journal (journal40) on /dev/vgsdc1/reiser4: 0 transactions replayed of the total 0 blocks. Reiser4 fs was detected on /dev/vgsdc1/reiser4. Master super block (16):
magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 3581757c-9576-4ed6-ba21-59863d2950b1 label: <none>
Format super block (17):
plugin: format40 description: Disk-format for reiser4, ver. 1.0.2-pre1 magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x4e9bfc27 blocks: 553984 free blocks: 553937 root block: 23 tail policy: 0x2 (smart) next oid: 0x10000 file count: 0 tree height: 2 key policy: LARGE
CHECKING STORAGE TREE
Read nodes 2
Nodes left in the tree 2
Leaves of them 1, Twigs of them 1
Time interval: Mon Sep 27 19:23:14 2004 - Mon
Sep 27 19:23:14 2004
CHECKING EXTENT REGIONS.
Read twigs 1
Time interval: Mon Sep 27 19:23:14 2004 - Mon
Sep 27 19:23:14 2004
CHECKING SEMANTIC TREE
Found 1 objects.
Time interval: Mon Sep 27 19:23:14 2004 - Mon
Sep 27 19:23:14 2004***** fsck.reiser4 finished at Mon Sep 27 19:23:14 2004
Closing fs...done
FS is consistent.
Regards,
John Baxter
Hello.
Would you please send us the #pvscan, #pvdisplay, #vgdislpay, #lvdisplay and #lvs --version outputs.
Thanks,
Lena.
Quoted 95 lines · f00bar wrote:
Hi Alex,
Thanks for your assistance.
When I mount the partition, (actually a logical volume) the following is written to syslog.
Sep 27 19:17:32 yin-yang ef_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang z_hash_table: 8192 buckets Sep 27 19:17:32 yin-yang j_hash_table: 16384 buckets Sep 27 19:17:32 yin-yang loading reiser4 bitmap......done (148 jiffies) Sep 27 19:17:32 yin-yang d_cursor_hash_table: 256buckets
I perform an "ls" the following is written to the console (I assume stderr) but nothing is written to syslog.
ls: reading directory
/var/tmp/portage: Input/output error
total 0The following is the output from fsck:
yin-yang log # fsck.reiser4
/dev/vgsdc1/reiser4
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************Fscking the
/dev/vgsdc1/reiser4block device. Will check the consistency of the Reiser4 SuperBlock. Will check the consistency of the Reiser4 FileSystem. Continue?
(Yes/No): yes
***** fsck.reiser4 started at Mon Sep 27 19:23:14 2004 Reiser4 journal (journal40) on/dev/vgsdc1/reiser4: 0 transactions replayed of the total 0 blocks. Reiser4 fs was detected on/dev/vgsdc1/reiser4. Master super block (16):magic: ReIsEr4 blksize: 4096 format: 0x0 (format40) uuid: 3581757c-9576-4ed6-ba21-59863d2950b1 label: <none>Format super block (17):
plugin: format40 description: Disk-format for reiser4, ver. 1.0.2-pre1 magic: ReIsEr40FoRmAt flushes: 0 mkfs id: 0x4e9bfc27 blocks: 553984 free blocks: 553937 root block: 23 tail policy: 0x2 (smart) next oid: 0x10000 file count: 0 tree height: 2 key policy: LARGECHECKING STORAGE TREE
Read nodes 2
Nodes left in the tree 2
Leaves of them 1, Twigs of them 1
Time interval: Mon Sep 27 19:23:14 2004 - MonSep 27 19:23:14 2004 CHECKING EXTENT REGIONS. Read twigs 1 Time interval: Mon Sep 27 19:23:14 2004 - Mon Sep 27 19:23:14 2004 CHECKING SEMANTIC TREE Found 1 objects. Time interval: Mon Sep 27 19:23:14 2004 - Mon Sep 27 19:23:14 2004***** fsck.reiser4 finished at Mon Sep 27 19:23:14 2004
Closing fs...doneFS is consistent.
Regards,
John Baxter