Portál AbcLinuxu, 9. listopadu 2025 04:37
[root@localhost guest]# mount -t reiserfs /dev/hdc1 /mnt/tmp
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
co teď? Asi nemusím zdůrazňovat, že jsou tam důležité věci, o které nechci přijít...
Prosím žádné poznámky o nutnosti záloh apod, už jsem se jich načetl dost při prohledávání archivu fóra
bread: Cannot read the block (29298534): (Invalid argument). reiserfs_open: Your partition is not big enough to contain the filesystem of (29298534) blocks as was specified in the found super block. Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the superblock is corrupted and you need to run this utility with --rebuild-sb.
Hm, pro jistotu bych udělal kopii přes dd a pak zkusil fsck.reiserfs --rebuild-tree? Co vy na to?
Did you use resizer(y/n)[n]: y
Enter partition size [29151936]:
rebuild-sb: wrong bitmap number occured (895), fixed (890)
Reiserfs super block in block 16 on 0x1601 of format 3.6 with standard journal
Count of blocks on the device: 29151936
Number of bitmaps: 890
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 2376379
Root block: 10009753
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 208, max 972
Journal parameters:
Device [0x0]
Magic [0x7b3d1eb2]
Size 8193 blocks (including 1 for journal header) (first block 18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 7578235
UUID: 19bbfdbd-6af3-4a87-851f-6c6377da8eb7
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN
Is this ok ? (y/n)[n]: y
The fs may still be unconsistent. Run reiserfsck --check.
reiserfsck --check
řekl:
reiserfsck --check started at Sun Oct 8 13:33:20 2006 ########### Replaying journal.. Reiserfs journal '/dev/hdc1' in blocks [18..8211]: 0 transactions replayed Zero bit found in on-disk bitmap after the last valid bit. Checking internal tree..bad_internal: vpf-10330: block 10009753, item 0: The internal item points to the not legal block (29267814) the problem in the internal node occured (10009753), whole subtree is skipped finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-treereiserfsck --check started at Sun Oct 8 13:33:20 2006 ########### Replaying journal.. Reiserfs journal '/dev/hdc1' in blocks [18..8211]: 0 transactions replayed Zero bit found in on-disk bitmap after the last valid bit. Checking internal tree..bad_internal: vpf-10330: block 10009753, item 0: The internal item points to the not legal block (29267814) the problem in the internal node occured (10009753), whole subtree is skipped finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-treereiserfsck --check --rebuild-tree říká:
Will rebuild the filesystem (/dev/hdc1) 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 Replaying journal.. Reiserfs journal '/dev/hdc1' in blocks [18..8211]: 0 transactions replayed Zero bit found in on-disk bitmap after the last valid bit. Fixed. ########### reiserfsck --rebuild-tree started at Sun Oct 8 13:42:59 2006 ########### Pass 0: ####### Pass 0 ####### Loading on-disk bitmap .. ok, 26776364 blocks marked used Skipping 9100 blocks (super block, journal, bitmaps) 26767264 blocks will be read 0%....20%....40%... left 12446022, 10370 /sec
(nak mi to z toho neni jasny, dokoncil ten reiserfsck --check --rebuild-tree opravu?)
Flushing..finished19, 67 /sec
Objects without names 12113
Empty lost dirs removed 81
Dirs linked to /lost+found: 2802
Dirs without stat data found 24
Files linked to /lost+found 9311
Pass 4 - finished done 200424, 53 /sec9604, 45 /sec1, 45 /secec
Deleted unreachable items 885
Flushing..finished
Syncing..finished
###########
reiserfsck finished at Sun Oct 8 15:45:32 2006
###########
systém jsem v pohodě přimountoval
fotky za poslední 2 měsíce jsou fuč (nebo v bordelu v lost+found)
v lost+found je 8GB dat - 50600 souborů a 12300 adresářů
takže to vracím zpět z image a zkusím tu partition roztáhnout přes celej disk
########### reiserfsck --check started at Sun Oct 8 20:00:52 2006 ########### Replaying journal.. Reiserfs journal '/dev/hdc1' in blocks [18..8211]: 0 transactions replayed Checking internal tree..finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Checking Semantic tree: finished 1 found corruptions can be fixed when running with --fix-fixable ########### reiserfsck finished at Sun Oct 8 20:33:55 2006 ###########pouštím --fix-fixable, držte mi pěsti
###########
reiserfsck --fix-fixable started at Sun Oct 8 20:40:19 2006
###########
Replaying journal..
Reiserfs journal '/dev/hdc1' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..vpf-10630: The on-disk and the correct bitmaps differs. Will be fixed later.
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 201946
Internal nodes 1321
Directories 53538
Other files 519121
Data block pointers 26711528 (1744 of them are zero)
Safe links 0
###########
reiserfsck finished at Sun Oct 8 21:11:24 2006
###########
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.