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
2answers
48 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 ...
2
votes
1answer
19 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
34 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 ...
0
votes
0answers
20 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 ...
1
vote
1answer
16 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 ...
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
25 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 ...
3
votes
2answers
62 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 ...
4
votes
1answer
190 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
votes
0answers
53 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 ...
1
vote
0answers
20 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
19 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 ...
0
votes
1answer
28 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 ...
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 ...
0
votes
1answer
31 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
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 ...
2
votes
1answer
47 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 ...
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 ...
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
20 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
51 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, ...
0
votes
2answers
38 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
40 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, ...
2
votes
2answers
52 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 ...
6
votes
1answer
481 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 ...
6
votes
2answers
121 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 ...
1
vote
3answers
86 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 ...
1
vote
1answer
45 views

unrecognized inateck hdd enclosure with linux Mint

I have put in a Hitachi 2.5 inch hdd inside a Inateck hdd enclosure. I have connected the enclosure to a Toshiba R630-156 using a usb2 cable on a usb3 enclosure port. I can hear and feel the hard ...
1
vote
1answer
132 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
0answers
30 views

Internal secondary hard disk suddenly failing to mount

In RHEL5, my internal secondary hard disk (1TB) suddenly fails to mount after some unexpected power failure and after my system got off. But it's showing in BIOS and while Booting checking as sdb ...
2
votes
3answers
100 views

Why is dd running forever on a 8 GB drive

I have a filesystem handled by ZFS and it's about 8 GB. I tried to zero out the filesystem by running: dd if=/dev/zero of=/EMPTY bs=1M | true rm -f /EMPTY And normally on an ext4 filesystem, it ...
2
votes
1answer
23 views

Track HDD access?

How can I track HDD access? Not in a monitoring sense of MB/s like iotop. My internal mass storage HDD gets permanently woken up and I want to find the evil process with an absolute list of accesses.
3
votes
1answer
56 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 ...
4
votes
0answers
70 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
1
vote
1answer
220 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 ...
2
votes
1answer
60 views

I/O schedulers for normal harddisks

For me figuring out what is the best choice for I/O in kernel was a challenge. First I learned that it is subjective then it is depend upon the File-System you use. I know you should use No-op for ...
0
votes
0answers
82 views

USB HDD Enclosure works with Ubuntu, but not Raspbian

SOLVED: Even though the enclosure came with its own power supply, it required a powered USB hub, probably for some internal components that don't draw power from the main supply. I have this dual HDD ...
2
votes
0answers
52 views

Installing Arch Linux on empty eee pc's hard drive

I have a problem with the installation of Arch Linux on an Asus 1000HD eee pc. The fact is, it had a Windows XP home basic installation, and it was still very very slow with that. So I formatted the ...
3
votes
1answer
299 views

Is no caching mode page a serious error?

My server log displays the following error messages in RED: kernel: sda: sda1 sda2 kernel: sd 0:1:0:0: [sda] No Caching mode page found kernel: sd 0:1:0:0: [sda] Assuming drive cache: write through ...
-1
votes
1answer
33 views

How turn external HD visible in Virtualbox Debian VM?

I want to clone my Virtualbox VM to a another/external HD in my computer. My VM is a Debian 7, and I want to use the dd command on an external HD. Is this possible? When I use # fdisk -l only ...
0
votes
1answer
101 views

Could not boot from an external hard drive [duplicate]

I burned a live session of Linux Mint 17 Cinnamon to a USB stick. Then I installed LM17C into an external hard drive by using this USB stick. I managed to do it and even successfully started on my ...
1
vote
3answers
384 views

1:1 copy with dd

I need to get a copy of an HDD that is a real 1:1, I mean not just the filesystem but also the geometry and the partition table and everything in between. if I'll just use dd if=/dev/sdb ...
3
votes
2answers
103 views

Mounting Disk Image in Raw format [duplicate]

While Trying to mount a disk image in Raw(dd) format using the following command mount nps-2010-emails.dd /media/manu/ I get the following error message mount: you must specify the filesystem ...
1
vote
1answer
41 views

How to display disk capacity via Samba?

I have a Raspberry Pi running Raspbian with a Samba 3.6.6 server. The config file: [global] encrypt passwords = yes log level = 1 max log size = 1000 read only = no security = user [A] ...
0
votes
1answer
174 views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
0
votes
1answer
48 views

Is the free space of unmounted partitions and hard disks used in the background when the OS needs some more space?

I have two hard disks on a computer and I intend to recover the data in one of the them (Had Disk 1). An Ubuntu OS is installed in the other(Hard Disk 2). Both Hard Disks are connected to the ...
1
vote
1answer
47 views

External disk partitions with identical UUIDs

I have two external USB drives of the same make and model, and one of them is driving me slightly nuts by never being assigned a UUID (or, at least, it doesn't show up in /dev/disk/by-uuid). What ...
1
vote
1answer
72 views

Clunking hard drive, some info appears in dmesg but none in fdisk -l, what are my options?

I've been backing up old IDE hard drives onto a new USB drive this afternoon. One, a 2002 120gb Western Digital, has been a bit of a problem. I have connected it (as with the other hard drives) to ...
1
vote
1answer
115 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
3
votes
1answer
170 views

How to use SSH to make a dd copy of disk A from host B and save on disk B?

I want to make remote backups from disk A at will using SSH from computer B. I want to save the backups to disk B. How can I do this? I've tried using $ ssh hostname@my.ip.add.ress "sudo dd ...