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)

6
votes
2answers
5k views

SmartMonTools: How can I know if there is any smartctl test running on my hard disk?

I am testing a hard disk with SmartMonTools. Hard disk status prior to the testings (only one short test performed days ago): $ sudo smartctl -l selftest /dev/sda smartctl 6.2 2013-07-26 r3841 ...
0
votes
1answer
86 views

Problems with secondary hdd in grub

I had some problems installing Linux mint and or any other Linux distribution in combination with Windows. When I booted my machine it would hang before the grub bootloader showed up. Now i have some ...
0
votes
0answers
73 views

Can't read 2TB Hard Disk , don't exist dispositive

I have a new 2TB external USB HardDisk, and I can't open or format it. I'm gotting diferent kind of errors, for example: If i execute: sudo mount -a /dev/sdb sudo mount -a /dev/sdb1 The response ...
0
votes
2answers
85 views

nautilus doesn't display full disk space

Hello I am having an issue with Nautilus, it will not recover disk space. My home partiton is on /dev/sda2 and running fdisk returns Device Boot Start End Sectors Size Id Type ...
3
votes
1answer
5k views

Mount external hard drive automatically

I have an external hard drive (WB My Passport), connected via a USB port. My OS is Elementary OS Freya on a Dell Vostro 1510. Currently, in order to mount the drive, I have to open the file manager, ...
1
vote
1answer
41 views

Map Home to External Drive

Whereas I have my OS (in this case, Elementary OS Freya) installed on my non-partitioned internal hard drive, I have an external hard drive with /Documents, /Downloads, /Movies etc. where I store all ...
1
vote
1answer
60 views

I can read from hard disk, but I can't mount it read only

I have some problems with my hard disk - maybe it is broken, maybe the SATA cable is broken, I am just investigating it. One thing is strange. I can read raw data from this device using: # cat ...
0
votes
1answer
46 views

Hard disk power cable possibly slipped out during copying - now directories empty, error shows “dir: cannot access .: input/output error”

I am pretty sure the powercable to one of my harddisks fell out during copying. The result was two personal backup directories are now empty, but still extant, while the rest of the directories are ...
0
votes
2answers
108 views

Where are all the disks used?

This is almost a little embarrassing to ask, but I just can not figure this one out myself really. I'm trying to find out where the disks of my machine are used and if they are actually used at all. ...
2
votes
1answer
194 views

How to split file and save parts to multiple locations?

How do I split a large file into multiple smaller chunks and write each part of it into separate locations? split command seems to only output all the files into one location. The context I need to ...
1
vote
1answer
168 views

Simple way to keep hard disk alive on activity?

As hdparm does not work for my USB external drive (it spins down to early), I’d like to simulate standy-by control manually by a simple script with the following idea: monitor I/O to the disk when, ...
1
vote
2answers
388 views

Get all hardisk list (/dev/sd*)Using command line

I need to get all the hardisk connected to my PC like, /dev/sda /dev/sdb /dev/sdc later I have to use it in script and monitor using iostat I alrady found fdisk command, it seems to be hard ...
1
vote
1answer
861 views

Correct way to delete unnecessary files from /boot directory (Ubuntu)

Currently there is not enough space on by /boot partition/folder and the sofware update can not be performed. Question: how should I correctly free-up some space in that directory? Here is the ...
0
votes
1answer
51 views

How to image certain portions of hard drive only

I have a failed hard drive which I need to extract data from. My dd kung fu is failing me right now. I know that the drive is failing at sector 60515007 to 60517093 (512b per sector), and multiple ...
0
votes
2answers
3k views

“No volume groups found” after running vgdisplay

I am trying to expand my primary partition to use the extra disk space I have added in my VMWare virtual machine. I have been able to add the disk space, partition the extra space into an LVM ...
0
votes
3answers
240 views

What can I do to stress test a new USB harddrive?

I'm running ubuntu desktop 14.04. I bought a 2TB USB3 seagate harddrive, but after a week it started producing I/O errors and I was unable to recover any data (I lost quite a lot). So, now I have a ...
1
vote
1answer
384 views

How to create an /opt partition on an existing installation without loosing data?

I've shrinked my /home from 2.7TB to 100G, I've extended /root, /usr, /tmp and /var but I have been looking for a way to create an /opt partition for 3 hours now, and can't find it. The setup is 3TB ...
1
vote
1answer
33 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
8
votes
5answers
2k views

Why specify block size when copying devices of a finite size?

In online tutorials it is often suggested to use the following command to copy a CDROM to an iso image: $ dd if=/dev/dvd of=foobar.iso bs=2048 Why must the byte size be specified? I notice that in ...
2
votes
1answer
55 views

Backup partition changed UUID without user interaction

I recently had to purchase a new hard drive. Since I was at it I bought two instead of one as they were on offer (both are the same model). Since there was a lot of space left on the second hard disk ...
0
votes
1answer
56 views

Unplug a new hard drive without umount?

Before I unplug a external hard drive with file systems, I use umount. But my new hard drive doesn't have anything on it yet. (no file systems). I connect it to my laptop using a sata-usb adapter. Is ...
1
vote
0answers
61 views

How to check a new hard drive?

I have a new SATA hard drive. I plug it to my SATA-USB adapter and then to my laptop. I found it by lshw *-scsi physical id: 2 bus info: usb@1:1.3.2 logical name: scsi10 ...
0
votes
0answers
293 views

Why doesn't Red Hat detect hard drive on HP BL460C Gen 8?

EDIT: The server I am using is HP BL460C Gen 8 having real hardware RAID. I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives ...
4
votes
3answers
73 views

Exchange data between two identical hard drives

I have two identical hard drives (same model) in my system. One is used for data which is not important (could be downloaded again but would take an eternity). The other is my system disk. Now my ...
0
votes
0answers
162 views

Accessing NTFS HDD through samba

I'm having trouble writing to the HDD attached to my pi from my laptop. The samba share is set up fine it seems, since I can write to the SD card without a problem. But whenever I try to write to the ...
4
votes
1answer
559 views

Linux can't see any of my partitions — The backup GPT table is not at the end of the disk

I'm trying to install Linux on my HP Pavilion 14 inch ultrabook, but without any success. At first I tried installing Ubuntu on it; everything went fine, I got into the Live DVD (yes I'm oldschool ...
0
votes
1answer
100 views

What is the interface of my hdd? [duplicate]

lshw says my hdd is ATA disk, and bus info is scsi *-disk description: ATA Disk product: WDC WD2500BEVS-0 vendor: Western Digital physical id: 0 ...
2
votes
3answers
380 views

Why creating partitions in linux is a good solution for easy recovery?

I have heard if you don't make partitions in linux, it is so hard to recover the data. And if you make few partitions it would be easy to recover the data. for example if you make /par1 /part2 /part3 ...
2
votes
2answers
337 views

How to recover after removing only LUKS key?

In a stupid attempt to disable LUKS encryption, I have done cryptsetup luksRemoveKey to my only key. So now everytime I try to boot my Fedora-21, it asks for the passphrase but obviously does not ...
0
votes
1answer
280 views

Kernel ATA Exception after resume from suspend to RAM

After resuming from suspend to RAM, my Arch Linux system freezes and becomes permanently unresponsive. However, I managed to pull the following kernel log: kernel: sas: Enter sas_scsi_recover_host ...
1
vote
1answer
272 views

External HDD partition not showing [closed]

I have problem with an external HDD. I am using Debian Jessie. The partition is not showing, I can see only the device: # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 ...
1
vote
2answers
286 views

What is spinning my disk up periodically?

I recently bought a CubieBoard 3 and installed Debian. The OS is installed on SD card and I use a 2.5" HDD to share files. The HDD is using ext4. I want the HDD to spin down if it is not used to save ...
-5
votes
1answer
106 views

looking for a linux script that can show all hard drive information

I am looking for a Linux script under command line that can show all hard drives information at the same time, such as Name, UUID, mount point, TYPE, free space/available space/total size/use% in MB ...
0
votes
0answers
60 views

Testdisk 6.14 unable to fix 20GB WD ROM scroprio device

Using partedmagic iso , with pre-configured utility testdisk 6.14 I tried to repair WD 20GB hard-disk. It failed in sense it got me "read errors". I don't know how to fix it? Please help me. I'm ...
1
vote
0answers
161 views

Separating SAS from SATA drives

I have to list all SAS drives and separately list all SATA drives, I'm working on CentOS6 and tried lots of commands which will give some specific information about bus of disks. Let me show you ...
1
vote
1answer
55 views

Recover hard disk file from corrupted one

I bought a 1 TB hard disk from my friend to back up my files but when I tried to copy 150 GB of data to the hard disk, during the last 5MB my laptop shut down due to power loss. After power came back ...
3
votes
2answers
6k views

Optimizing logical sector size for physical sector size 4096 HDD

With many new hard drive disks the physical sector size is 4096. Would it be possible to make the system use a logical sector size of the same size, rather than the default logical sector size of 512? ...
1
vote
1answer
149 views

How to debug hard drive power saving?

My harddrives are not going to powersave. I have added the following lines into /etc/hdparm.conf: command_line { hdparm -S 25 /dev/disk/by-uuid/42d40d37-2859-457c-93d0-e4c617d06d9f } ...
0
votes
1answer
82 views

Creating a live USB without persistence or access to hard drive

I am looking to be able to run a live copy of Linux off of a 4GB usb stick. I would like this to be a sandbox/learning environment, and my requirements are: 1) No persistence. Everything that is ...
0
votes
0answers
368 views

Repair or recover seemingly damaged partition on USB external disk

A friend brought this WD My Passport external harddrive to me to see if I could recover her files. The device is "not working" after a power outage. As per her testimony, when the device is connected ...
3
votes
3answers
1k views

Why my 3TB disk shows an actual size of ~800 GB with several tools except smart tools?

System disk started to fail and hence I ran out to buy a new HDD 10 minutes before closing time :/ This is for a 32-bit system disk. From earlier, relatively long time ago, I had checked out Seagate ...
1
vote
1answer
2k views

In smartctl output, what does LifeTime(hours) mean?

Specifically, in smartctl output, how is LifeTime(hours) calculated? I'm assuming it's one of the following: The difference (in hours) between the time of the test and the manufacture date of the ...
4
votes
2answers
183 views

Hard-drive errors

My /home file system is JFS, it got to RO mode several times already, so I had to reboot/remount it. I saw this at '/var/log/messages`: Dec 31 10:12:49 uvv-laptop-y570 kernel: [ 983.925711] ...
2
votes
1answer
1k views

Can`t mount external hdd

I am using Debian and I`m using Windows as well (much longer). I loaded a external disk on Windows but when trying to mount on linux again I keep getting the same error: Error mounting: mount exited ...
3
votes
1answer
10k views

What is the difference between /dev/sda and /dev/hda? [duplicate]

Sometimes internal harddrives are available as /dev/sda (with subsequent media located in /dev/sdb etc), and other times available as /dev/hda. What is the difference between the two? Does it vary ...
0
votes
0answers
76 views

Recover files from “crashed” partition

I'm using a Dell laptop that has 1TB hard drive, in which i created 4 partitions, one for MAC, one for LINUX, one for WINDOWS and a HD NTFS partition that can be accessed from the three. But, for some ...
1
vote
0answers
43 views

Is it safe to use the -y and -Y flags to hdparm?

Is it dangerous to use the -y or -Y flag in hdparm during a write, or when the disk is still mounted, or will hdparm refuse to spin-down, or automatically sync and unmount?
2
votes
1answer
127 views

how does hdparm calculate spin-down times?

I have been trying various options with hdparm, like setting the spin-down time to 5 minutes withhdparm -S 60 and setting the APM to 1, but I end up getting a spin-down in less than 5 seconds... How ...
1
vote
0answers
262 views

How to prevent automatic external hard-drive unmount

I am running some simulations in Matlab on a Linux machine (running Debian Gnome v3.4.2). All the scripts and heavy .mat files are in an external 1TB Toshiba hard-drive connected through USB 3.0 to ...
0
votes
0answers
19 views

freebsd10 disc cloning

I have a FreeBSD 10.1 computer whose disc is failing. I've tried to use Clonezilla, and dd with no results.My syntax with dd was dd if=/dev/hda of=/dev/hdb bs=1M (I used dd on systemrescue). The ...