[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87sgk6tjiy.fsf@logand.com>
Date: Thu, 23 Jan 2020 14:00:21 +0100
From: Tomas Hlavaty <tom@...and.com>
To: Viacheslav Dubeyko <slava@...eyko.com>,
Ryusuke Konishi <konishi.ryusuke@...il.com>
Cc: linux-nilfs <linux-nilfs@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 in nilfs_segctor_do_construct
Hi Viacheslav,
Viacheslav Dubeyko <slava@...eyko.com> writes:
> (1) the partition size?
the first disk with crash was 1TB
the second disk with crash, which i have by me, is 2TB:
$ lsblk /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
└─extdisk 254:2 0 1.8T 0 crypt /mnt/b
> (2) the logical block size?
> (3) the segment size?
how can i find (2) and (3) out?
here is the output of nilfs-tune:
$ sudo nilfs-tune -l /dev/mapper/extdisk
nilfs-tune 2.2.7
Filesystem volume name: backup1_nilfs2
Filesystem UUID: 7d9708f9-464f-41b7-a0c6-eda18741012f
Filesystem magic number: 0x3434
Filesystem revision #: 2.0
Filesystem features: (none)
Filesystem state: valid
Filesystem OS type: Linux
Block size: 4096
Filesystem created: Thu Dec 27 14:14:14 2018
Last mount time: Fri Dec 20 13:06:15 2019
Last write time: Thu Jan 23 13:04:30 2020
Mount count: 15
Maximum mount count: 50
Reserve blocks uid: 0 (user root)
Reserve blocks gid: 0 (group root)
First inode: 11
Inode size: 128
DAT entry size: 32
Checkpoint size: 192
Segment usage size: 16
Number of segments: 238465
Device size: 2000396834816
First data block: 1
# of blocks per segment: 2048
Reserved segments %: 5
Last checkpoint #: 9884
Last block address: 280841435
Last sequence #: 137120
Free blocks count: 207591424
Commit interval: 0
# of blks to create seg: 0
CRC seed: 0x5172270a
CRC check sum: 0x2ef767d2
CRC check data size: 0x00000118
it seems strange that the last write time is today, even though i
mounted the partition read-only
/dev/mapper/extdisk on /mnt/b type nilfs2 (ro,relatime)
> (4) how the partition was created?
using parted
then cryptsetup luksFormat
then cryptsetup luksOpen
then mkfs.nilfs2
> (5) the version of tools that created the partition?
how can i find this out? is it saved somewhere?
> (6) the amount of free space on the partition?
/dev/mapper/extdisk 1.9T 1.1T 699G 61% /mnt/b
Regards,
Tomas
Powered by blists - more mailing lists