LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2017, 11:56 PM   #1
Glenn D.
Member
 
Registered: May 2009
Location: ACT - Australia
Distribution: Opensuse x86_64 (Latest)
Posts: 132

Rep: Reputation: 26
error on reiserfsck fsck.reiserfs --fix-fixable /dev/sdb1


How do I find/fix/remove problem ?
Thanks
--Glenn

command sequence:
# umount /dev/sdb1
# rpm -qa| grep reiserfs |sort
libreiserfs-0_3-0-0.3.0.5-163.3.x86_64
libreiserfscore0-3.6.25-56.1.x86_64
reiserfs-3.6.26-1.1.x86_64
reiserfs-debuginfo-3.6.26-1.1.x86_64

# fsck.reiserfs
Usage: fsck.reiserfs [mode] [options] device

Modes:
--check consistency checking (default)
--fix-fixable fix corruptions which can be fixed without
--rebuild-tree
--rebuild-sb super block checking and rebuilding if needed
(may require --rebuild-tree afterwards)
--rebuild-tree force fsck to rebuild filesystem from scratch
(takes a long time)
--clean-attributes clean garbage in reserved fields in StatDatas
Options:
-j | --journal device specify journal if relocated
-B | --badblocks file file with list of all bad blocks on the fs
-l | --logfile file make fsck to complain to specifed file
-n | --nolog make fsck to not complain
-z | --adjust-size fix file sizes to real size
-q | --quiet no speed info
-y | --yes no confirmations
-f | --force force checking even if the file system is marked clean
-V prints version and exits
-a and -p some light-weight auto checks for bootup
-r ignored
Expert options:
--no-journal-available do not open nor replay journal
-S | --scan-whole-partition build tree of all blocks of the device



# fsck.reiserfs --check /dev/sdb1
reiserfsck 3.6.26

Will read-only check consistency of the filesystem on /dev/sdb1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Fri Jul 21 13:20:15 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit.
Checking internal tree.. finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
1 found corruptions can be fixed when running with --fix-fixable
###########
reiserfsck finished at Fri Jul 21 13:31:54 2017
###########

# fsck.reiserfs --fix-fixable /dev/sdb1
reiserfsck 3.6.26

Will check consistency of the filesystem on /dev/sdb1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Fri Jul 21 13:36:21 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit. Fixed.
Checking internal tree.. finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 125567
Internal nodes 759
Directories 2196
Other files 72209
Data block pointers 122267987 (0 of them are zero)
Safe links 0
###########
reiserfsck finished at Fri Jul 21 13:48:02 2017
###########
Exiting after unrecoverable error.

# fsck.reiserfs --check /dev/sdb1
reiserfsck 3.6.26

Will read-only check consistency of the filesystem on /dev/sdb1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Fri Jul 21 13:52:01 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit.


# fsck.reiserfs --fix-fixable /dev/sdb1
reiserfsck 3.6.26

Will check consistency of the filesystem on /dev/sdb1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Fri Jul 21 14:19:13 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit. Fixed.
Checking internal tree

# fsck.reiserfs --fix-fixable /dev/sdb1
reiserfsck 3.6.26

Will check consistency of the filesystem on /dev/sdb1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Fri Jul 21 14:19:13 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit. Fixed.

# umount /dev/sdb1
umount: /dev/sdb1: not mounted

# fsck.reiserfs --fix-fixable /dev/sdb1
reiserfsck 3.6.26

Will check consistency of the filesystem on /dev/sdb1
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Fri Jul 21 14:19:13 2017
###########
Replaying journal: Done.
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
Zero bit found in on-disk bitmap after the last valid bit. Fixed.
Checking internal tree.. finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 125567
Internal nodes 759
Directories 2196
Other files 72209
Data block pointers 122267987 (0 of them are zero)
Safe links 0
###########
reiserfsck finished at Fri Jul 21 14:30:53 2017
###########

Exiting after unrecoverable error.
# count files on r3 partition
# mount /dev/sdb1 /media/disk
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 1.5T 467G 970G 33% /media/disk

# find /media/disk/. | wc -l
74404

# umount /dev/sdb1
#

# umount /dev/sdb1
#
# dmesg
77.096157] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 77.096975] scsi host4: usb-storage 1-1:1.0
[ 78.110203] scsi 4:0:0:0: Direct-Access ST320005 42AS PQ: 0 ANSI: 2
[ 78.111026] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 78.113083] sd 4:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 78.115708] sd 4:0:0:0: [sdb] Write Protect is off
[ 78.115717] sd 4:0:0:0: [sdb] Mode Sense: 38 00 00 00
[ 78.118399] sd 4:0:0:0: [sdb] No Caching mode page found
[ 78.118406] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 87.856653] sdb: sdb1
[ 87.869299] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 91.836828] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 155.843654] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 164.892130] jme 0000:03:00.5 enp3s0f5: Link is down
[ 167.579745] jme 0000:03:00.5 enp3s0f5: Link is up at ANed: 100 Mbps, Full-Duplex, MDI
[ 179.973220] jme 0000:03:00.5 enp3s0f5: Link is down
[ 182.791658] jme 0000:03:00.5 enp3s0f5: Link is up at ANed: 100 Mbps, Full-Duplex, MDI-X
[ 185.808164] jme 0000:03:00.5 enp3s0f5: Link is down
[ 206.695667] jme 0000:03:00.5 enp3s0f5: Link is up at ANed: 100 Mbps, Full-Duplex, MDI
[ 209.248130] jme 0000:03:00.5 enp3s0f5: Link is down
[ 212.795648] jme 0000:03:00.5 enp3s0f5: Link is up at ANed: 100 Mbps, Full-Duplex, MDI
[ 213.320768] IPv4: martian source 255.255.255.255 from 192.168.1.254, on dev enp3s0f5
[ 213.320805] ll header: 00000000: ff ff ff ff ff ff 00 04 ed ae 0d 89 08 00 ..............
[ 213.489340] IPv4: martian source 255.255.255.255 from 192.168.1.254, on dev enp3s0f5
[ 213.489374] ll header: 00000000: ff ff ff ff ff ff 00 04 ed ae 0d 89 08 00 ..............
[ 283.849521] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 539.846750] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 1051.096039] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 1522.802356] device-mapper: uevent: version 1.0.3
[ 1522.802466] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[ 1524.049935] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[ 1524.222239] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
[ 2047.466458] REISERFS (device sdb1): found reiserfs format "3.6" with standard journal
[ 2047.466533] REISERFS (device sdb1): using ordered data mode
[ 2047.466534] reiserfs: using flush barriers
[ 2047.531504] REISERFS (device sdb1): journal params: device sdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 2047.532828] REISERFS (device sdb1): checking transaction log (sdb1)
[ 2047.574699] REISERFS (device sdb1): replayed 1 transactions in 0 seconds
[ 2047.639615] REISERFS (device sdb1): Using r5 hash to sort names
[ 2075.095683] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 2734.836292] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC=33:33:00:00:00:fb:14:da:e9:e8:48:af:86:dd SRC=fe80:0000:0000:0000:16da:e9ff:fee8:48af DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 4123.119025] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 6073.086599] REISERFS (device sdb1): found reiserfs format "3.6" with standard journal
[ 6073.086831] REISERFS (device sdb1): using ordered data mode
[ 6073.086832] reiserfs: using flush barriers
[ 6073.147890] REISERFS (device sdb1): journal params: device sdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 6073.149491] REISERFS (device sdb1): checking transaction log (sdb1)
[ 6073.185385] REISERFS (device sdb1): Using r5 hash to sort names
[ 6335.213077] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC=33:33:00:00:00:fb:14:da:e9:e8:48:af:86:dd SRC=fe80:0000:0000:0000:16da:e9ff:fee8:48af DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 7723.054435] SFW2-INext-DROP-DEFLT IN=enp3s0f5 OUT= MAC= SRC=fe80:0000:0000:0000:22cf:30ff:fe28:fda2 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=728019 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[ 8278.707774] REISERFS (device sdb1): found reiserfs format "3.6" with standard journal
[ 8278.707955] REISERFS (device sdb1): using ordered data mode
[ 8278.707961] reiserfs: using flush barriers
[ 8278.771638] REISERFS (device sdb1): journal params: device sdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
[ 8278.772989] REISERFS (device sdb1): checking transaction log (sdb1)
[ 8278.809422] REISERFS (device sdb1): Using r5 hash to sort names
#
 
Old 07-21-2017, 06:52 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
It looks like a bug in the file system or the checker. I would report it. Also, --rebuild-tree will for sure recover everything. But it takes a long time. It doesn't look like you have any serious errors,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition /dev/sda2 is mounted with write permissions, cannot check it fsck.reiserfs kkgil Linux - Server 1 06-02-2012 12:21 PM
fsck.reiserfs /dev/sda2 failed jec25 Linux - Newbie 2 10-28-2009 10:17 PM
on boot: fsck.reiserfs /dev/hda3 failed (status 0x10) ahedler Linux - General 5 11-16-2005 02:57 AM
PLEASE HELP: fsck.reiserfs --rebuild-sb /dev/md0 fails ofdofd Linux - General 2 10-26-2005 02:18 PM
reiserfsck --fix-fixable -> --fix-fixable ignored - why? BrianK Linux - Software 1 01-07-2005 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration