A permanent data storage device used for storing and retrieving digital information using rapidly rotating discs (platters) coated with magnetic material in a rigid form factor (as opposed to floppy disks).

learn more… | top users | synonyms (1)

0
votes
2answers
64 views

What is the minimum size for the medium used to clone a damaged hard drive?

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The damaged hard-drive is 250GB, and I intend to use dd or ddrescue ...
3
votes
1answer
2k views

ddrescue extremely slow on USB hard drive

I'm recovering the HDD from my laptop that died (wouldn't boot up at all, Disk Utility reported that there were no problems, but wouldn't mount the disk). I've hooked up the HDD through the USB ...
1
vote
1answer
54 views

Is this method safe or recommended for moving a /home directory?

I have my linux install on a small disk. I want to put the home directory on a different hard-drive. I was thinking of using this and then this. Would this work? Is there a better way? Should I just ...
0
votes
2answers
304 views

How do I prepare Windows NTFS drives on Linux

I'm upgrading my windows desktop hardware and doing a clean OS install. I'm using SystemRescueCD to prepare my old drives for the upgrade. Long story short, a bit of an emergency, I coudln't do this ...
4
votes
2answers
3k views

Why is dd using direct slower writing to disk than to a file

I am trying to compare aggregate write rates when writing to a file in a GPFS file system, as compared to writing directly to a disk on a system with Red Hat Enterprise Linux Server release 6.4 ...
2
votes
1answer
38 views

Does the installation computer affect performance?

I recently installed Debian Wheezy onto a hard drive I later intend to connect to a different computer, though the computers use different brands of hardware. Will this work? Or am I setting myself up ...
0
votes
1answer
514 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...
3
votes
0answers
69 views

Which 'smartctl -d' option should I use on this hard-disk: 'scsi' or 'ata'? [duplicate]

On the back of How to repair a corrupted HFS+ partition?, I have separate question. I'd like to run smartctl tests on a hard disk, but I'm not sure which option I should use to correctly initialize ...
5
votes
3answers
26k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
1
vote
1answer
231 views

Removing failed disk from raid 1

my server (Debian Wheezy) has a failed disk. I have sda and sdb and according to the support of my hoster, sdb needs a replacement. I send them this information with the mdstat: ...
1
vote
2answers
7k views

Why might an external Hard Disk Run super slow?

I have an external Western Digital HDD (1gig) which is running very slow, 0.5 - 1mb per second. This is on a Mac Pro running the latest OS with all the patches. The HDD is connected via USB directly ...
11
votes
3answers
25k views

How can I benchmark my HDD?

I've seen commands to benchmark one's HDD such as this using dd: $ time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync" Are there better methods to do so than this?
5
votes
2answers
412 views

How do I check if a particular hard disk is dynamic?

What commands do I have to check the dynamic or basic type disk/volumes of the Windows partitions? Topic of interest because: Warning: Don't install linux on a Windows Dynamic disk! Bug Report: ...
1
vote
2answers
153 views

Debian: Create compressed Harddrive for copy

On my Debian system I have a box with certain configuration settings that I like but I've had to change them continuously. There have been times that I've gotten into a some-what irreversible ...
0
votes
1answer
115 views

where is the user content on a Mac OS X disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk (it's not yet clear if the FS is corrupted or the disk dying), but for the ...
6
votes
1answer
878 views

Why are there 2048 sectors of free space between each logical partition?

I know about the advanced format and setting 2048 free sectors at the beginning of a disk. But I just converted a partition table of my disk from MS-DOS to GPT, and I noticed this: Before: Number ...
4
votes
1answer
641 views

lshw lists my drive but it has no /dev file

Ive just got a dedicated server which has 2x 1TB HDD. However when I type df -h I get the following: [root@sd-56537 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 916G ...
0
votes
1answer
392 views

raid1: how to synchronize harddisks (Debian 6)

My system is Linux/Debian 6, using GPT (GUID Partition Table). If I run the command cat /proc/mdstat I see the following situation: Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] ...
0
votes
2answers
279 views

Safely using a hard drive dock

I just pick up an Ez-Dock HD dock 2535. It came with sparse instructions ( and as usual Windows centric ). Software wise ie mounting, syncing,unmounting is not a problem. Hardware wise though I am ...
2
votes
1answer
1k views

Hard disk spins down and up too frequently when on battery

I'm using Debian Wheezy No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.3 (wheezy) Release: 7.3 Codename: wheezy $ uname -a Linux debian 3.2.0-4-amd64 ...
2
votes
2answers
841 views

What is the most accurate way to measure disk read/write speed for an OpenVZ VPS host from within the host itself?

CentOS 6.x | OpenVZ I have an openvz VPS host and would like to measure disk read/write speed. Historically, on other physical systems, I've ran hdparm to collect this information. I haven't been ...
7
votes
3answers
15k views

How to check the life left in SSD or the medium's wear level?

We all know that SSDs have a limited predetermined life span. How do I check in Linux what the current health status of an SSD is? Most Google search results would ask you to look up S.M.A.R.T. ...
0
votes
2answers
201 views

Hard disk power management with image toggling in display

We have a system in which we almost toggle some display data in the screen 24 hours x 7 days a week. Since our application runs every day, we see some hard disk failures in the field. Unfortunately, ...
1
vote
1answer
39 views

Backup 'empty' parts of disk drive

I have a USB drive which has around 7MB of 'empty' space at its beginning. The first partition in MBR starts at 8225kB, according to Parted. How can I back up this space using something like dd? ...
2
votes
2answers
49 views

linux distro with generic hard drive naming

I manily use SUSE Linux, however it stores all device configuration and paths by ID (example: WD55844-Gh384) - which is a problem if I want to clone a disk then, replace it with a different disk. For ...
2
votes
2answers
319 views

Chromium with ~20 opened tabs freezes my laptop

As the title says, when I have about 20 opened tabs of Chromium I see the hard disk starts writing and everything start to freeze. I have to 'killall' Chromium. Previously I had installed ...
2
votes
1answer
459 views

Linux big disk partition issue

I have a big disk around 4.8 TB (RAID) and it has following partition (created by fdisk) [root@server1 ~]# fdisk -l /dev/sde WARNING: The size of this disk is 4.8 TB (4796404727808 bytes). DOS ...
1
vote
1answer
60 views

Bad blocks only with extension cord?

My external hard drive was acting strangely, so I ran badblocks, and it seemed that nearly every block was bad from the first minute I ran it. If I did badblocks -v > file, the file was over 100MB ...
0
votes
3answers
648 views

Software RAID 1 with dissimilar size and performance drives

Background I was experimenting with a home server setup in a small box I had that was supposed to be a media centre but never found much use. I installed CentOS 6.5 in a software RAID1 configuration ...
5
votes
4answers
2k views

enable SMART for HP hard disk

I would like to use SMART to perform a health check of my hard disk. I have an HP server of 4 years ago I believe. Everytime I try to use the following command smartctl -a /dev/sda I got an error ...
1
vote
0answers
68 views

Sound stutters during moderate disk access?

I'm running Xubuntu 13.10 "Saucy Salamander." It's a pretty recent install. I'm playing music over a bluetooth usb dongle on a home theater system. All of my sound goes through pulseaudio. I've ...
7
votes
2answers
6k views

Does a bad sector indicate a failing disk?

My Ubuntu 13.10 system has been performing very poorly over the last day or so. Looking at the kernel logs, it appears that the <1yr old 3TB SATA disk is having issues with a particular sector: ...
1
vote
1answer
158 views

Filesystem not showing correct size in Mac OSX

I installed a new HDD and transferred my old data to it by using dd on my old HDD and then dd again to the new HDD. However, when booting from the new HDD, it does not recognize the new, larger disk ...
1
vote
2answers
566 views

Hard disk drive disappeared

Yesterday I performed a hard-reset while Linux was booting. This led to a hard issue with the HDD (UNC while recovering journal). I had to use ddrescue instead of dd because dd crashed on I/O error. ...
-1
votes
2answers
569 views

How can I fill the free space with zeroes in Ubuntu 12.04 (ext4)?

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk (2TB). The size of this vhd is 360 GB. But the real size is about ...
1
vote
0answers
283 views

Make a USB drive bootable for Windows 7 setup

What is the equivalent of bootsect command available in Windows, on a *nix system? Usage: In order to make a USB drive bootable for Windows 7 setup I have to boot-up VMWare and run bootsect.exe ...
0
votes
2answers
134 views

Varing speed when reading sequentially from a HDD

I have just got a new HDD and I wanted to test the sequential read speed (the whole disk). I used: pv /dev/sda > /dev/null The disk is 500GB WD VelociRaptor (WD5000HHTZ). At the beginning the ...
3
votes
2answers
222 views

Are disks interchangeable in a mirrored RAID setup?

It is often written that disks in a mirrored RAID (like RAID 1) are an exact mirror copy one of another. So can I turn the machine off and simply swap the two harddisks cables? And if one of the two ...
3
votes
0answers
2k views

badblocks and “end_request: I/O error” in output

I have 500GB disk in my toshiba laptop, I tried to do backup of files in this HDD but it failed few times (ubuntu just closed copying operation or unmounted disk during copying files). So I boot my ...
2
votes
2answers
92 views

How to copy a very large video file with error in it?

I have a very large video file on a USB external HDD. It is about 13GB. I can play the video directly, and it seems there's no problem. But if I try to copy the file to other places, I got a strange ...
3
votes
1answer
4k views

recovery data from RAID and disk failure (Linux)

Some background A friend of mine was using in his office a NAS Buffalo-LS-WVL with two disks of 1TB each. It seems that the two disks were mounted as raid 1, but, as you will read, probably they have ...
1
vote
1answer
933 views

Renaming a Hard Drive

I have a secondary internal HDD to store auxiliary data. I want to give it a better name. How do I do it?
1
vote
1answer
158 views

How can I unlock a self encrypting disk using an sata usb adapter

Suppose I plug in a self encrypting disk (for example the samung 840 pro) via a sata usb adapter to a linux-box. Suppose I know the password. How can I access the hard-drive in this case?
11
votes
7answers
2k views

Can I label a disk device rather than a partition?

I know about the e2label and friends program for attaching a label to a disk partition e.g. e2label /dev/sda1 bla What I want to do is something different: I want to create a label for a hard ...
0
votes
1answer
831 views

How do I install Debian onto the same physical hard disk that the installer files are on?

I need to somehow copy the installer to hard drive (local disk), so that I can plug this prepared hard drive to another computer, boot the installer from hdd and install it (on same hdd). Example: ...
0
votes
1answer
2k views

Server down and require manual fsck. I saw this error in dmesg

I saw this in dmesg. What does it mean? EXT4-fs error (device sdb1): htree_dirblock_to_tree: bad entry in directory #763 3575: rec_len is smaller than minimal - ...
4
votes
2answers
540 views

List all the ways a block device is in use

I want to be sure that a removable hard drive (USB, but this shouldn't matter) is safe to remove. Let's say this drive is sdb. Obviously I need to make sure that there is no mounted filesystem on ...
1
vote
2answers
3k views

Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?

Problem: Since about one week ago, my Ubuntu system encounters various severe and strange problems. Sometimes the whole system suddenly freezes. I have to push the power button to shut down the ...
2
votes
0answers
97 views

Resize /home on CentOS vmware guest

I have a new vmware guest, let's say I want to extend it from 100 GB to 300 GB My question is how to insert all the 200gb into /home? Where can I start? df -h displays:
2
votes
1answer
490 views

input/output error that come back just fine. How to make sure it doesn't happen again? [duplicate]

root@host [/backup/2013-08-15/accounts]# cd /home1 root@host [/home1]# ls /bin/ls: reading directory .: Input/output error root@host [/home1]# Suddenly /home1 doesn't work. It used to work just ...