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)

1
vote
1answer
111 views

How to find out Hard disk first & last sector ID's?

Is that possible to find Hard disk sector's ID? If we can, how to find out Hard disk 1st & last sector ID's in windows & LINUX? As I tried to Google it, I found only hard disk sector size. ...
1
vote
1answer
168 views

How to make an unallocated space “exist”?

I have Ubuntu and Windows installed together. I'm going to install Arch also along with them. For now, I what them to live there all together in my computer. I have the following: I'd like to ...
4
votes
2answers
3k 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 ...
5
votes
1answer
302 views

How to use an SSD for caching, so my hard disks can spin down?

I've got a file server with a bunch of disks running together in a BTRFS pool and want to add an SSD for caching. I'm not mainly after speeding up things, but want to catch the regular small accesses ...
1
vote
1answer
459 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 ...
3
votes
1answer
945 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
0
votes
1answer
59 views

Checking HDD health

I have a set of old Seagate SATA HDDs that are part of an LVM on Raid setup in a NetGear ReadyNAS. The ReadyNas no longer boots (it hangs on checking FS). I tried reinstalling the OS which did not fix ...
2
votes
2answers
241 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
1
vote
1answer
764 views

Run smartctl on all disks of a server

My question is a quite simple , I want to run the command smartctl -i -A on all disks that the server have. Think that I've too much server with different number of disks and RAID Controllers, then I ...
1
vote
3answers
1k 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 ...
3
votes
2answers
506 views

dumpe2fs - lifetime writes - what is it

For example, if I run: sudo dumpe2fs /dev/sda1 I get detailed information about the partition. I'm confused about this part, Lifetime writes, returns the following for my boot partition: Lifetime ...
0
votes
0answers
30 views

Execute script when hard-disk's standby state changes (i.e. it spins up/down)

How can I execute a shell script when the standby state of a hard-disk (as reported by hdparm -C /dev/sdx) changes? If possible, I would like to avoid polling hdparm for changes.
0
votes
1answer
43 views

Two HDD installation [closed]

Is there any easy tutorial or guide how can I setup Debian (amd64 v. 7 + xface) on my server, but using this separation ? Separation: SSD (32GB) for system Normal HDD (1TB) for data like /var ...
3
votes
1answer
1k views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
14
votes
4answers
6k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
2
votes
2answers
89 views

Script to Recognize HDDs and run Smartctl

I'm thinking to do a script to recognize which HDDs are in use (sda, sdb, etc) and run a Smartctl on each one that's are in use, but I don't know how can I start, anyone can help me?
2
votes
1answer
764 views

jdb2 keeps Hard Disk busy all the time

My system became too slow last few days. The hard disk indicator is on all the time. To discover which process is keeping the disk busy i run this command: # while true; do date; ps auxf | awk ...
2
votes
1answer
175 views

Problems mounting a disk

I have a disk that has failed to mount on start up. I have commented out the line in fstab to try to diagnose the issue: # /dev/sdc /media/bigdrive ext4 auto,exec,rw,user,async 0 0 Then rebooted. I ...
7
votes
3answers
498 views

Harddrive I/O per Pid

is there any way to see the disk I/O per pid/process ? Monitorix shows me the following and correct me if I´m wrong, but it looks like that the harddrive is slowing down the whole system: UPDATE #1 ...
0
votes
1answer
609 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 ...
0
votes
2answers
56 views

Hide a partition in the partition table and make it reappear later

I know this isn't a question that's specific to Unix/Linux, but I think there are people who can answer this question here. I want to hide my Windows partition from the partition table completely, ...
0
votes
2answers
5k views

How do I access files on an external hard drive?

edited 02-25: I thank @Anthon for his replies. I still do not, however, understand the meaning or the how of "pinging" ("Once you update your Q, ping the commenters..."). I also do not understand the ...
1
vote
0answers
96 views

Optimization for an SSD?

I am running Fedora 20 on a Laptop ( Lenovo Ideapad Yoga 2 Pro ) with an SSD. My filesystem is LVM with ext4 as the format option. I am now running Fedora as the only OS on the system with Legacy BIOS ...
9
votes
3answers
301 views

Is there a risk of data corruption if suspended laptop runs out of battery?

I often tend to just put my laptop on suspend using xfce4-power-manager, and although usually the battery is sufficiently charged up until the next time (when I plug in the charger), sometimes I ...
0
votes
1answer
133 views

Target filesystem doesn't have requested /lib/systemd/systemd

I have been using systemd for about a month without any problems on my Debian Jessie. I installed it according to the Debian wiki. But all of a sudden today I got this error:     ...
5
votes
1answer
2k views

Does my hard-drive have bad sectors or not?

I got a new drive and I'm confused if smartctl detects bad sectors or not. Both short and extended self-tests completed without error. But the Error Log indicates Uncorrectable error in data for 96 ...
0
votes
2answers
31 views

Tool to create a bad physical location report on disk

I am in need of a tool that would run on an Ubuntu system that would be able to report the following: Bad physical locations on a disk (cylinders, sectors) Files that are affected by these bad ...
2
votes
1answer
383 views

Shutdown my (backup) hard disk on Linux when I don't use it

I have a hard disk in my computer that I use to make backups of my data. I do not use this disk otherwise. How can I stop this disk from spinning once my backup is finished? Also how would I make it ...
3
votes
3answers
4k 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 ...
0
votes
2answers
53 views

What is the minimum size for the medium used to clone a damaged hard drive?

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The damaged hard-drive is 250GB, and I intend to use dd or ddrescue ...
1
vote
1answer
950 views

ddrescue extremely slow on USB hard drive

I'm recovering the HDD from my laptop that died (wouldn't boot up at all, Disk Utility reported that there were no problems, but wouldn't mount the disk). I've hooked up the HDD through the USB ...
0
votes
1answer
45 views

Is this method safe or recommended for moving a /home directory?

I have my linux install on a small disk. I want to put the home directory on a different hard-drive. I was thinking of using this and then this. Would this work? Is there a better way? Should I just ...
0
votes
2answers
176 views

How do I prepare Windows NTFS drives on Linux

I'm upgrading my windows desktop hardware and doing a clean OS install. I'm using SystemRescueCD to prepare my old drives for the upgrade. Long story short, a bit of an emergency, I coudln't do this ...
4
votes
2answers
2k views

Why is dd using direct slower writing to disk than to a file

I am trying to compare aggregate write rates when writing to a file in a GPFS file system, as compared to writing directly to a disk on a system with Red Hat Enterprise Linux Server release 6.4 ...
2
votes
1answer
33 views

Does the installation computer affect performance?

I recently installed Debian Wheezy onto a hard drive I later intend to connect to a different computer, though the computers use different brands of hardware. Will this work? Or am I setting myself up ...
0
votes
1answer
368 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
0answers
67 views

Which 'smartctl -d' option should I use on this hard-disk: 'scsi' or 'ata'? [duplicate]

On the back of How to repair a corrupted HFS+ partition?, I have separate question. I'd like to run smartctl tests on a hard disk, but I'm not sure which option I should use to correctly initialize ...
4
votes
2answers
13k 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). ...
1
vote
1answer
191 views

Removing failed disk from raid 1

my server (Debian Wheezy) has a failed disk. I have sda and sdb and according to the support of my hoster, sdb needs a replacement. I send them this information with the mdstat: ...
1
vote
2answers
2k views

Why might an external Hard Disk Run super slow?

I have an external Western Digital HDD (1gig) which is running very slow, 0.5 - 1mb per second. This is on a Mac Pro running the latest OS with all the patches. The HDD is connected via USB directly ...
7
votes
3answers
7k views

How can I benchmark my HDD?

I've seen commands to benchmark one's HDD such as this using dd: $ time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync" Are there better methods to do so than this?
5
votes
2answers
258 views

How do I check if a particular hard disk is dynamic?

What commands do I have to check the dynamic or basic type disk/volumes of the Windows partitions? Topic of interest because: Warning: Don't install linux on a Windows Dynamic disk! Bug Report: ...
1
vote
2answers
102 views

Debian: Create compressed Harddrive for copy

On my Debian system I have a box with certain configuration settings that I like but I've had to change them continuously. There have been times that I've gotten into a some-what irreversible ...
0
votes
1answer
91 views

where is the user content on a Mac OS X 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 (it's not yet clear if the FS is corrupted or the disk dying), but for the ...
6
votes
1answer
465 views

Why are there 2048 sectors of free space between each logical partition?

I know about the advanced format and setting 2048 free sectors at the beginning of a disk. But I just converted a partition table of my disk from MS-DOS to GPT, and I noticed this: Before: Number ...
4
votes
1answer
378 views

lshw lists my drive but it has no /dev file

Ive just got a dedicated server which has 2x 1TB HDD. However when I type df -h I get the following: [root@sd-56537 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 916G ...
0
votes
1answer
255 views

raid1: how to synchronize harddisks (Debian 6)

My system is Linux/Debian 6, using GPT (GUID Partition Table). If I run the command cat /proc/mdstat I see the following situation: Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] ...
0
votes
2answers
189 views

Safely using a hard drive dock

I just pick up an Ez-Dock HD dock 2535. It came with sparse instructions ( and as usual Windows centric ). Software wise ie mounting, syncing,unmounting is not a problem. Hardware wise though I am ...
2
votes
1answer
594 views

Hard disk spins down and up too frequently when on battery

I'm using Debian Wheezy No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.3 (wheezy) Release: 7.3 Codename: wheezy $ uname -a Linux debian 3.2.0-4-amd64 ...
2
votes
1answer
434 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 ...