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
3answers
316 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 ...
3
votes
1answer
901 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 ...
10
votes
7answers
8k views

How to know if /dev/sdX is a connected USB or HDD?

How can I know if /dev/sdX is a local HDD or usb key ? best doing this without root privileges. OK , udevadm helped a lot: For local HDD: udevadm info --query=all --name=sdb | grep ID_BUS E: ...
0
votes
1answer
53 views

No folders in “/” on hard drive, mounts “/boot”

I already posted my problem on askubuntu, but I hope to reach some broader audience here as I also realize it's not really Ubuntu specific. So I messed up my Ubuntu Server and it doesn't boot ...
2
votes
1answer
20 views

SSD failiure. grub rescue sees files, but I can't mount drives

I have a 2 year old SSD that apparently has died. 2 out of the 3 partitions are completely unmountable (only EFI boot partition mountable). When i turn on my computer I am greeted with grub rescue ...
11
votes
1answer
153 views

Disks (in usb enclosure) keep waking up even when not mounted

Setup I have USB enclosure (Buffalo DriveStation Quad) containing four drives connected to my nas server (ubuntu server 14.04). The enclosure is configured to JBOD mode, so I'll see all the disks in ...
75
votes
12answers
277k views

How do I find out what hard disks are in the system?

I need to know what hard disks are available, including ones that aren't mounted and possibly aren't formatted. I can't find them in dmesg or /var/log/messages (too much to scroll through). I'm hoping ...
1
vote
0answers
20 views

Adding a new disk to an exsting partition in linux

I have a sda on my opensuse and want to add a new disk to have more space on it. After adding the disk I have created a partition lets name it sdb. Mr sda has 6 partition and I ant to sdb to 6th ...
0
votes
1answer
26 views

fsck and checking external drives on reboot also

I know about shutdown -rF now that will check the drive on reboot but how can I also have it check all external drives also on reboot?
7
votes
5answers
5k 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 ...
4
votes
1answer
567 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 ...
4
votes
1answer
977 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 ...
1
vote
1answer
51 views

Linux blocked on df

I am experiencing some trouble with an external HDD. I'm afraid it is starting to getting corrupted or damaged :S. In an application I am using statfs to retrieve information of that external HDD: ...
1
vote
2answers
5k 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 ...
4
votes
5answers
4k views

Comparison of raw block devices

Is there a utility (or some shell magic) that allows me to compare two block devices? Details: I have one large (0.5 TB) RAID device that I've backed up to a slightly larger SATA device using dd. ...
7
votes
1answer
983 views

Docker says “no space left on device” but, system has plenty of space?

I'm trying to run a docker image that works on other systems (and you can even pull it from dockerhub, if you'd like: it's dougbtv/asterisk) however, on my general workstation, it's complaining about ...
0
votes
1answer
563 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
38 views

how can I sync a specific device? [duplicate]

Is there a way to sync a specific device in Linux? This would be used to ensure that, e.g., writes to a USB thumb drive have taken place without waiting for queued writes from a video processing job ...
0
votes
2answers
35 views

To recover harddrive of partial formatting to NTFS from FAT

I have a partial formatting of a new disk (2TB of Buffalo) which I was going to format into NTFS from FAT (most probably fileformat of new disks). However, I removed the cable by accident. No ...
1
vote
1answer
157 views

What changed in Linux kernel (2.6.22) that gives hdparm support for power-on in standby?

Hdparm man page lists for parameter -s: Enable/disable the power-on in standby feature, if supported by the drive. VERY DANGEROUS. Do not use unless you are abso- ...
0
votes
0answers
12 views

Imaging help for Mac drive w' GDDRescue on Ubuntu 12.04

I'm a novice at Linux command line but I'm slowly making progress. I have a failing 750gb WD Scorpio Black SATA drive with OSX 10.6.8. It was diagnosed with logical errors (drive seen in bios but not ...
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
3answers
35 views

How to obtain the whole disk activities triggered by file systems under linux?

I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write. To be ...
1
vote
1answer
41 views

HDIO_GETGEO and HDIO_GET_IDENTITY in Linux using C++

Can anyone explain the core difference between HDIO_GETGEO and HDIO_GET_IDENTITY? From the Linux documentation and this document titled: Summary of HDIO_ ioctl calls., I know that the former is for ...
0
votes
1answer
25 views

Explaining SMART power error

I use gsmartcontrol, on the Error tab, it shows: Complete error log: SMART Error Log Version: 1 ATA Error Count: 398 (device log contains only the most recent five errors) CR = Command Register ...
0
votes
0answers
26 views

Setting up my Linux machine with multiple hard drives

I've recently made the switch to a copy of Elementary OS Freya (Ubuntu 14.04) and so far, really been enjoying it coming from a Windows background. After fumbling around a little, I got my 1TB Seagate ...
0
votes
1answer
43 views

Is it good to install linux on external hard drive?

I have an external hard drive and I would like to install linux on it (I choose Fedora KDE). I made a bootable dvd and I will choose the external hard drive to install on it the os. Is it good to ...
1
vote
0answers
27 views

How should I distribute files/packages/software across multiple drives?

I am primarily a Windows user, but I am starting to use Linux more as I realize all the features it has. In Windows, I install my software that I use regularly on my 120GB SSD, along with the OS, ...
1
vote
1answer
32 views

slow disk I/O speed on NTFS partition

My Laptops internal 640 GB HDD ,WD Scorpio blue(WD6400BPVT). It has 5 partitions. 120 GB NTFS partition, primary, sda1 250 GB NTFS, extended, sda5 20 GB / (root), sda6 4 GB /swap, sda7 ~ 202 GB ...
0
votes
1answer
17 views

How to automatically check for failed hard drives in RAID array?

We've got a couple of servers in-house containing hardware RAID5 and RAID6 arrays with 8-15 disks each. What's the easiest way to automatically check for failing hard drives using a script so that ...
1
vote
0answers
48 views

Formatting drives in linux always makes them read only [closed]

I'm using Debian 8 and trying to create an ntfs partition (on /dev/sdd). Whenever I format a drive either through the nautilus interface of right click > format... or even through command line ...
0
votes
2answers
40 views

Advantage of GPT over MBR partition table [closed]

What is the advantage GPT partitioned hard drives on older BIOS system ? when boot drive is bellow 2TB on a BIOS system or UEFI boot disabled grub on BIOS system with GPT partitioned needs an ...
0
votes
2answers
38 views

Content cached in RAM while writing to disk - Linux

I'm facing this issue since ever I started using Linux Distros. While copying/moving either graphically or with cp one/many big content(anything like big text file, tar.gz archive, iso file, movies) ...
23
votes
5answers
16k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
1
vote
1answer
860 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 ...
1
vote
0answers
14 views

Shrinking root partition on Debian

I'm using a headless Debian Wheezy server with 2x3TB disks. It was installed automatically with RAID1. This is the output of df -h: $ df -h Sys. fich. ...
2
votes
2answers
140 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 ...
1
vote
0answers
101 views

Startup problem: invalid partition table or use UEFI BOOT

I'm working on a Dell Latitude E5430. Recently I booted pcbsd from USB using this file: PCBSD10.1.1-RELEASE-01-31-2015-x64-DVD-USB_0.iso But I guess I did something wrong. I was trying to install ...
2
votes
1answer
62 views

Is BTRFS saying that my HDD is dead?

I noticed that my HP N54L was laboring and discovered that dmesg was reporting this: [ 81.945530] btrfs read error corrected: ino 1 off 16685977600 (dev /dev/sdb sector 2636776) [ 82.010023] ...
1
vote
2answers
30 views

How do I migrate a RAID system to a larger set of HDDS?

All the posts I've found are about moving to new machines or migrating an entire OS from one HDD to another. I don't really know what the hell I'm doing, but I'm apparently the Linux expert. We ...
0
votes
0answers
71 views

“Warning! Secondary partition overlaps the last partition by x blocks” in gdisk, is it safe to use gdisk here?

I'm trying to install convert my hard drive into GPT using gdisk, when I run sudo gdisk /deve/disk1s4 I get this: Warning! Secondary partition table overlaps the last partition by 2032668853 blocks! ...
3
votes
4answers
13k 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
4answers
2k views

How should I prevent data corruption on an NTFS partition shared by Windows and Linux?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer with the following disk setup: sda1: The 350 MB ...
1
vote
2answers
73 views

UEFI System. Are EFI settings kept on the HDD. What happens if I change HDD?

I have an UEFI system with Linux installed on it. Unfortunately I need to upgrade the BIOS firmware and after a month of failing with live CDs and Live DOSes and so on I have decided to buy a new hard ...
11
votes
1answer
1k views

What is the difference between “extended” partition and “logical” partition

What is the difference between "extended" partitions and "logical" partitions on my hard disk? What's the need for each? I am using Linux
0
votes
0answers
48 views

HDD disconnects randomly

My internal Seagate Barracuda 7200.11 500GB randomly disappears. Sometimes, before the HDD gives up, I have enough time to move data to another HDD. Data does not seems to be corrupted. I checked it ...
1
vote
2answers
42 views

Partition table-less HDD [duplicate]

Just this morning, I accidentally created a hdd filesystem without a partition table. I didn't even know it was possible but it happened. Now the issue is to undo it or leave it alone. For this ...
15
votes
3answers
14k views

How to dd a remote disk using SSH on local machine and save to a local disk

How can I create a backup of a remote disk using SSH on my local machine and save it to a local disk? I've tried the following: ssh hostname@my.ip.address "sudo dd if=/dev/sdX " | \ dd ...
1
vote
1answer
35 views

How to exclude a disk so that the OS will not use it?

We have an HDD that is probably having too much bad sectors. The notebook boots extremly slow from it. We put the disk in another notebook (good) via a CR-ROM HDD case. But now that good notebook ...
0
votes
1answer
53 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...