[help] BAD SECTOR

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
mus_theleader
Posts: 64
Joined: 12 Dec 2011, 18:25
Location: Purwokerto, Indonesia
Contact:

[help] BAD SECTOR

Postby mus_theleader » 18 Jan 2012, 14:53

gan, Hardisk ane kena bad sector, gimana ngatasinya di linux??

thanks gan...
User avatar
bampow
Posts: 2
Joined: 22 Nov 2011, 14:58
Location: indonesia

Re: [help] BAD SECTOR

Postby bampow » 18 Jan 2012, 16:18

coba gabung di grup ini gan. https://www.facebook.com/groups/175886282457075/
baru agan nanya dah disana... hehehe
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: [help] BAD SECTOR

Postby ilham2930 » 21 Jan 2012, 10:24

@bompow: ups..back to rule masbro..!!

@mus: pake badblock mas
$ sudo su
# lshw -C Disk (list berdasarkan class disk)
# badblocks -svn /logiacal mount disk yg bad
// misal
# badblocks -svn /dev/sda

Tunggu sampe kelar mas..!!
semoga membantu
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [help] BAD SECTOR

Postby thrvers » 21 Jan 2012, 19:54

'
kak ilham2930, lanjutannya bagaimana lagi? :penasaran:

man badblocks - search a device for bad blocks
(disana tertulis buat mencari blok yang bad)

CMIIW - THX
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: [help] BAD SECTOR

Postby ilham2930 » 24 Jan 2012, 09:35

Om thrvers, iy sih ada kelanjutannya, badblock cuma scan aja..
mungkin bgini case studynya..!!

pertama2 scan hd bad, dan generate hasil hasilnya dgn nama bad-blocks;

Code: Select all

$ sudo badblocks -v /dev/hda1 > bad-blocks

kemudian bisa gunakan fsck di combine dengan hasil badblocks

Code: Select all

$ sudo fsck -t ext4 -l bad-blocks /dev/hda1

semoga membantu..
CMIINT
User avatar
CDX
Posts: 1616
Joined: 03 Jan 2010, 13:00
Location: Prapatan belok kiri

Re: [help] BAD SECTOR

Postby CDX » 24 Jan 2012, 11:38

ini wat deteksi bad sector atw mbenerin bad sector broo...???:smile:
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [help] BAD SECTOR

Postby thrvers » 24 Jan 2012, 19:00

'
ilham2930
Om thrvers, iy sih ada kelanjutannya, badblock cuma scan aja..
mungkin bgini case studynya..!!

pertama2 scan hd bad, dan generate hasil hasilnya dgn nama bad-blocks;

Code: Select all

$ sudo badblocks -v /dev/hda1 > bad-blocks

kemudian bisa gunakan fsck di combine dengan hasil badblocks

Code: Select all

$ sudo fsck -t ext4 -l bad-blocks /dev/hda1

semoga membantu..
CMIINT

terimakasih kak ilham2930 sepertinya sudah komplit :D

fsck - check and repair a Linux file system

-t : Specifies the type(s) of file system to be checked.
-l : Lock whole-disk device by exclusive flock(2).

THX
User avatar
mepro
Posts: 32
Joined: 11 Mar 2012, 12:17
Location: Bogor

Re: [help] BAD SECTOR

Postby mepro » 24 Mar 2012, 21:54

broo.. ane juga kena bad sector nih...

ane udah scan pake perintah gini :
sudo badblocks -v /dev/sda > bad-blocks
nah udah kedetect tuh 5 badblocks..
trus pas ane jalanin sudo fsck -t ext4 -l bad-blocks /dev/sda
muncul kaya gini :
root@herwin-Aspire-4530:/home/herwin# sudo fsck -t ext4 -l bad-blocks /dev/sda
fsck from util-linux 2.19.1
Usage: fsck.ext4 [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device

Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list


trus ane ikutin petunjuk usage tuh, jadi ane rubah perintahnya jadi gini : sudo fsck.ext4 -l bad-blocks /dev/sda

trus jadi begini :
root@herwin-Aspire-4530:/home/herwin# sudo fsck.ext4 -l bad-blocks /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sda
Filesystem mounted or opened exclusively by another program?
root@herwin-Aspire-4530:/home/herwin#


gimana nih broo ??
ane udah jalanin lewat CLI, sama juga kaya gitu.. mohon bantuan :)
User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: [help] BAD SECTOR

Postby Nexus » 24 Mar 2012, 23:24

sudo fdisk -l

sudo badblocks -s /dev/sda


>>>smoga bisa membantu
User avatar
mepro
Posts: 32
Joined: 11 Mar 2012, 12:17
Location: Bogor

Re: [help] BAD SECTOR

Postby mepro » 25 Mar 2012, 13:32

Nexus wrote:sudo fdisk -l

sudo badblocks -s /dev/sda


>>>smoga bisa membantu


ini buat scan lagi yaa mas ???
kalo iya, kan tadi ane udah scan, trus udah di taro di bad-locks...
User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: [help] BAD SECTOR

Postby Nexus » 25 Mar 2012, 15:37

pas proses scan disk ada masalah nggak bos??
User avatar
mepro
Posts: 32
Joined: 11 Mar 2012, 12:17
Location: Bogor

Re: [help] BAD SECTOR

Postby mepro » 25 Mar 2012, 16:36

pas make perintah kaya gini
$ sudo badblocks -v /dev/sda > bad-blocks
ga ada masalah mas pas scannya..
nah udah selesai scan, ada tulisan 5 badblocks...
gimana mas ???
User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: [help] BAD SECTOR

Postby Nexus » 25 Mar 2012, 19:22

coba diulang dengan..

sudo badblocks -s /dev/sda

>>> abis itu check di Disk-Utility, klik bagian harddisk-nya. kondisi harddisk gimana??.

keterangan >> SMART Status ??? (hijau=healthy / baik2 saja).
User avatar
aptfast
Posts: 3847
Joined: 03 Jan 2010, 23:38
Location: Jakarta, Indonesia
Contact:

Re: [help] BAD SECTOR

Postby aptfast » 25 Mar 2012, 19:51

thread sangat membantu
mantap :D
User avatar
mepro
Posts: 32
Joined: 11 Mar 2012, 12:17
Location: Bogor

Re: [help] BAD SECTOR

Postby mepro » 25 Mar 2012, 23:38

udah ane ulang scan gan...
pake perintah sudo badblocks -s /dev/sda

hasilnya:
Checking for bad blocks (read-only test): 149650560one, 46:22 elapsed
149650604one, 47:20 elapsed
149650605one, 47:39 elapsed
149650606one, 47:59 elapsed
149650607one, 48:19 elapsed
done


nah trus ane check di disk utility..
hasilnya :
Tampilkan
Image
Image



gimana mas??
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: [help] BAD SECTOR

Postby ilham2930 » 26 Mar 2012, 08:21

root@herwin-Aspire-4530:/home/herwin# sudo fsck.ext4 -l bad-blocks /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sda
Filesystem mounted or opened exclusively by another program?
root@herwin-Aspire-4530:/home/herwin#


klo dari pesannya itu drive sedang di mount, jadi bisa di umount terlebih dahulu, atau gunakan boot cd..!

recomended boot cd bisa pake partedmagic disitu sudah tersedia semua tools untuk kebutuhan emergency..!!
User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: [help] BAD SECTOR

Postby Nexus » 26 Mar 2012, 19:11

apa ada masalah pemakaian ubuntunya pas hdd kena bad sector???.
User avatar
aptfast
Posts: 3847
Joined: 03 Jan 2010, 23:38
Location: Jakarta, Indonesia
Contact:

Re: [help] BAD SECTOR

Postby aptfast » 27 Mar 2012, 09:35

Nexus wrote:apa ada masalah pemakaian ubuntunya pas hdd kena bad sector???.


pengalaman, awalnya berasa lemot
tiba2 hang, setelah restart ga mau login
cek fsck, ketemu banyak semut nya :D
User avatar
Nexus
Posts: 2957
Joined: 26 Feb 2011, 12:39
Location: Ujung dunia

Re: [help] BAD SECTOR

Postby Nexus » 27 Mar 2012, 11:23

kalo nggak ngaruh dlm penggunaan ubuntunya, dicuekin ajalah.

ada 2 kemungkinan, bad sectornya itu cuma akibat dari masalah software, bisa juga masalah hardware.

- kalo masalah software, cukup diformat aja hdd-nya (jangan lupa diback-up data2nya sebelum diformat).
- kalo masih gak sembuh setelah diformat n penyakitnya masih sama, berarti masalah hadrware. kalo masalah hardware, siap2 di almarhumkan hdd-nya. jangan pelit2 buat beli hdd baru/second :laugh:

solusi:

> hhd dicopot/dilepas n booting pakai live cd / live usb ubuntu. kalo bisa, berarti hdd yg bermasalah.
>> nggak tau kalo nggak dicoba :laugh:
User avatar
rifu
Posts: 41
Joined: 28 Jan 2012, 21:27
Location: Bekasi, Indonesia
Contact:

Re: [help] BAD SECTOR

Postby rifu » 19 Feb 2013, 14:03

sangat bermanfaat mas bro ijin sedot :)

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 5 guests