Ubuntu :: Badblocks Reading Drive Too Quickly?

Sep 11, 2010

I'm running badblocks on some new disk drives just to be safe before my return period expires. I'm running the command

Code: sudo badblocks -b 4096 -p 4 -c 65536 -w -s /dev/sdb1 on an empty partition taking up the entire device. I am getting the following output:

[Code]...

1) When it gets to the "reading and comparing" phase, it seems to complete in <1s. I see other posts where people say this takes them as long as it took to write to the drive. I don't see any mention of this being quick, so I'm just afraid that badblocks is being denied read access or something.. Anyone familiar with this behaviour?

2) Obviously since it is on a sixth pass, badblocks thought that it found new bad blocks on the second pass (or later). When I check SMART, though, the drive has not re-allocated anything (despite having plenty of spares)... Doesn't this seem odd? Is there some reason why the disk would not step in upon a write fail? In fact, I thought a write fail should be transparent... Which makes me wonder if question 1 (above) is causing this...

View 1 Replies


ADVERTISEMENT

General :: Removing All Hard Drive Data Quickly

Feb 20, 2011

I'm looking for a way to quickly remove all data/partitions/boot records from my hard drives while running linux (distribution is irelevant). There are lots of ways to do this that I know of, but they all have some problems. Here's a list of what I've tried/thought of already. The most obvious is fdisk: Simply delete all the partitions. This usually works just fine and is very quick, but there are times it just doesn't....I'm realy not sure what gets left behind...I remove the MBR as well..but whatever it is, it's in the way. A couple other options are:

dd if=/dev/zero of=/dev/sdb bs=1M
shred -vfz -n 1 /dev/sdb

Both of these approaches are great if you're selling the components and want to make it very difficult for anyone to recover data. The draw-back is they take so very long to run. I've got four 1.5 TB drives that I've been writing zeros to for 2 days now. If you thought watching grass grow or paint drying was boring. A hundred years ago or so, when I was doing tech support for Windows 95 users we used this nifty dos-based debug script to wipe the hard drive. It was sort-of a last resort thing, but it worked beautifully, most of the time. If the customer had already formated, fdisked, fdisk /mbr, reinstalled Windows, but still couldn't get the thing to work, this would clean the drive so you could do a fresh install.

Just in case someone wants this, I'll post it. To use: first boot to some type of DOS environment in which you have the program "debug".

debug
-F 200 L1000 0
-A CS:100
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80

NOTE: Type 80 for the primary hard drive - HD 0,
or type 81 for the secondary hard drive - HD 1.
In most cases, the primary hard drive is required 80.

xxxx:010C INT 13
xxxx:010E INT 20
xxxx:0110 (Leave this line blank. Press the <Enter> key to continue.)
-G

The message Program terminated normally appears. How to do something like that while running linux?

View 9 Replies View Related

Fedora Installation :: FC10 On Laptop LG ED500 - CD In The DVD Drive Stopped Very Quickly

Mar 8, 2009

I met problems when istall FC 10 on LG ED 500. I put the installation CD in the DVD drive, and start the computer, but it stopped very quickly. I didn't even see the progress bar of Fedora 10 coming out of the screen. What happend? I have checked the DVD drive under the windows system, and it's working.

View 1 Replies View Related

Hardware :: USB Thumb Drive Connect With Computer - Quickly Change What Was On Screen

May 9, 2010

Can Linux emulate a USB disk? Why would you want to do this you ask? Say you have a digital picture frame that uses a USB thumb drive you could connect your computer to it and quickly change what was on the screen. I realize you need some special hardware for this as both the PC and the frame would want to be USB masters. But there are USB transfer cables you can buy on-line that do USB master to master connections.

View 4 Replies View Related

General :: 2TB HDD And Badblocks ?

Jun 18, 2010

Not sure where else to put this, but has anyone else ran the badblocks command on a 2TB drive? I've been running it as follows:

badblocks -wvs /dev/sda

This is a brand new drive and apparently the "Testing with pattern" stage went by pretty quick, however now I'm on the "Reading and comparing" stage and it's taking forever. Every so often it lists off a rather large number followed by the time elapsed.

At the same time I'm running badblocks on an older 200GB drive with bad sectors and it's already on the 2nd pass with no similar listing as the new drive. According to dmesg I'm getting these messages:

Code:

View 9 Replies View Related

Hardware :: Badblocks Hanging / Not Working... On Corrupted Disk [data Still There Inside]?

Oct 3, 2010

this sector 36017793 is dead visibledd is not working althought

Code:
f, sector 36017793
[ 598.463416] Buffer I/O error on device sdf9, logical block 0

[code]....

View 4 Replies View Related

Ubuntu Installation :: Drive Quits Reading Live CD?

Oct 30, 2010

I decided to install Maverick on another PC in the house. I downloaded and burnt the 10:10 live CD three weeks ago and installed it on my laptop without problem.

Now when try to install on this it read the CD as first boot device, goes to the language selection, and then the "try without installing/Install/check disk" etc. I select either "install" or "try without installing" and after s few seconds the drive spins down and thats it...nothing more happens.

I know the CD's fine as I already installed with it and the PC in question currently has a working version of Karmic on it. PC is an Acer L100 and the CD is the 32 bit version.

Update: After posting this I've played around a bit more. It seems most attempts it doesnt want to read the Live CD at all. After trying to boot from it and displaying the copyright line "isolinux..." it jump straight GRUB and boots my present OS. I've just tried the Karmic CD too and the same thing is happening. So maybe points to a problem with the CD drive??

View 7 Replies View Related

Fedora :: CD-ROM Drive Not Reading Contents?

Sep 28, 2009

How do I get my CD-ROM drive to read its contents? I am trying to read a music cd and it won't show in Dolphin or in other OS windows. I am using F10KDE.

View 3 Replies View Related

Hardware :: DVD-RW Drive Not Reading Discs?

Apr 22, 2011

Installed Ubuntu 10.10 this morning from CD, downloaded all the latest updates. But when I put a CD or DVD in the drive, I can't access any of the data. Disk utility recognises that the drive is there, but it says "No medium detected".

Disk utility recognises it at /dev/sr0 so I added a line to fstab

/dev/sr0 /mnt/dvd udf,iso9660 user,noauto,exec 0 0

but made no difference

View 3 Replies View Related

Ubuntu :: Nautilus Crashes When Reading External Hard Drive?

Jan 12, 2010

Earlier tonight my computer froze when I was moving some folders on an external hard drive (ntfs) and I had to manually shut down. Now nautilus crashes whenever I try to access the drive, although if I open nautilus as root it works fine.

View 2 Replies View Related

Ubuntu Servers :: Replaced DVDRW Drive Not Reading Disks?

Feb 25, 2010

I just replaced a DVD-RAM drive in one HP server, The drive is recognized by the OS:

Code:
# lshw -class disk
*-cdrom UNCLAIMED
description: SCSI CD-ROM
product: DVDRAM GSA-T50L

[Code]...

Is there anything I should do when replacing a drive? Didnt think so, but this is going nowhere.

View 3 Replies View Related

Ubuntu :: Mounting Blank CD Error / Stopped Reading Any CDs In Drive?

Dec 12, 2009

I got an ISO from a friend and it's been sitting ontop of my desktop for ages now, and I'm not able to burn it because for some reason, Ubuntu has stopped reading any CDs in my drive.

G.B. on burning it:
Code: scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
code....

View 6 Replies View Related

Debian :: Reading An External NTFS USB Drive?

Feb 1, 2010

I've installed libfuse2 and ntfs-3g. Now when I reboot, the drive shows up in fdisk. In Gnome File system, the folder shows up in /media as /media/Storage. I didn't issue the mount command, it went there automatically. In terminal, I can access Storage and read/write to files on it. BUT, if I double-click the folder in Gnome, I get a brief glimpse of all the folders in Storage, then they disappear and the drive unmounts. The desktop icon goes away, and I can't see it when I issue sudo fdisk -l. I can get it back with a reboot. I've tried an entry in /etc/fstab, but that makes no difference. I didn't find anything specific to address this on this forum or after Googling.

View 4 Replies View Related

Debian Multimedia :: KDE Reading Too Much From Network Drive

May 2, 2015

I have a server set up with Samba. On the desktop side I use KDE. I can clearly track intensive smbd activity, being the first on the iotop results page. Another thing is that after reading from the server's HDD, it seems to write on the desktop's SSD. It does this intermittently.I really want to know how can I stop this. It's very annoying and I bet I don't need it since, using previous versions of Debian, I could go well without this activity.

View 2 Replies View Related

Debian Hardware :: The Drive Isn't Reading Discs?

Jan 28, 2010

The drive isn't reading discs. Dmesg says PIO255(auto-tune) requested, PIO4 selected, UDMA33MHz.

An inexpensive drive with many failures noted on Google.

What command would I enter in grub following "ro quiet" to change the mode?

View 5 Replies View Related

Fedora Installation :: Cannot Boot Into KDE4 - Reading From CD ROM Drive

Jun 22, 2009

I just downloaded the Fedora11 LiveCD and booted it......it boots, but when it starts to load KDE, it takes a very long time, and it never ends. It just keeps on reading from the CD-ROM drive. I can see the GUI is loading, but the loading time is so long that the mouse sometimes freezes. My Config is 512MB of RAM and 2 IDE Hard Disks. Also note that I verified the image with SHA256, and even burnt the CD at two different speeds, one at 48X and the other at 16X. Still nothing. There has also been severe kernel panics on EXT4.

View 2 Replies View Related

Fedora Hardware :: Reading Old SCSI SCO Unix Drive?

May 17, 2011

I need to read some data from a hdd that belongs to an old SCO Unix system. The SCSI card is PCI so I unplugged it from the old SCO unix box and stuck it in a new computer and booted using a Fedora 14 USB pen drive. The SCSI card was recognized and so was the hdd but it was not mounted. I then went into Applications, Disk Utility, and found the hdd. Under 'Edit Partition' the type was blank. I was tempted to set it to 'Extended' but was not sure whether that could damage the data on the disk. Does anyone know whether I would be able to read this Hdd by setting the type to 'Extended'?

View 5 Replies View Related

General :: Reading The Manufacturer Data / Device ID On A USB Drive?

Jun 28, 2011

I wish to read the Manufacturer data and other details such as Device ID, Serial number on a USB drive.

1. Could anyone help me out with information on the memory structure of a USB drive? (which location is the mnfr data stored?)

2. Are there are any commands in Linux that will help in reading/accessing this data?

View 3 Replies View Related

Software :: Corrupted Font After Reading The 1st Sector From An USB Drive Using Dd?

Mar 18, 2010

I wanted to check the first sector of my USB stick, and so I issued:dd -if=/dev/sda -bs=1024 -count=1It showed me all the weird characters from the data, then after it executed my bash prompt became corrupted with the same kind of characters! Also, everything I typed was like that. (see the picture)Luckly, it was just that tty that became like that.How can I fix the fonts after something like that happens, and how to prevent it from happening whenever I use dd again?

View 4 Replies View Related

Slackware :: Reading Cdrom And External Drive In Dolphin?

Jun 12, 2010

I inserted a disc and tried to access it through Dolphin. It shows up in the directory explorer thing as a disc and with the disc name, but it has a little / thing in the bottom corner of the icon, and when I try to access it, it gives me this long error on the bottom of the file area (can't remember what all it said, something about 'harvey' and being unable to find the directory in /etc/fstab). The same thing happened with an external drive, which seemed to work fine before but now has the same problem.

View 5 Replies View Related

CentOS 5 Hardware :: Replaced DVDRW Drive Not Reading Disks?

Feb 25, 2010

I just replaced a DVD-RAM drive in one HP server running CentOS5 (2.6.18-164.11.1.el5PAE #1 SMP )

The drive is recognized by the OS:

# lshw -class disk
*-cdrom UNCLAIMED
description: SCSI CD-ROM
product: DVDRAM GSA-T50L

[Code].....

View 2 Replies View Related

Hardware :: USB Hard Drive Not Reading / All Files And Folders In Partition Disappeared?

Jun 23, 2011

I have been backing up onto a 60G ext2/3/4 partition on a 1TB external USB hard disk for a year or so now and have built up a few folders of .thunderbird, .mozilla, and other assorted files - using this as my standard "backup system" - but suddenly all the files and folders in this partition seem to have disappeared.

In Gparted and KParted the partition shows up as the correct size with the correct amount of "used space" (= yellow coloured portion), as it does when running offof any CD/standalone OS. And the small bars under the volume names in Dolphin show about the right amount having been "used" too.But however I try to access this partition (or, to be correct LVM I spose:-)) it still always comes up as empty - ie 0 files in it. After months of working just fine.The NTFS partition on the same external USB sdd reads and writes quite OK/normally and also shows the correct amount of "used space" - but even from root I can't see any of the old files in, or read/write to the linux one. It comes up with "Denied"/"Can't Write to.." errors when trying to write anything to it.

I ran a freeware utility called DiskInternals Linux-Recovery from winDoze which, after half an hour, came up with a list showing all the folders and files in the partition. It said that they would be written back onto the hard drive that they were "retrieved" from - but no change happened - still no contents showing when booting up in any linux.

Running a clean install of FedoraCore14 on an AMDAthlonx2 5000 (= 2.6G true) on an ASUS M2N-MX SE PLUS m/b with 2G of RAM

View 10 Replies View Related

Ubuntu Networking :: Broadcom On 2.6.34 - Reinstall Error Code: Reading Package Lists ... Done Building Dependency Tree Reading State Information

May 20, 2010

i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...

[Code].....

View 9 Replies View Related

General :: Why Is Reading A FILE Faster Than Reading A VARIABLE?

May 4, 2011

I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):

perfVar.zsh :

#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}

[code]...

Performance test result:

> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total

I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?

View 3 Replies View Related

Ubuntu Multimedia :: Everything Plays Back Too Quickly

Feb 12, 2010

when i play a song in banshee, or a videos video, i get no sound at all. however, in banshee 1 3 minute song will appear to play in about 20 seconds (the progress bar speeds along), and videos videos play back in ultra-fast motion with no sound. weirdly, when i go to system settings -> multimedia, and click test on the default sound device, the kde login sound plays back fine. this worked when i first installed; does anyone know what's going on here? i think it may be a problem with gstreamer?

View 1 Replies View Related

Ubuntu :: Laptop Battery Dies Very Quickly?

Aug 22, 2010

Over the past few weeks I've noticed that my laptop battery is dieing VERY fast. I have no idea what is causing this, and I haven't changed anything.

View 6 Replies View Related

Ubuntu :: View 11.000 Text Files Quickly?

Oct 13, 2010

I need to view 10.858 text files by this friday to see which ones I need (searching file contents is not a solution), I was wondering if anyone knew any way/program to quickly view them as if they were, for example, images? And, optionally, to be able to save them to a different location from there? It doesn't necessarily have to be for Ubuntu as I also have WinXP and Vista, but it would save me having to transfer those couple of gigabytes to another computer.

View 3 Replies View Related

Ubuntu :: Logout Messages Disappear Too Quickly?

Nov 26, 2010

Ubuntu 10.04 - when I logout I get screenful (at least) of messages all with the same format. They disappear too quickly to see what they're about. I've looked at the logs but can't see anything like what I see on the screen. Is there any way I can find them?

View 2 Replies View Related

Ubuntu :: HP Computer Heating Up Really Quickly For No Reason

Jun 21, 2011

I bought a new Hp Pavillion DV6T. For the most part, everything worked right out of the box with ubuntu, but the computer seems to be heating up really quickly for no reason whatsoever even if I'm not doing anything intensive. Why this is happening. The fan always seems to be running at full blast. I logged onto windows for a minute to see if there was any difference in heating between the two OSs and windows seems to run much cooler and much more quiet. On a side note I'm thinking of returning the HP and buying a dell XPS 15. I hear they are more compatible with ubuntu and are better built.

HP Pavillion DV6t
ATI Radeon 6570 1 GB graphics card
Intel I7 2.0GHZ quad

View 9 Replies View Related

General :: Add Many Individual IPs Quickly?

Jan 26, 2011

We have quite a few SEO clients who require multiple IPs which are all from different class c allocations. (10 - 50 IPs) used for projects lasting weeks to months at a time. Since we don't have connected IPs in ranges we can't use the range scripts but I don't know of a way to easily add a long list of individual IPs. These are CentOS servers, by the way

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved