reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how can I list out any replayed journal entries on startup in reiser4 filesystem
@ 2011-02-12  0:33 doiggl
  2011-02-12  1:30 ` Edward Shishkin
  0 siblings, 1 reply; 6+ messages in thread
From: doiggl @ 2011-02-12  0:33 UTC (permalink / raw)
  To: reiserfs-devel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I list out any replayed journal entries on startup in reiser4 filesystem
  2011-02-12  0:33 how can I list out any replayed journal entries on startup in reiser4 filesystem doiggl
@ 2011-02-12  1:30 ` Edward Shishkin
  2011-02-12  3:20   ` doiggl
  0 siblings, 1 reply; 6+ messages in thread
From: Edward Shishkin @ 2011-02-12  1:30 UTC (permalink / raw)
  To: doiggl; +Cc: reiserfs-devel

On 02/12/2011 01:33 AM, doiggl@velocitynet.com.au 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.

> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I list out any replayed journal entries on startup in reiser4 filesystem
  2011-02-12  1:30 ` Edward Shishkin
@ 2011-02-12  3:20   ` doiggl
  2011-02-12  8:20     ` Jonáš Vidra
  0 siblings, 1 reply; 6+ messages in thread
From: doiggl @ 2011-02-12  3:20 UTC (permalink / raw)
  To: reiserfs-devel

On Sat, 12 Feb 2011 02:30:58 +0100, Edward Shishkin
<edward.shishkin@gmail.com> wrote:
> On 02/12/2011 01:33 AM, doiggl@velocitynet.com.au 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.
> 
>> 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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
> To unsubscribe from this list: send the line "unsubscribe
reiserfs-devel"
> in
> the body of a message to majordomo@vger.kernel.org
> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I list out any replayed journal entries on startup in reiser4 filesystem
  2011-02-12  3:20   ` doiggl
@ 2011-02-12  8:20     ` Jonáš Vidra
  2011-02-12 14:06       ` doiggl
  0 siblings, 1 reply; 6+ messages in thread
From: Jonáš Vidra @ 2011-02-12  8:20 UTC (permalink / raw)
  To: doiggl; +Cc: ReiserFS mailing list

Dne Sat, 12 Feb 2011 04:20:13 +0100 <doiggl@velocitynet.com.au> napsal(a):

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

-- 
Jonáš Vidra, vidra.jonas@seznam.cz
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I list out any replayed journal entries on startup in reiser4 filesystem
  2011-02-12  8:20     ` Jonáš Vidra
@ 2011-02-12 14:06       ` doiggl
  2011-02-12 14:21         ` Edward Shishkin
  0 siblings, 1 reply; 6+ messages in thread
From: doiggl @ 2011-02-12 14:06 UTC (permalink / raw)
  To: Jonáš Vidra; +Cc: ReiserFS mailing list

On Sat, 12 Feb 2011 09:20:06 +0100, Jonáš Vidra <vidra.jonas@seznam.cz>
wrote:
> Dne Sat, 12 Feb 2011 04:20:13 +0100 <doiggl@velocitynet.com.au>
napsal(a):
> 
>> 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.

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how can I list out any replayed journal entries on startup in reiser4 filesystem
  2011-02-12 14:06       ` doiggl
@ 2011-02-12 14:21         ` Edward Shishkin
  0 siblings, 0 replies; 6+ messages in thread
From: Edward Shishkin @ 2011-02-12 14:21 UTC (permalink / raw)
  To: doiggl; +Cc: Jonáš Vidra, ReiserFS mailing list

On 02/12/2011 03:06 PM, doiggl@velocitynet.com.au wrote:
> On Sat, 12 Feb 2011 09:20:06 +0100, Jonáš Vidra<vidra.jonas@seznam.cz>
> wrote:
>> Dne Sat, 12 Feb 2011 04:20:13 +0100<doiggl@velocitynet.com.au>
> napsal(a):
>>
>>> 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.
>
>> 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.

>
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-12 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12  0:33 how can I list out any replayed journal entries on startup in reiser4 filesystem doiggl
2011-02-12  1:30 ` Edward Shishkin
2011-02-12  3:20   ` doiggl
2011-02-12  8:20     ` Jonáš Vidra
2011-02-12 14:06       ` doiggl
2011-02-12 14:21         ` Edward Shishkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).