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
17 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
16 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
36 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 ...
1
vote
1answer
722 views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
0
votes
0answers
7 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
45 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 ...
7
votes
3answers
12k 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. ...
1
vote
1answer
35 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 ...
4
votes
3answers
6k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
0
votes
0answers
24 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, ...
4
votes
1answer
466 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
4k 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 ...
1
vote
1answer
25 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
538 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 ...
0
votes
0answers
29 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. ...
2
votes
1answer
30 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 ...
1
vote
1answer
757 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 ...
7
votes
4answers
4k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
0
votes
1answer
3k 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
26 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
27 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
15 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
52 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 ...
0
votes
1answer
100 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 ...
4
votes
1answer
899 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 ...
0
votes
1answer
478 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated 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
2answers
32 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 ...
4
votes
3answers
11k views

Recovering data from a damaged hard-drive: the “freezer trick”

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The drive was dropped while the system was running; and while ...
16
votes
4answers
9k 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
0answers
49 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 ...
2
votes
3answers
6k views

Harddisk serial number from terminal?

I have multiple harddisks which get connected to my server and I'm not sure which one is what in the view of sdXY . If I can see the serial numbers of my harddisks from terminal, I can easily identify ...
2
votes
2answers
523 views

Where to find the VBR on the /dev/sda1 partition?

I have one built-in hard disk /dev/sda which looks like this: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * ...
4
votes
1answer
121 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
43 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
252 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
22 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
44 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 ...
5
votes
3answers
22k 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). ...
60
votes
10answers
37k views

How do I know if dd is still working?

I've not used dd all that much, but so far it's not failed me yet. Right now, I've had a dd going for over 12 hours - I'm writing an image back to the disk it came from - and I'm getting a little ...
1
vote
1answer
58 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
54 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 ...
2
votes
1answer
231 views

Unreadable backup directory on a USB drive

The title pretty much sums it up. I was editing a script I wrote some time ago to automatically backup the contents of my Raspberry Pi SD card, and in the course of editing, I missed a "/", and so ...
36
votes
3answers
22k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of ...
2
votes
2answers
720 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 ...
4
votes
0answers
273 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 ...
-3
votes
1answer
48 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
26 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 ...
4
votes
4answers
1k 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 ...
2
votes
2answers
115 views

Does `/proc/partitions` and/or `fdisk -l /dev/sdX` provide me a reliable device size?

I have two 3TB disks, which I hope to be exactly the same size. This means that I can use dd to copy them without being short or in excess of some bytes. Therefore I tried to find out the ...