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
1answer
26 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
391 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
0answers
9 views

Drive disappears once in a while

I have a NTFS drive mounted via fstab. now, over the last couple of days, I've seen that once in a while, the drive disappears. This generally happens when I'm using partition tools (resizing a ...
0
votes
3answers
82 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
95 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 ...
0
votes
0answers
29 views

External HDD unable to detect

External 1TB HDD having problem, when I connect it with my Linux System the system just hangs for few minutes with below output: [root@spirit sh]# fdisk -l Disk /dev/sdb: 500.1 GB, ...
1
vote
1answer
29 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 ...
0
votes
0answers
51 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
8
votes
5answers
710 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
38 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
42 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
37 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
29 views

What SMART attributes are common for HDD and SSD?

I wrote an application on my Linux machine with an HDD that detects these SMART values (Names are as written here) Re-allocated Sectors Count. Power-On-Hours. Command Timeout. Offline ...
0
votes
0answers
114 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
58 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
96 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
236 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
55 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
294 views

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

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
0
votes
0answers
24 views

Are SMART diagnosis tools giving correct output?

My problem is the following: In November, the hard-disk analyser tool of Ubuntu 14.04 (Disks) showed some bad sectors. As this disk was very old, I replaced it by a Western Digital WD1600BEKT. Now, I ...
1
vote
2answers
114 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
148 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
101 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
89 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 ...
-4
votes
1answer
59 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
41 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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
46 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 ...
2
votes
2answers
1k 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
66 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
58 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
159 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
661 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 ...
0
votes
1answer
391 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
126 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
596 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 ...
0
votes
1answer
2k 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
38 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
26 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
81 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
104 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
16 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 ...
0
votes
2answers
61 views

How to properly mount new hdd, to free up the old one

I installed a new hdd /dev/sdb1, and mounted to /home/ubuntu/new1, and moved some files there to free up the old hdd, but when I do du -h new1 is still takes space in the old hdd, below are my fstab ...
0
votes
2answers
289 views

How can I mount a drive under my home directory at boot?

In my current setup, I have a RAID0 array of 2x3TB HDDs with btrfs, two partitions: / /home Under the /home directory, there are two users, both admin, one of which is myself. So far, this setup ...
1
vote
0answers
101 views

/dev/disk/by-id creating wrong symlinks for harddrive

I'm running into an interesting problem where on reboots and power cycles, my harddrives will occasionally be given the wrong symlink in /dev/disk/by-id. For example, when I issue ls /dev/disk/by-id I ...
1
vote
1answer
50 views

1kb partition: is it a problem, can it be removed?

I have a 1KB partition on my drive, sda4. Here is the output of lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 698.7G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 ...
2
votes
2answers
117 views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
0
votes
0answers
155 views

Why isn't this “external” harddrive showing up?

I have an "External harddrive to USB adapter" that's giving me trouble. It shows up if I run lsusb (unrelated devices ignored): Bus 002 Device 013: ID 152d:2338 JMicron Technology Corp. / JMicron USA ...
0
votes
1answer
721 views

LVM volume corrupted, can't be mounted after reboot

I created a LVM volume using this guide I have 2x2TB HDDs for a total of 4TB (or 3.64TB usable). I created the volume and rebooted. Everything was working fine. Then I copied 1.6TB of data on the ...
2
votes
1answer
52 views

stop an external hard disk from being in group floppy

I have an external hard-disk, connected by usb. Because it is external, the /dev file for it is in group floppy. However I use it as if it is internal. I also sometimes format sd cards and other usb ...