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)

2
votes
1answer
40 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
861 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formatted 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
71 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
52k 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
277 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: http://pastebin.com/...
2
votes
2answers
15k 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 ...
25
votes
3answers
66k 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
766 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
256 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 position....
0
votes
1answer
139 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 ...
7
votes
1answer
2k 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
1k 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
546 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
546 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
2k 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
1k 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 ...
15
votes
3answers
34k 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
285 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
54 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? I'...
2
votes
2answers
51 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 ...
3
votes
2answers
463 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 google-...
2
votes
1answer
712 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
72 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
1k 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
3k 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
1answer
93 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
3answers
10k 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
197 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 ...
2
votes
2answers
1k 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
vote
0answers
543 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
215 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
281 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
3k 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
160 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
5k 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
3k 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
213 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?
14
votes
7answers
3k 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 drive,...
0
votes
1answer
2k 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
4k 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 - block=...
4
votes
2answers
952 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
4k 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
127 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
835 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 fine....
24
votes
5answers
29k views

Differences between volume, partition and drive

What do these terms mean exactly? partition volume drive On Windows, one may say drive C: or partition C:. On Linux I'm not sure what should be used for partitions because they don't have a name.
0
votes
4answers
1k views

Align Partition Of HDD Using fdisk?

I first asked this question on SuperUser.com but got no responses. I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any ...
2
votes
0answers
477 views

System cannot boot, continiously scanning btrfs filesystem

On the previous boot I installed HAL to make amazon prime video streaming work, which it did (mostly), but after reboot the system could not pull itself up all the way to BASH and drops to a failed ...
9
votes
2answers
12k views

How to check drive temperature on Linux?

I have used of hdparm -n and smartctl -A but it always seem to be a "per drive" technique as a drive may answer for only one of these tools. So, is there a standard way to get the drive temperature ...
2
votes
0answers
2k views

find ount what [flush-8:0] is writing

Using iotop, I found out that [flush-8:0] is doing a lot of hard disk activity, which explains the annoying slowdowns. However, I can't figure out what's the actual cause behind this flushing. No ...
4
votes
2answers
2k views

Does the order of partitions matter much?

I've just ran a test install of Arch on a separate computer, and now I'm ready to do the real thing on my main one. However, since the guide didn't explicitly recommend it, I did not install with a ...