Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-18-2003, 06:18 AM
|
#1
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
bad blocks on swap
i tested for badblocks on my swap partition
i got three of them
but hen i tested that partiton after formatting it on windows and surface scan also did not gave any error
again i made it my swap partition and again running badblocks gave the same blocks
pl. tell me what to do
|
|
|
05-21-2003, 02:45 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
Window's surface scan checks for the file system integrity on the file system it has built, Linux was actually polling the hardware to see what had come unstuck. Honestly, if the drive is within warranty: replace it. If its not, start making backups, you can run with a drive with badblocks for a while, but when the drive's internal BIOS is incapable of keeping the drive geometry intact one day, everything just unzips into a mess.
Cheers,
Finegan
|
|
|
05-21-2003, 08:31 PM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
if it's western digital, ibm, or maxtor, download
the low level formatter for the drive. depending on the
brand, you may have to lose everything to attempt to
fix the drive.
|
|
|
05-21-2003, 11:05 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Original Poster
Rep:
|
do we have a formatter in linux to format hard drive,mine is seagate
|
|
|
05-22-2003, 12:23 AM
|
#5
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
all those programs i was talking about were dos based.
i haven't seen one for seagate.
|
|
|
05-22-2003, 12:50 PM
|
#6
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Original Poster
Rep:
|
this low level format will erase the whole disk
what to do for only a partition
|
|
|
05-22-2003, 03:37 PM
|
#7
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
it just because of the formatter that comes with the brand. I
didn't know seagate even had one. drives have extra good
sectors in them, and the low level formatter marks sectors bad,
and uses good ones in their place, if it can. some brands low
level formatter's will just remap sectors and leave the rest of the
disk alone. other ones have to do the whole disk. you can't just
do a partition.
you could also just figure out where in the drive the bad sectors
are. there's probably just a few. i can't remember the output
of mkswap -c , but you could mke2fs -b /dev/hdxx, and remember
where the bad sectors are, then re partition the swap so it
doesn't include that area.
|
|
|
All times are GMT -5. The time now is 11:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|