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
0answers
47 views

Lost a directory and all files in it (ext4 filesystem in USB internal HDD after resume), can i find them back? and why this happened? [closed]

I lost a directory and all files in it today. Computer: ASUS TX300 notebook. 1 SSD on screen side, 1 HDD on keyboard/dock side. the screen is detachable from the keyboard/dock, the HDD is an USB ...
1
vote
1answer
269 views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
3
votes
3answers
147 views

equivalent of `grep -a /dev/sda1` on Darwin?

I want to run something like % sudo grep -i -a 'some-string' <drive device> On Linux, <drive device> would be something like /dev/sda1. How can I find the equivalent on Darwin? (In ...
2
votes
1answer
394 views

jdb2 keeps Hard Disk busy all the time

My system became too slow last few days. The hard disk indicator is on all the time. To discover which process is keeping the disk busy i run this command: # while true; do date; ps auxf | awk ...
0
votes
1answer
414 views

How to change hard disk spin-down time on my WD MyBook Live?

I have a 2TB Western Digital MyBook Live. It works quite well and provides a web-based administration interface. There is an option to either enable or disable power saving mode, which spins down the ...
2
votes
2answers
53 views

Is reading a file on UNIX faster than writing a file?

Sorry for the sheer simplicity of this question. A rather obtuse performance bottleneck has boiled down to this very small query. I have done some empirical analysis and I think I might be getting ...
3
votes
3answers
956 views

Recommended fstab settings

I made a new partition for my home drive by following this guide I have no idea what the fstab setting it suggests mean: UUID=???????? /home ext3 nodev,nosuid 0 2 I ...
1
vote
2answers
58 views

Secure the content of a hard disk

I have to prepare a computer to give away, and I do not know who is going to use it. The computer has Debian installed, and the HDD is entirely encrypted. All users have their storage on the server. I ...
3
votes
1answer
757 views

Fedora installer doesn't see my Windows 7 partitions

I tried to install Fedora 17 on the same disk I have Windows 7. First I got the message, that there are no free space to create partition, even in Windows part of disk was marked as unallocated. I ...
2
votes
1answer
26 views

Hard Drive Crash / Gparted Error or Something Else

Well, I had my hard drive crashed some weeks ago. My Ubuntu (14.04) automagically froze and after the moment I pressed the restart button, and it prompted me with busybox prompt. I tried booting with ...
0
votes
3answers
39 views

dd write vs read performance

I have recently done some performance tests on a new server (using dd) and wonder why read performance is so much worse than write performance? Shouldn't it be another way around? file size was in ...
1
vote
2answers
410 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 ...
0
votes
0answers
22 views

Discovering possible RAID configuration of a bunch of disks

I have a stack of 8 disks which were at one point all inside of one host. That host no longer exists, but it's been requested that I retrieve data from these disks. No one can tell me anything about ...
2
votes
2answers
460 views

Cloned VirtualBox CentOS disk is unbootable after cloning in GParted

I cloned and enlarged an existing virtual CentOS-6 disk by the following steps: Create 15GB virtual disk and mount the old and the new disks in GParted. In GParted copy boot, swap and ext3 ...
4
votes
1answer
398 views

Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
1
vote
1answer
17 views

Can I split a disk image and run Photorec on each part individually?

I'm running Photorec on an external HD connected via USB and it's taking too long, with the estimated remaining time constantly increasing. Is there a way to create a disk image from that external ...
4
votes
2answers
7k 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). ...
3
votes
2answers
1k views

Copying Linux NFS files to a standard consumer external hard drive

I am a graduate student and a relative Linux novice. My institution has an in-house Linux cluster on which I run many scientific simulations. I have a Windows desktop computer from which I access ...
0
votes
0answers
15 views

Proper file system for an External Hard Drive to work well on Linux [duplicate]

I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux. Thanks.
0
votes
1answer
27 views

Point folder on main HDD to newly mounted 2nd HDD

What is the best way to point a folder in one of my websites directory to a folder in a second HDD I just had installed? I see things about fstab and symlink but am lost at what is the best way to do ...
6
votes
2answers
127 views

Reduce bad block retry / wait times in Ubuntu

How can I reduce the IO wait time and retry times so that the OS doesn't continually try to write to a failing drive? I have an system that I use to make copies of demo content that gets loaned out ...
5
votes
3answers
1k 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?
3
votes
2answers
66 views

Can I partition around a bad block on a harddrive?

I used a computer too much, running a script for many weeks. Eventually, Debian printed a thousand errors and shutdown, and won't start again. When I ran DBAN on the drive, to write 0's to the disk ...
-1
votes
0answers
56 views

Sum of all files does not add up to used disk space. Why?

A big folder on my external hard drive is missing and I am trying to find out where it went. When looking at the properties of my volume I found this weird difference between the sum of all files and ...
4
votes
1answer
207 views

Partially overwrote /dev/sda, can I recover anything?

I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to ...
1
vote
0answers
21 views

How can I unveal files on my external hard drive?

I copied a big folder (around 110 GB) from my (Mac 10.7.5) computer onto a hard drive (exFAT). It took quite some time and afterwards I even checked that the files were actually there. After more ...
0
votes
1answer
22 views

Recovering a (not yet created) RAID5 with URE (Unrecoverable read errors)

I wan't to create a RAID5 array at home, the OS is Linux (Kernel 3.15.7) and the array will be created with mdadm. I wan't to create the array with eigth or ten 1TB discs. Let's assume a single drive ...
2
votes
1answer
63 views

Debian Wheezy live - gparted, dmsg, fdisk etc. do not detect local hard drive but it is shown during installation

Yesterday I finished backing up my data and it was time to wipe that HDD of mine for good and freshly install Debian Wheezy stable with Xfce as a WM. I've booted into a live session to see if things ...
0
votes
1answer
33 views

How to use a USB device instead of a hard drive

Recently I setup a webcam that uses ftp, which uploads the current frame every 0.33 seconds. This creates thousands of images on my hard drives. I have a daily cron job deleting anything past 10 days ...
0
votes
1answer
33 views

Prevent linux from auto scan and mapping partitions on some disk [closed]

TL;DR Linux scan disk (for example /dev/sdc) and add files to address partitions on that disk (for example /dev/sdc1) - how can I tell Linux to not do that for some disk? Long story: I used VM ...
1
vote
1answer
27 views

How to decrease the time the processes would wait (blocked) for disk reads (only to discover an error)?

Waiting too long when encountering an unreadable sector on a disk is really very annoying. (Especially if you are trying to read as much data as can be read from a disk with bad sectors, and do it ...
3
votes
1answer
59 views

Error creating ext4 file system

Recently I purchased a Cubietruck Cubieboard 3, and I'm trying to copy Lubuntu server from the builtin NAND memory to a hard disk. I can create a partition successfully, but when I go to format the ...
1
vote
1answer
22 views

How to detect exact spec of my disk on a cloud server?

I've already read a question about whether your disk is SSD or HDD. When I issued the below command I've got surprised: cat /sys/block/vda/queue/rotational The output was 1. The question is why ...
3
votes
7answers
904 views

How can I defragment my SSD on linux?

This page demonstrates that defragmentation is beneficial for SSDs. I suppose this type of defragmentation has to be trim-aware, so as to preserve the life time of the disk. How can I do that on ...
2
votes
2answers
577 views

How to increase the timer before drive spins-down?

I use Ubuntu 12 beta on a Lenovo Z575. I noticed that the disk spins down a few seconds after the last operation. When I am working, e.g. in the vim and write quite often, it spins-up and -down ...
5
votes
3answers
108 views

Which command to force a drive to spin up?

I've looked through the manual for hdparm, sdparm. I know there are arguments to spin down the drive, with -y and -Y. I also know there are arguments to control the power saving features, such as -S ...
2
votes
1answer
304 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
2k views

What command do I use to spin up a “power up in standby” drive?

I have 8 drives in my server connected via PATA. The drives are set for no-spin via jumpers on the drive. hdparm -I says powers-up in standby; SET FEATURES subcmd spins-up What command do I use ...
0
votes
1answer
24 views

Could not commit to disk during OS Installation

I've tried several times to load Fedora 20 onto an Acer 5750z laptop, but during the installation I get an error message of "Could not commit to disk", switched the OS disk to Ubuntu 14.04 and ...
0
votes
1answer
22 views

Lags on file access, is my HDD going to break?

Yesterday, I noticed that there is a 5 second delay around those things which used to be instantly. However, it just occurs sometimes, usually only on the first time (maybe kernel cache). Opening a ...
0
votes
1answer
61 views

Hard disk drive spins up on laptop sleep/wake, can I stop it doing this?

I have in my Arch Linux-running laptop an SSD and an HDD; the latter I use seldom. It is mounted as /mnt/sdb5 and configured to spin down proactively when on battery (/etc/default/tlp, ...
4
votes
2answers
734 views

Are there any issues using 2TB hard drives with 4k sectors

I'm thinking of purchasing a 2TB hard drive (probably a Seagate F4), but I've read reports of Linux not being compatible with 4k sectors on these drives. Do I have to do anything specific when I ...
1
vote
1answer
156 views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
0
votes
2answers
39 views

Is there any danger in changing the labels of my hard drives?

I've have both Ubuntu and Arch installed on my computer, and want to change the labels of the / and /home partitions (four in total), to make it clear which is which. Can this potentially break ...
0
votes
1answer
41 views

Hard drive making strange sound

It sounds like the HDD is put into a power saving/sleep mode, spun down, but immediately started up again, and then this repeated 3-4 times, very quickly. How could I find out what this exactly is, ...
6
votes
1answer
490 views

In what sense does SATA “talk” SCSI? How much is shared between SCSI and ATA?

This is nothing new to me at least, that SATA actually "talks" SCSI, hence why these SATA devices show up as SCSI devices in Linux. A related question has been asked before, e.g. Why do my SATA ...
2
votes
2answers
1k views

Best options for mounting Mac OS X hard drive on my Linux box?

I have a new 3 terabyte external USB hard drive (Seagate ST3000DM001 in an enclosure). I hope to use it on both my iMac (OS X 10.6.8) and my Linux machines (Kubuntu). Right now this drive will ...
2
votes
2answers
53 views

Backed up over wrong hard drive

I've just written over the wrong hard drive using the command: sudo sh -c 'pv /dev/sdb >/dev/sdc' How do I go about undoing this? I was creating the first even backup of the drive, and I backed ...
1
vote
1answer
398 views

Run smartctl on all disks of a server

My question is a quite simple , I want to run the command smartctl -i -A on all disks that the server have. Think that I've too much server with different number of disks and RAID Controllers, then I ...
1
vote
3answers
102 views

Full DD copy from hdd to hdd

UPDATE: 2 This seems a lot better than before (Thanks to Groxxda for the suggestions): sudo dd if=/dev/sdb bs=128K | pv -s 3000G | sudo dd of=/dev/sdc bs=128K ETA is about 9 hours for 3TB, whereas ...