Re: How can I list files with accessible inodes [/dev/sdb]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Aug 2016 15:12:55 -0700 (PDT), Christian Kujau
<lists@xxxxxxxxxxxxxxx> wrote:
> On Fri, 19 Aug 2016, doiggl@xxxxxxxxxxxxxxxxxx wrote:
>> Reiser4 on /dev/sdb
>> Can these  errors be fixed. 
>> No luck in the past.
>> I cannot access files which have ?????????? in ls listing or "No such
>> file
> 
> As always: 
> 
> * Which kernel and what patches are you using? Does it happen on the 
>   latest 4.7 vanilla kernel with Reiser4 patches on top? Was the
>   file system accessible with older kernels?
> * How is your Reiser4 file system mounted? (mount | grep reiser4)
> * What lead to the errors in the first place? Was there a power outage,
>   or some other crash?
> * Does syslog show any underlying device errors? Please use a pastebin
>   for longer syslog outputs.
> 
> C.

Hello,
This is what I have recorded so far.
repair attemps fails.
attaching 
--Glenn


Now using,
# rpm -qa |grep -i reiser4 |sort
kernel-reiser4-4.7.0-9.2.x86_64
libreiser4-1_1-0-1.1.0-13.1.x86_64                                        
                                         
libreiser4-minimal-1_1-0-1.1.0-13.1.x86_64                                
                                             
reiser4progs-1.1.0-13.1.x86_64                                            
                                                   
reiser4progs-devel-1.1.0-13.1.x86_64                                      
                                                        

kernel now  in use:
linux-4.7.tar.xz 

latest reiser4 patch used:
reiser4-for-4.7.0.patch

latest reiser4 build + project
https://build.opensuse.org/package/show/home:doiggl/kernel-reiser4

previous built rpms:
# ll *kernel-reiser4*                                                     
                                                   
-rw-r--r-- 1 root users 39915183 Jun  7 18:30
kernel-reiser4-3.11.6-11.1.x86_64.rpm
-rw-r--r-- 1 root root  43323220 May  9  2014
kernel-reiser4-3.14.0-4.1.x86_64.rpm
-rw-r--r-- 1 root users 43807877 Aug 26  2014
kernel-reiser4-3.15.0-1.1.x86_64.rpm
-rw-r--r-- 1 root users 45308033 Oct 17  2014
kernel-reiser4-3.16.3-35.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 45612619 Nov  1  2014
kernel-reiser4-3.17.1-1.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 45590145 Nov  3  2014
kernel-reiser4-3.17.2-1.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 44276040 Feb  5  2015
kernel-reiser4-3.17.3-1.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 44414469 Feb 11  2015
kernel-reiser4-3.18.6-2.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 44422758 Feb 16  2015
kernel-reiser4-3.18.7-1.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 45373259 Sep 17  2015
kernel-reiser4-4.1.6-7.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 45248952 Sep 29  2015
kernel-reiser4-4.2.1-3.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 45301630 Oct 26  2015
kernel-reiser4-4.2.1-36.1.gd2bbe7f.x86_64.rpm
-rw-r--r-- 1 root users 48108295 Jan 16  2016
kernel-reiser4-4.4.0-2.1.x86_64.rpm
-rw-r--r-- 1 root users 49596638 Apr  7 20:59
kernel-reiser4-4.5.0-7.1.x86_64.rpm
-rw-r--r-- 1 root users 50986904 May 26 01:20
kernel-reiser4-4.6.0-1.1.x86_64.rpm
-rw-r--r-- 1 root users 51448624 Aug 12 11:41
kernel-reiser4-4.7.0-9.2.x86_64.rpm

build log example:
.
[   38s] + cd linux-4.7
[   38s] + /home/abuild/rpmbuild/SOURCES/apply-patches --vanilla
/home/abuild/rpmbuild/SOURCES/series.conf ..
[   38s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/lustre-lloop-dont-change-logical-size
[   38s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/i915-fix-build-error-with-werror
[   38s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/reiser4-for-4.7.0.patch
[   38s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/firmware-path
[   38s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/cloneconfig.diff
.
.
[  664s] build: extracting built packages...
[  684s] RPMS/x86_64/kernel-reiser4-4.7.0-9.2.x86_64.rpm
[  684s] RPMS/x86_64/kernel-reiser4-devel-4.7.0-9.2.x86_64.rpm
[  684s] SRPMS/pesign-repackage-1.0-9.2.src.rpm
[  684s] SRPMS/kernel-reiser4-4.7.0-9.2.nosrc.rpm
[  684s] OTHER/_statistics
[  684s] OTHER/kernel-reiser4-debugsource-4.7.0-9.2.x86_64.rpm
[  684s] OTHER/kernel-reiser4-devel-debuginfo-4.7.0-9.2.x86_64.rpm
[  684s] OTHER/kernel-reiser4-debuginfo-4.7.0-9.2.x86_64.rpm

eariest attempt to use/repair: aprox

http://www.spinics.net/lists/reiserfs-devel/msg03016.html
2.6.39.4 with reiser4 enabled.
Date: Fri, 18 Nov 2011

earliest repair try failed.

Date: Sun, 08 May 2011
http://www.spinics.net/lists/reiserfs-devel/msg02855.html

Date: Thu, 19 Sep 2013
http://www.spinics.net/lists/reiserfs-devel/msg03576.html

later repair tries failed.

# plug in reiser4 volume

# fdisk -l shows:
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


dmesg shows:
[207700.361762] usb 1-1: new high-speed USB device number 4 using ehci-pci
[207700.497991] usb 1-1: New USB device found, idVendor=04fc,
idProduct=0c25
[207700.498003] usb 1-1: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[207700.498011] usb 1-1: Product: USB to Serial-ATA bridge
[207700.498017] usb 1-1: Manufacturer: Sunplus Technology Inc.
[207700.498021] usb 1-1: SerialNumber: ST32000542            5XW1ZMG4
[207700.500965] usb-storage 1-1:1.0: USB Mass Storage device detected
[207700.501516] scsi host5: usb-storage 1-1:1.0
[207701.507449] scsi 5:0:0:0: Direct-Access     ST320005 42AS             
   PQ: 0 ANSI: 2
[207701.509303] sd 5:0:0:0: Attached scsi generic sg2 type 0
[207701.511040] sd 5:0:0:0: [sdb] 3907029168 512-byte logical blocks:
(2.00 TB/1.82 TiB)
[207701.515127] sd 5:0:0:0: [sdb] Write Protect is off
[207701.515140] sd 5:0:0:0: [sdb] Mode Sense: 38 00 00 00
[207701.517889] sd 5:0:0:0: [sdb] No Caching mode page found
[207701.517897] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[207701.719569] sd 5:0:0:0: [sdb] Attached SCSI disk# dmesg


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

Date: Thu, 19 Sep 2013
Re: Is this disk ok to use? completed fsck.reiser4 --build-fs /dev/sdb
http://www.spinics.net/lists/reiserfs-devel/msg03576.html

Date: Tue, 24 Feb 2015
http://www.spinics.net/lists/reiserfs-devel/msg04667.html

--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 from:
Fri Sep 20 15:50:44 2013
to
Mon Feb 23 01:34:22 2015

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


mount shows
# time mount /dev/sdb  /media/disk

real    1m50.414s
user    0m0.012s
sys     0m1.844s

# df -h shows:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        3.8G  8.0K  3.8G   1% /dev
tmpfs           3.8G  556K  3.8G   1% /dev/shm
tmpfs           3.8G   21M  3.8G   1% /run
/dev/sda2        12G  7.0G  5.1G  58% /
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
tmpfs           3.8G   21M  3.8G   1% /var/lock
tmpfs           3.8G   21M  3.8G   1% /var/run
/dev/sdb        1.8T  747G  1.0T  43% /media/disk



Reiser4 volume is:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb        1.8T  747G  1.0T  43% /media/disk
# dmesg

inode number changes:

[208536.965487] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 128783 (-2)
[208536.965498] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 128783 (-2)
[208536.965510] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 125602 (-2)
[208536.965518] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 125602 (-2)
[208536.965530] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 126434 (-2)
[208536.965538] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 126434 (-2)
[208536.965551] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 126845 (-2)
[208536.965559] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 126845 (-2)
.
.
[208537.884568] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 108002 (-2)
[208537.884589] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 107983 (-2)
[208537.884602] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 107983 (-2)
[208537.884623] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 108010 (-2)
[208537.884637] reiser4[nepomukfilewatc(1321)]: key_warning
(../fs/reiser4/plugin/file_plugin_common.c:510)[nikita-717]:
WARNING: Error for inode 108010 (-2)

--count shows:
# dmesg |grep -i "key_warning" |wc -l
1637

inode number changes + 'Error for inode'  + "key_warning" shows in count.

Attachment: dmesg-output.txt.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux