Reiser Selamat Lagi
Ditulis pada tanggal 12 Agustus 2008
Beberapa orang pernah bilang kalo reiserfs itu ndak aman. Banyak juga yang pernah ngomong bahwa filesystem itu kalo sama linux kernel versi sekian sekian ndak bagus. Ada juga kabar-kabar ndak bagus yang lain. Entah kenapa, tampaknya beberapa distro beberapa bulan yang lalu juga ada yang pernah mencabut penggunaan jenis filesystem itu, dan kembali menggunakan ext3, yang terbukti stabil dan memuaskan lebih banyak orang.
Terlepas dari itu semua, aku masih seneng aja sih pakai reiserfs. Kemarin adalah untuk ke-3 kalinya dataku selamat. Kebetulan aku pernah juga ngalamin filesystem rusak waktu pakai ext3, dan datanya ndak selamet. Ini potongannya:
[root@ck-mbl 11:16 ~]# mount /dev/sdc1 mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Lho, kok muncul gitu ya?? Terus aku coba lihat data partisinya pakai cfdisk. Hasilnya masih beres-beres aja. Ndak ada tanda-tanda yang aneh. Kemudian aku sempet pindahin ke komputer lain, masih aja gitu. Walah... Udah sempet kepikir selamet ndak selamet. Tapi kemudian, aku coba rebuild tree seperti ini:
[root@ck-mbl 11:18 ~]# reiserfsck --rebuild-tree /dev/sdc1
reiserfsck 3.6.19 (2003 www.namesys.com)
*************************************************************
** Do not run the program with --rebuild-tree unless **
** something is broken and MAKE A BACKUP before using it. **
** If you have bad sectors on a drive it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive to the good one -- dd_rescue is a good tool for **
** that -- and only then run this program. **
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will rebuild the filesystem (/dev/sdc1) 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
reiserfs_open: the reiserfs superblock cannot be found on /dev/sdc1.
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.
Disuru pasang --rebuild-sb, ya udah aku jalankan lagi.
[root@ck-mbl 11:19 ~]# reiserfsck --rebuild-tree --rebuild-sb /dev/sdc1
reiserfsck 3.6.19 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will check superblock and rebuild it if needed
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
reiserfs_open: the reiserfs superblock cannot be found on /dev/sdc1.
what the version of ReiserFS do you use[1-4]
(1) 3.6.x
(2) >=3.5.9 (introduced in the middle of 1999) (if you use linux 2.2, choose this one)
(3) < 3.5.9 converted to new format (don't choose if unsure)
(4) < 3.5.9 (this is very old format, don't choose if unsure)
(X) exit
1
Enter block size [4096]:
No journal device was specified. (If journal is not available, re-run with --no-journal-available option specified).
Is journal default? (y/n)[y]:
Did you use resizer(y/n)[n]:
rebuild-sb: no uuid found, a new uuid was generated (afd55258-5277-4d34-8b89-6b039ed7f3b4)
rebuild-sb: You either have a corrupted journal or have just changed
the start of the partition with some partition table editor. If you are
sure that the start of the partition is ok, rebuild the journal header.
Do you want to rebuild the journal header? (y/n)[n]: y
Reiserfs super block in block 16 on 0x821 of format 3.6 with standard journal
Count of blocks on the device: 24420800
Number of bitmaps: 746
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 0
Root block: 0
Filesystem is NOT clean
Tree height: 0
Hash function used to sort names: not set
Objectid map size 0, max 972
Journal parameters:
Device [0x0]
Magic [0x0]
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: 0
UUID: afd55258-5277-4d34-8b89-6b039ed7f3b4
LABEL:
Set flags in SB:
Is this ok ? (y/n)[n]: y
The fs may still be unconsistent. Run reiserfsck --check.
Masih disuru njalanin lagi? Yo wis, dituruti lagi.
[root@ck-mbl 11:20 ~]# reiserfsck --check /dev/sdc1
reiserfsck 3.6.19 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will read-only check consistency of the filesystem on /dev/sdc1
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 Sun Aug 10 11:20:44 2008
###########
Replaying journal..
Trans replayed: mountid 81, transid 13370, desc 7317, len 1, commit 7319, next trans offset 7302
Reiserfs journal '/dev/sdc1' in blocks [18..8211]: 1 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 20922
Internal nodes 147
Directories 16015
Other files 53865
Data block pointers 12514187 (0 of them are zero)
Safe links 0
###########
reiserfsck finished at Sun Aug 10 11:22:52 2008
###########
[root@ck-mbl 11:26 ~]# mount /dev/sdc1 mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Lhah?? Baru inget kalo tadi rebuild tree belum berjalan sukses. Ya kujalankan lagi, seperti ini nih:
[root@ck-mbl 11:30 ~]# reiserfsck --rebuild-tree /dev/sdc1
reiserfsck 3.6.19 (2003 www.namesys.com)
*************************************************************
** Do not run the program with --rebuild-tree unless **
** something is broken and MAKE A BACKUP before using it. **
** If you have bad sectors on a drive it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive to the good one -- dd_rescue is a good tool for **
** that -- and only then run this program. **
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will rebuild the filesystem (/dev/sdc1) 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/sdc1' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Sun Aug 10 11:30:19 2008
###########
Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 12544212 blocks marked used
Skipping 8956 blocks (super block, journal, bitmaps) 12535256 blocks will be read
0%....20%....40%....60%....80%....100% left 0, 5338 /sec
69879 directory entries were hashed with "r5" hash.
Selected hash ("r5") does not match to the hash set in the super block (not set).
"r5" hash is selected
Flushing..finished
Read blocks (but not data blocks) 12535256
Leaves among those 20922
Objectids found 69847
Pass 1 (will try to insert 20922 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%....20%....40%....60%....80%....100% left 0, 139 /sec
Flushing..finished
20922 leaves read
20811 inserted
111 not inserted
####### Pass 2 #######
Pass 2:
0%....20%....40%....60%....80%....100% left 0, 222 /sec
Flushing..finished
Leaves inserted item by item 111
Pass 3 (semantic):
####### Pass 3 #########
Flushing..finished
Files found: 53830
Directories found: 16016
Symlinks found: 1
Pass 3a (looking for lost dir/files):
####### Pass 3a (lost+found pass) #########
Looking for lost directories:
Flushing..finished7, 590 /sec
Pass 4 - finished done 0, 0 /sec
Flushing..finished
Syncing..finished
###########
reiserfsck finished at Sun Aug 10 12:13:21 2008
###########
[root@ck-mbl 12:13 ~]# mount /dev/sdc1 mnt/
[root@ck-mbl 12:13 ~]# cd mnt
[root@ck-mbl 12:14 mnt]# ls
aac/ lost+found/
aHQ3ceBAptMWl0HAYiET.rm Suteki da Ne - Sherina - Beginning of Fantasy Indonesia.flv
Darurat/ syncdebian.sh
debian/ syncmultimedia.sh
debian-multimedia/
Huaaah... Datanya balik, utuh ![]()
Timpalan tulisan
pitri - 6 Nov 2008
eeeee mboh ga eruh maaaas mas.. :p
Asfihani - 3 Nov 2008
Halah, kok masih ada yang pakai reiserfs :-)
fahru -lagi- - 10 Sep 2008
Maap maap...
yang tadi ternyata salah ketik...
hehehehe...:d
fahru - 10 Sep 2008
Mas,...
Aku juga ngalamin hal yang sama...
Tapi waktu ngejalanin perintah : reisersfck
Pesannya : bash: reisersfck: command not found
Gimana tuh mas yah...
Data2 tentang ebook. master...dan lain lain ada di komputer itu....
(
galih - 3 Sep 2008
ra mudeng ![]()
Budiw - 22 Aug 2008
Fiuh.. tak pikir arep ngomong nek reiserfs iku elek..
Sik tas aku ngeformat HD NAS buaya nganggo reiserfs..
Fiuh..
Timpali tulisan
- Colongan Berita (rss feed)
- Debian Admin
- Detikcom
- Distro Watch
- OS News
- SlashDot Linux
- Viva News
- Para Tetangga
- Akhmad Suaidi
- Anton Yulianto
- Arinet
- Asfihani
- Budi Wijaya
- Cahyo Darujati
- Dani Wafaul Falah
- David Suhendrik
- Eszy Filiani Poespo
- Galih Satriaji
- Henning TC
- Impianti WU
- KLAS
- Kiki Ahmadi
- M. Yuqi
- Menik
- Nanin Wailisahalong
- Noor Al Azam
- Nur Aini
- Paejo
- Sari Rachmatika
- Satpam Bobo