doiggl | 6 Mar 15:07 2015
Picon

Is there a list of live cd's with Reiser4 support built in ?

Hello,
Is there a list of live cd's with Reiser4 support built in ?

If there any, can a link be provided to it please.
Thank you.
--Glenn
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Nicolas Iooss | 6 Mar 11:41 2015

[PATCH] reiserfs: fix several reiserfs_warning calls

Since commit 45b03d5e8e67 ("reiserfs: rework reiserfs_warning"),
reiserfs_warning takes an id and a format as arguments, not a single
format argument.  However 4 calls still follow the old interface.
Update them.

This bug was initially found by adding __printf(4, 5) attribute to
__reiserfs_warning and using "gcc -Wformat=2" when building the
kernel.

Fixes: 45b03d5e8e67 ("reiserfs: rework reiserfs_warning")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux <at> m4x.org>
---
 fs/reiserfs/bitmap.c  | 4 ++--
 fs/reiserfs/journal.c | 4 ++--
 fs/reiserfs/procfs.c  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/fs/reiserfs/bitmap.c b/fs/reiserfs/bitmap.c
index dc198bc64c61..1d02f184863d 100644
--- a/fs/reiserfs/bitmap.c
+++ b/fs/reiserfs/bitmap.c
 <at>  <at>  -1423,8 +1423,8  <at>  <at>  struct buffer_head *reiserfs_read_bitmap_block(struct super_block *sb,

 	bh = sb_bread(sb, block);
 	if (bh == NULL)
-		reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%u) "
-		                 "reading failed", __func__, block);
+		reiserfs_warning(sb, "sh-2029",
+				 "bitmap block (#%u) reading failed", block);
 	else {
(Continue reading)

doiggl | 6 Mar 08:17 2015
Picon

Warning: mounting sdb with fatal errors, forcing read-only mount.

# mount /dev/sdb  /media/disk
mount: mount(2) failed: No such file or directory

dmesg shows:

Loading Reiser4. See www.namesys.com for a description of Reiser4.
reiser4[mount(21297)]: try_init_format40
(../fs/reiser4/plugin/disk_format/disk_format40.c:301)[vpf-1364]:
NOTICE: Warning: mounting sdb with fatal errors, forcing read-only mount.
reiser4: sdb: found disk format 4.0.0.

History:
http://www.spinics.net/lists/reiserfs-devel/msg04682.html
http://www.spinics.net/lists/reiserfs-devel/msg04688.html
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

doiggl | 5 Mar 04:00 2015
Picon

reiser4progs and Wrong order of keys. query [on sdb]

Hello,
Is there a patch available to fix the problem of [1]
I'm using reiser4progs: version-1.0.9
--Thanks Glenn

I can apply patch and build at:
https://build.opensuse.org/package/view_file/home:doiggl/reiser4progs/reiser4progs.spec?expand=1

- I can make a image copy of disk[using linux dd] to another disk and use
that to see if repair works. 
- run # fsck.reiser4 --build-fs --force  /dev/sdb
- run # fsck.reiser4 --check /dev/sdb

- see if volume can be accessed:
    mount command used.
    mount /dev/sdb  /media/disk

- I can report results back to list.

 Background history
 ==================
 http://www.spinics.net/lists/reiserfs-devel/msg04206.html
 http://www.spinics.net/lists/reiserfs-devel/msg04682.html

[1]
 fsck.reiser4 --build-fs --force  /dev/sdb
.
.

        LOOKING FOR UNCONNECTED NODES FSCK: node.c: 108:
(Continue reading)

Vladimir Shebordaev | 27 Feb 06:35 2015
Picon

Re: using debugfs.reiser4 options to access R4 on /dev/sdb

On Fri, 2015-02-27 at 02:37 +1100, doiggl <at> velocitynet.com.au wrote:
> > 
> > 
> > So, you decided you don't need all that gig of text. You are right.
> > 
> > You have to grep the dump file for two strings 
> > 
> > "[29:1(SD):0:2a:0]" which names root directory stat data item
> > "[2a:0(NAME):0:0:0]" which is the root directory item itself
> > 
> > Normally, the output there should look like 
> > 
> > NODE (3851068) LEVEL=1 ITEMS=12 SPACE=15 MKFS ID=0x66d6b8ae FLUSH=0x0
> > #0  SD (stat40): [29:1(SD):0:2a:0] OFF=28, LEN=94, flags=0x0
> > exts:           3
> > mask:           0x13
> > plugin:         sdext_lw
> > offset:         2
> > len:            14
> > mode:           drwxr-xr-x
> > nlink:          7
> > size:           7
> > plugin:         sdext_unix
> > offset:         16
> > len:            28
> > uid:            1000
> > gid:            0
> > atime:          Wed Feb 25 21:45:42 2015
> > mtime:          Wed Mar  5 00:25:14 2014
> > ctime:          Wed Mar  5 00:25:14 2014
(Continue reading)

doiggl | 27 Feb 05:39 2015
Picon

sequence of commands in a loop on reiser4progs

Hello,

The sequence[1] gets stuck in a loop because of the problem of the:

bug in fsck: it jumps to wrong branch for some reasons.

The process goes around in a loop from --build-fs to --check and back to
--build-fs again.

 "Wrong order of keys" Never gets corrected. 

A Question:
What can be done to fix this problem ?
Thank you Glenn 

see below:

[1] commands used:
# fsck.reiser4 --build-fs --force  /dev/sdb
# fsck.reiser4 --check /dev/sdb

References
----------
http://www.spinics.net/lists/reiserfs-devel/msg04209.html

History so far:
--------------
--check    Mon Feb 23 01:34:22 2015
--build-fs Mon Feb 23 13:09:25 2015
--check    Tue Feb 24 17:03:22 2015
(Continue reading)

Ivan Shapovalov | 27 Feb 00:21 2015
Picon

[PATCH] reiser4: implement ->rename2() of struct inode_operations.

For now, only support the basic case of flags == 0.
Also support the case of flags == RENAME_NOREPLACE, because it is a no-op for
local filesystems (destination existence is already checked by VFS).

Thus no functional changes to the existing code.

Signed-off-by: Ivan Shapovalov <intelfx100 <at> gmail.com>
---

Could you please estimate whether it would be hard to also implement the
RENAME_EXCHANGE flag? It is defined as follows:

	Atomically exchange oldpath and newpath. Both pathnames must exist but may
	be of different types (e.g., one could be a non-empty directory and the other
	a symbolic link).

If there are no caveats, I'll try to do it as a kind of a junior job...

 fs/reiser4/plugin/inode_ops_rename.c | 47 ++++++++++++++++++++++++++++++------
 fs/reiser4/plugin/object.c           |  2 +-
 fs/reiser4/plugin/object.h           |  5 ++--
 3 files changed, 44 insertions(+), 10 deletions(-)

diff --git a/fs/reiser4/plugin/inode_ops_rename.c b/fs/reiser4/plugin/inode_ops_rename.c
index 4d461dc..6744e14 100644
--- a/fs/reiser4/plugin/inode_ops_rename.c
+++ b/fs/reiser4/plugin/inode_ops_rename.c
 <at>  <at>  -288,7 +288,7  <at>  <at>  int reiser4_find_entry(struct inode *, struct dentry *, lock_handle * ,
 	       znode_lock_mode, reiser4_dir_entry_desc *);
 int reiser4_update_dir(struct inode *);
(Continue reading)

Ivan Shapovalov | 27 Feb 00:16 2015
Picon

[PATCHv2 1/3] Adjust reiser4 for 3.19: ->f_dentry is gone, use file_inode() instead of ->f_dentry->d_inode.

Upstream commit fb32c76d16aa40f3057f53273ac483a8e2468004
"VFS: Convert file->f_dentry->d_inode to file_inode()".

Signed-off-by: Ivan Shapovalov <intelfx100 <at> gmail.com>
---
 fs/read_write.c                          |  4 ++--
 fs/reiser4/fsdata.c                      | 10 +++++-----
 fs/reiser4/plugin/dir_plugin_common.c    |  2 +-
 fs/reiser4/plugin/file/cryptcompress.c   |  8 ++++----
 fs/reiser4/plugin/file/file.c            | 26 +++++++++++++-------------
 fs/reiser4/plugin/file/file_conversion.c | 12 ++++++------
 fs/reiser4/plugin/file/tail_conversion.c |  2 +-
 fs/reiser4/plugin/file_ops_readdir.c     | 10 +++++-----
 fs/reiser4/plugin/item/ctail.c           |  4 ++--
 fs/reiser4/plugin/item/extent_file_ops.c |  2 +-
 10 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/fs/read_write.c b/fs/read_write.c
index ea7a433..4adcc96 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
 <at>  <at>  -254,9 +254,9  <at>  <at>  loff_t default_llseek(struct file *file, loff_t offset, int origin)
 {
 	loff_t retval;

-	mutex_lock(&file->f_dentry->d_inode->i_mutex);
+	mutex_lock(&file_inode(file)->i_mutex);
 	retval = default_llseek_unlocked(file, offset, origin);
-	mutex_unlock(&file->f_dentry->d_inode->i_mutex);
+	mutex_unlock(&file_inode(file)->i_mutex);
(Continue reading)

doiggl | 24 Feb 15:24 2015
Picon

using debugfs.reiser4 options to access R4 on /dev/sdb

Hello,
Are there any switches with using 'debugfs.reiser4' to help using mount or
print details on R4 disk/partition. Im trying get to access /dev/sdb
Thanks Glenn

/dev/sdb problem encountered:
============================
http://www.spinics.net/lists/reiserfs-devel/msg04665.html

# which debugfs.reiser4                                                   

/usr/sbin/debugfs.reiser4

# debugfs.reiser4 -V
debugfs.reiser4 1.0.9

#  debugfs.reiser4
Usage: debugfs.reiser4 [ options ] FILE
Browsing options:
  -k, --cat FILE                browses passed file like standard
                                cat and ls programs.
Print options:
  -s, --print-super             prints the both super blocks.
  -t, --print-tree              prints the whole tree.
  -j, --print-journal           prints journal.
  -d, --print-oid               prints oid allocator data.
  -a, --print-alloc             prints block allocator data.
  -b, --print-block N           prints block by its number.
  -n, --print-nodes FILE        prints all nodes file lies in.
  -i, --print-file FILE         prints all items specified file
(Continue reading)

doiggl | 24 Feb 08:33 2015
Picon

This is the sequence of --checks and --build-fs times of Reiser4 volume on disk /dev/sdb

Hello,
This is the sequence of --checks and --build-fs times of Reiser4 volume on
disk /dev/sdb
--Glenn

--check    Mon Feb 23 01:34:22 2015
--build-fs Mon Feb 23 13:09:25 2015
--check    Tue Feb 24 17:03:22 2015
--build-fs Tue Aug 26 17:22:24 2014
--build-fs Fri Sep 20 15:50:44 2013

commands used
-------------
# fsck.reiser4 --check /dev/sdb
# fsck.reiser4 --build-fs --force  /dev/sdb

References
----------
http://www.spinics.net/lists/reiserfs-devel/msg04665.html
http://www.spinics.net/lists/reiserfs-devel/msg04206.html
http://www.spinics.net/lists/reiserfs-devel/msg04663.html
http://www.spinics.net/lists/reiserfs-devel/msg04661.html
http://www.spinics.net/lists/reiserfs-devel/msg04596.html
http://www.spinics.net/lists/reiserfs-devel/msg04203.html
http://www.spinics.net/lists/reiserfs-devel/msg04202.html
http://www.spinics.net/lists/reiserfs-devel/msg04205.html
http://www.spinics.net/lists/reiserfs-devel/msg03575.html

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
(Continue reading)

doiggl | 22 Feb 15:32 2015
Picon

Is there any way to access to the following r4 partition on disk - /dev/sdb

Hello,
- Is there any way to access to the following r4 partition on disk ?
[dev/sdb]
- Are there any switches to help identify the problem ?
I want to copy the files to another partition.

The command fails for some reason:
How can I get the following to work ?

# mount /dev/sdb  /media/disk
mount: mount(2) failed: No such file or directory

--Thankyou Glenn

# rpm -qa | grep -i reiser4progs
reiser4progs-1.0.9-58.1.x86_64
reiser4progs-debuginfo-1.0.9-56.1.x86_64

# ll /lib/modules/`uname -r`/kernel/fs/reiser4
total 733                                                                 

-rw-r--r-- 1 root root 747680 Feb 16 12:34 reiser4.ko
Links
http://www.spinics.net/lists/reiserfs-devel/msg04657.html
http://www.spinics.net/lists/reiserfs-devel/msg04206.html

I did this in the past.
#######################

    # fsck.reiser4 --build-fs --force  /dev/sdb
(Continue reading)


Gmane