Skip to contentSkip to conversation

how can I list out any replayed journal entries on startup in reiser4 filesystem

DISCUSSION [email protected] 3 participants 6 messages Feb 12, 2011

lore
Share & tools
lore
#0 lore raw

Hello
Is there a way of listing out any replayed journal entries on startup in reiser4 filesystem similar to what reiser3 does [1]?
Reiser4 mount point /dev/sdb /media/disk reiser4 defaults 0 0 Full /etc/fstab listing [2]

Thanks Glenn

[1]Reiser 3 shows output like the following if needed
Trans replayed: mountid 104, transid 45277, desc 2570, len 4, commit 2575, next trans offset 2558
Trans replayed: mountid 104, transid 45278, desc 2576, len 2, commit 2579, next trans offset 2562
Trans replayed: mountid 104, transid 45279, desc 2580, len 2, commit2583, next trans offset 2566

[2] /etc/fstab content /dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part4 swap
swap defaults 0 0
/dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part2 /
reiserfs acl,user_xattr 1 1

proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
debugfs /sys/kernel/debug debugfs noauto
0 0
usbfs /proc/bus/usb usbfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
/dev/sdb /media/disk reiser4 defaults 0 0

#1 lore raw
Quoted 3 lines · On 02/12/2011 01:33 AM, [email protected] wrote:

Hello
Is there a way of listing out any replayed journal entries on startup in reiser4 filesystem similar to what reiser3 does [1]?

Why?
IMHO such listing is rather useless..

Edward.

Quoted 35 lines

Reiser4 mount point /dev/sdb /media/disk reiser4 defaults 0 0 Full /etc/fstab listing [2]

Thanks Glenn

[1]Reiser 3 shows output like the following if needed
Trans replayed: mountid 104, transid 45277, desc 2570, len 4, commit 2575, next trans offset 2558
Trans replayed: mountid 104, transid 45278, desc 2576, len 2, commit 2579, next trans offset 2562
Trans replayed: mountid 104, transid 45279, desc 2580, len 2, commit2583, next trans offset 2566

[2] /etc/fstab content /dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part4 swap
swap defaults 0 0
/dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part2 /
reiserfs acl,user_xattr 1 1

proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
debugfs /sys/kernel/debug debugfs noauto
0 0
usbfs /proc/bus/usb usbfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
/dev/sdb /media/disk reiser4 defaults 0 0

--
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

#2 lore raw
Quoted 3 lines · Edward Shishkin
Quoted 2 lines · On 02/12/2011 01:33 AM, [email protected] wrote:

Hello
Is there a way of listing out any replayed journal entries on startup

in

Quoted 20 lines
Quoted 1 line

reiser4 filesystem similar to what reiser3 does [1]?

Why?
IMHO such listing is rather useless..

Edward.

Quoted 13 lines

Reiser4 mount point /dev/sdb /media/disk reiser4 defaults 0 0 Full /etc/fstab listing [2]

Thanks Glenn

[1]Reiser 3 shows output like the following if needed Trans replayed: mountid 104, transid 45277, desc 2570, len 4, commit 2575,
next trans offset 2558
Trans replayed: mountid 104, transid 45278, desc 2576, len 2, commit 2579,
next trans offset 2562
Trans replayed: mountid 104, transid 45279, desc 2580, len 2,

commit2583,

Quoted 20 lines
Quoted 20 lines

next trans offset 2566

[2] /etc/fstab content /dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part4 swap
swap defaults 0 0
/dev/disk/by-id/ata-CRUCIAL_CT64M225_P609410-MIBY-124A767-part2 /
reiserfs acl,user_xattr 1 1

proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
debugfs /sys/kernel/debug debugfs noauto
0 0
usbfs /proc/bus/usb usbfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
/dev/sdb /media/disk reiser4 defaults 0 0

Quoted 8 lines
Quoted 5 lines

--
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

--
To unsubscribe from this list: send the line "unsubscribe

reiserfs-devel"

Quoted 3 lines

in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hello,
I ask because the activation time on /dev/sdb -> /media/disk is 130 seconds or so with no progress on screen , so for me its helpful to see a progress indicator and a pass/fail at the end of journal replay process. Glenn

#3 lore raw

Dne Sat, 12 Feb 2011 04:20:13 +0100 <[email protected]> napsal(a):

Quoted 5 lines

Hello,
I ask because the activation time on /dev/sdb -> /media/disk is 130 seconds or so with no progress on screen , so for me its helpful to see a progress indicator and a pass/fail at the end of journal replay process. Glenn

Umount your partitions properly and use fsck if you don't. But I don't think this is caused by a journal replay. How big is that disk? You may consider using the "dont_load_bitmap" option — just put it into your fstab or use the "-o" switch when you mount the FS.

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
#4 lore raw
Quoted 1 line · Jonáš Vidra

Dne Sat, 12 Feb 2011 04:20:13 +0100 <[email protected]>

napsal(a):

Quoted 4 lines
Quoted 4 lines

Hello,
I ask because the activation time on /dev/sdb -> /media/disk is 130 seconds or so with no progress on screen , so for me its helpful to see

a

Quoted 1 line
Quoted 1 line

progress indicator and a pass/fail at the end of journal replay

process.

Quoted 8 lines
Quoted 1 line

Glenn

Umount your partitions properly and use fsck if you don't. But I don't think this is caused by a journal replay. How big is that disk? You may consider using the "dont_load_bitmap" option — just put it into your fstab or use the "-o" switch when you mount the FS.

How big is that disk?

1.7Terabyte | 1.1T used | 600 GB free |371,987 files, all on one partition

Is this the correct format for dont_load_bitmap in /etc/fstab ?

/dev/sdb /media/disk reiser4 defaults,dont_load_bitmap 0 0

--
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
Quoted 13 lines · On 02/12/2011 03:06 PM, [email protected] wrote:
Quoted 1 line · Jonáš Vidra

Dne Sat, 12 Feb 2011 04:20:13 +0100<[email protected]>

napsal(a):

Quoted 4 lines
Quoted 4 lines

Hello,
I ask because the activation time on /dev/sdb -> /media/disk is 130 seconds or so with no progress on screen , so for me its helpful to see

a

Quoted 1 line
Quoted 1 line

progress indicator and a pass/fail at the end of journal replay

process.

Quoted 2 lines
Quoted 1 line

Glenn

Quoted 8 lines
Quoted 6 lines

Umount your partitions properly and use fsck if you don't. But I don't think this is caused by a journal replay. How big is that disk? You may consider using the "dont_load_bitmap" option — just put it into your fstab or use the "-o" switch when you mount the FS.

How big is that disk?

1.7Terabyte | 1.1T used | 600 GB free |371,987 files, all on one partition

Yes, this is not because of journal replays: you have a large volume, and by default all bitmap blocks are loaded to memory in mount time.

Quoted 4 lines

Is this the correct format for dont_load_bitmap in /etc/fstab ?

/dev/sdb /media/disk reiser4 defaults,dont_load_bitmap 0 0

There were complaints that loading bitmaps "on-demand" causes system lockups, I didn't have a chance to look at this yet. So I wouldn't recommend to use this mount option for now.

Edward.
--
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