crash
Subsystems (2)
(Cc'ed to linux-nilfs)
Hallo,
here is a copy of a post to the list in which you might have an interest. If you need me to do anything please feel free to ask, I hope I will have some time tomorrow.
Regards
Jan de Kruyf.
------------------------------------------------
Hallo,
I did it again.
computer locked up. Most likely X, since the keyboard was dead. But the cleanerd was still running
from the flashing of the hard-drive LED.
Press the big hard reset button
restart . . . /var partition (nilfs2) is now full and the restart cannot run to completion.
This is the 3rd time it happened to me!
The only thing I can think of right now is that the cleaner daemon was interrupted at the wrong moment.
And the /var partition was left in a full state. Is this possible?
Does anybody want anything of the image for a post mortem?
Does anybody want me to do some tests before I reformat?
Further details will follow once I got the rescue HD hooked up.
Regards,
Jan de Kruyf.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 201002100059.AA01340-ZdTO5nnmHvkOizVVqyxoihMFgDP4sedm@public.gmane.org
----
Hi,
Quoted 33 lines
(Cc'ed to linux-nilfs)
Hallo,
here is a copy of a post to the list in which you might have an interest. If you need me to do anything please feel free to ask, I hope I will have some time tomorrow.Regards
Jan de Kruyf.
------------------------------------------------
Hallo,
I did it again.
computer locked up. Most likely X, since the keyboard was dead. But the cleanerd was still running
from the flashing of the hard-drive LED.Press the big hard reset button
restart . . . /var partition (nilfs2) is now full and the restart cannot run to completion.This is the 3rd time it happened to me!
The only thing I can think of right now is that the cleaner daemon was interrupted at the wrong moment.
And the /var partition was left in a full state. Is this possible?Does anybody want anything of the image for a post mortem?
Does anybody want me to do some tests before I reformat?
Further details will follow once I got the rescue HD hooked up.
Quoted 7 lines
Regards,
Jan de Kruyf.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Can you mount the partition with -o ro,norecovery ?
If so, can you see if there are warnings or errors of some kind in syslog or daemon or messages?
Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): ee5afd761002092314i1ba1ec66ie6fe7d0f22d6927e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hallo,
This patch never made it to the module tree:
from Ryusuke Konishi <[email protected]> to [email protected], [email protected]
cc [email protected], [email protected]
date Thu, Nov 19, 2009 at 9:10 PM
subject Re: [NILFS users] [PATCH 4/4] nilfs2: add norepair mount option
Could I apply the original patch without a problem to the latest module tree?
from Ryusuke Konishi <[email protected]> to [email protected], [email protected]
date Sat, Nov 7, 2009 at 9:28 PM
subject Re: [NILFS users] [SPAM] Re: [SPAM] Re: urgent help need! disk partition info lost
Regards,
Jan de Kruyf.
Quoted 44 lines · Ryusuke Konishi
----
Hi,Quoted 33 lines
(Cc'ed to linux-nilfs)
Hallo,
here is a copy of a post to the list in which you might have an interest. If you need me to do anything please feel free to ask, I hope I will have some time tomorrow.Regards
Jan de Kruyf.
------------------------------------------------
Hallo,
I did it again.
computer locked up. Most likely X, since the keyboard was dead. But the cleanerd was still running
from the flashing of the hard-drive LED.Press the big hard reset button
restart . . . /var partition (nilfs2) is now full and the restart cannot run to completion.This is the 3rd time it happened to me!
The only thing I can think of right now is that the cleaner daemon was interrupted at the wrong moment.
And the /var partition was left in a full state. Is this possible?Does anybody want anything of the image for a post mortem?
Does anybody want me to do some tests before I reformat?
Further details will follow once I got the rescue HD hooked up.
Quoted 7 lines
Regards,
Jan de Kruyf.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines
Can you mount the partition with -o ro,norecovery ?
If so, can you see if there are warnings or errors of some kind in syslog or daemon or messages?
Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): ee5afd761002092326k3bb3a74fq7145cdb9925d88d5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hi,
Quoted 21 lines · Jan de Kruyf
Hallo,
This patch never made it to the module tree:from Ryusuke Konishi <[email protected]>
to [email protected],
[email protected]
cc [email protected],
[email protected]
date Thu, Nov 19, 2009 at 9:10 PM
subject Re: [NILFS users] [PATCH 4/4] nilfs2: add norepair mount optionCould I apply the original patch without a problem to the latest module tree?
from Ryusuke Konishi <[email protected]>
to [email protected],
[email protected]
date Sat, Nov 7, 2009 at 9:28 PM
subject Re: [NILFS users] [SPAM] Re: [SPAM] Re: urgent help need!
disk partition info lost
Quoted 3 lines
Regards,
Jan de Kruyf.
The patch looks a bit old.
I attached the latest patch against 2.0.18.
Maybe both are safe, but this new one would be better.
Regards,
Ryusuke Konishi
--
fs/nilfs2_fs.h +2 -0
@@ -151,6 +151,8 @@ struct nilfs_super_root {#define NILFS_MOUNT_BARRIER 0x1000/* Use block barriers */ #define NILFS_MOUNT_STRICT_ORDER 0x2000/* Apply strict in-order semantics also for data */ +#define NILFS_MOUNT_NORECOVERY 0x4000/* Disable write access during +mount-time recovery */ /**
fs/super.c +18 -35
107 lines not on this page · raw message
fs/the_nilfs.c +65 -27
113 lines not on this page · raw message
fs/the_nilfs.h +10 -0
@@ -242,6 +242,16 @@ static inline void nilfs_put_sbinfo(struct nilfs_sb_info *sbi)kfree (sbi); } +static inline int nilfs_valid_fs (struct the_nilfs *nilfs) +{ +unsigned valid_fs; + +down_read (&nilfs->ns_sem); + valid_fs = (nilfs->ns_mount_state &NILFS_VALID_FS ); +up_read (&nilfs->ns_sem); +return valid_fs; +} +static inline void nilfs_get_segment_range (struct the_nilfs *nilfs,__u64 segnum,sector_t *seg_start,sector_t *seg_end)
nilfs2.txt +4 -0
@@ -71,6 +71,10 @@ order=strict Apply strict in-order semantics that preserves sequence blocks. That means, it is guaranteed that no overtaking of events occurs in the recovered file system after a crash. +norecovery Disable recovery of the filesystem on mount. + This disables every write access on the device for + read-only mounts or snapshots. This option will fail + for r/w mounts on an unclean volume. NILFS2 usage ============
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Pliny the Elder (ad 23–79): ‘Semper aliquid novi Africam adferre [Africa always brings [us] something new]’
Hallo,
something is not quite right between the git repository and my git master copy somehow the patches dont update the local copy with git am
I have to extract the patch and apply with 'patch -l' (Match patterns
loosely, in case tabs or spaces have been munged in your files.)
Which then has other complications like finding the wrong spot in super.c for one patch, so that hunk was then rejected and had to be done by hand.
On the crash:
My initial idea was quite wrong. Something went amiss somewhere in the middle of nowhere.
It might be cleanerd connected, but I cannot say for sure.
See the attached .tgz for details of my post mortem effort. If more data is needed please say so.
Regards,
Jan de Kruyf.
A message that is not in the archive (sent off-list or not yet received): ee5afd761002110943y1ca061bdi610de2f1a5df3c32-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hi,
2010/2/12 Jan de Kruyf <[email protected]>:
Quoted 18 lines
Pliny the Elder (ad 23–79): ‘Semper aliquid novi Africam adferre [Africa always brings [us] something new]’
Hallo,
something is not quite right between the git repository and my git master copy somehow the patches dont update the local copy with git am
I have to extract the patch and apply with 'patch -l' (Match patterns loosely, in case tabs or spaces have been munged in your files.) Which then has other complications like finding the wrong spot insuper.cfor one patch, so that hunk was then rejected and had to be done by hand.On the crash:
My initial idea was quite wrong. Something went amiss somewhere in the middle of nowhere.
It might be cleanerd connected, but I cannot say for sure.
Quoted 6 lines
See the attached .tgz for details of my post mortem effort. If more data is needed please say so.
Regards,
Jan de Kruyf.
Thank you for the detail report.
According to your log, many tiny checkpoints were created around 2010-02-09 20:30:01 ~ 2010-02-09 20:31:00.
I saw the dump data of the segment 343 to see the logs having checkpoints on "20:30:01", but they looked normal to me.
The series of checkpoints after 1844624 seems to need care as you say.
1844624 2010-02-09 20:30:59 cp - 55 16621
1844625 2010-02-09 20:30:59 cp - 33 16621
1844626 2010-02-09 20:30:59 cp - 33 16621
1844627 2010-02-09 20:30:59 cp - 34 16621
1844628 2010-02-09 20:30:59 cp - 33 16621
1844629 2010-02-09 20:30:59 cp - 33 16621
1844630 2010-02-09 20:30:59 cp - 33 16621But, it was not included in the segment 343 but in the segment 344.
Checkpoints can be created when application performs synchronous writes (e.g. fsync or OSYNC writes).
So, we needs an additional dumpseg data to confirm if it's normal or not.
Can you still take out the dump ?
In addition, I think "ls -laiR" for the var directory would be helpful because it prints inode numbers along with file names.
Thanks in advance,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html