Questions about hard drives, configuring and formatting them. Hard drives typically provide stateful memory storage for computers, and are the primary location for the operating system and user files.

learn more… | top users | synonyms (1)

124
votes
8answers
233k views

How do I find the amount of free space on my hard drive?

Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but ...
115
votes
9answers
215k views

How do I increase the hard disk size of the virtual machine?

I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
63
votes
5answers
143k views

How to check hard disk performance

How to check the performance of a hard drive (Either via terminal or GUI). The write speed. The read speed. Cache size and speed. Random speed.
42
votes
4answers
20k views

How do I install and use flashcache/bcache to cache HDD to SSD?

I want to know if there is anyone who has tried installing and running their kernel built with flashcache or bcache for SSD caching? How did you manage to do it?
33
votes
4answers
41k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb. But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
28
votes
3answers
17k views

How to move Ubuntu to an SSD

My current situation is: One hard disk Dual boot Ubuntu 11.04 and Windows 7. Partitions: 100MB Windows System thingy 144GB Main Windows 160GB Ubuntu 4GB Swap 12GB System Restore stuff Now I want ...
28
votes
4answers
4k views

Importance of Swap Partition

What is the purpose of a swap partition? How do I know I have just enough swap partition? Not too much/little. My Ubuntu PC is used for typical stuff: Web (email, facebook, etc.) Some movies ...
26
votes
10answers
18k views

Which hard disk drive is which?

I want to know which hard disk drive corresponds to which device path. It's trivial to match the hard disk stats (brand, size) with the dev path, but I want more. I want to know which drive is which ...
24
votes
3answers
33k views

How can I check the health of my hard drive?

I had a bad experience on an old Dell computer where shortly after installing Ubuntu on it, the hard drive failed due to excessive loading/unloading cycles. What is the best way to check the health of ...
23
votes
5answers
44k views

How can I control HDD spin down time?

I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it? I tried GNOME power ...
19
votes
4answers
15k views

Persistent “disk will be checked…” in the message of the day (motd) even after reboot

I see that there are some other threads that mention this error, but I have tried the solutions with no luck. When I log into my 12.04 Server, I get the message: /dev/sdb1 will be checked for errors ...
19
votes
4answers
3k views

How to replace my disk without having to rebuild my Ubuntu install?

I'd like to buy a new 1TB disk to replace my old 150GB disk. Is there an easy way to copy my Ubuntu installation with my home folder content, system settings, applications, and so on... so at ...
19
votes
4answers
2k views

CLI mounting vs. GUI mounting

On Ubuntu 12.10, when I want to mount a hard drive, I can just click on the unmounted drive and everything works fine (by mounting to /media/username/partitionlabel). Basically, I would like to do ...
19
votes
5answers
3k views

Is Seagate's new “FAST Factor Boot” technology compatible with Ubuntu?

I'm looking at buying a new laptop and considering buying one with a hybrid HDD/SSD drive. Specifically I am looking at the new second generation Seagate Momentus XT. For some reviews look here and ...
18
votes
10answers
93k views

Fix corrupt NTFS partition without Windows

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed). I'm putting the debug output of fdisk and blkid here. At the same time, any OS is unable to ...
17
votes
3answers
22k views

How Do I interpret HDD S.M.A.R.T Results?

My laptop has recently started to become a bit unreliable, and for some reason I started to suspect that my HDD was starting to fail. After a bit of hunting on the internet, I found Ubuntu's Disk ...
16
votes
5answers
1k views

Check how space is distributed on Linux system

I know how to check space left with: df -h and I know to check the space of a folder with: du -ch /path/to/folder/ But let's say I have a HardDisk of 500GB and 350GB are used: WIch is the best ...
16
votes
3answers
31k views

Can I use Ubuntu to diagnose hard drive or RAM problems in Windows?

This may be a crazy question, but here goes... My brother suggested that I could somehow use either a Ubuntu Live Boot CD or Flash drive or Kubuntu as a way to diagnose issues I'm currently having ...
16
votes
4answers
31k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
16
votes
4answers
43k views

Partition does not start on physical sector boundary?

I've one HD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap). fdisk is giving me a Partition 1 does not start on physical sector boundary warning. What is the ...
15
votes
5answers
2k views

How would I speed up a full disk dd?

I am doing a dd on two identical drives with this command: dd if=/dev/sda of=/dev/sdb bs=4096 Both hard drives are the exact same model number, and both have 1TB of storage space. /dev/sda uses a ...
14
votes
4answers
9k views

What is the Linux drive naming scheme?

In Windows; you have the C:\ drive. This is the primary drive upon which Windows is installed. However, Linux uses a different naming scheme: sda, sdb[1-4], etc. Can anyone give me a brief outline of ...
14
votes
3answers
3k views

Do I need to replace my hard disk?

Whenever I start my computer Ubuntu pops up the following error: A hard disk may be failing one or more hard disk report health problems A friend of mine ran some test and it was found that my hard ...
14
votes
6answers
6k views

How to clone a hard drive to an image that I can open later?

I need to make a (preferably) mountable image of an 80GB Hdd, and store it on another hard drive. Is there some way that I can do this without losing data? Thanks for the answers I've received so ...
14
votes
5answers
11k views

Mount an external drive at boot time only if it is plugged in

I've got an entry for an external harddrive in my fstab: UUID="680C0FE30C0FAAE0" /jgdata ntfs noatime,rw But sometimes this drive isn't plugged in at boot time. This leaves me half way ...
14
votes
2answers
62k views

How do I add an additional hard drive?

I am going to put an additional (non-USB) hard drive in my system. I already have Ubuntu on my other hard drive so I do not want to install Ubuntu on the additional drive but only use it for storage. ...
13
votes
3answers
1k views

How do I stop this constant loss of free space?

I was running Ubuntu, as normal, when suddenly I got a dialog box that said I only had 1.2 GB of free space left. An hour before, I had 30 GB of free space. I deleted some stuff and brought the free ...
13
votes
1answer
2k views

Block devices sda, sdb, sdc. What comes after sdz?

My block devices are named sda, sdb and so on. What happens when I get to sdz? Is the next one going to be called sdaa?
13
votes
2answers
1k views

How to tell what applications are accessing the hard drive and how frequently?

My hard drive is going crazy and I don't know what application is doing it. Are there any linux tools for profiling what processes are accessing drives and how frequently? top, htop and the like ...
12
votes
3answers
20k views

Do I need Intel Smart Response when installing Ubuntu?

With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use ...
11
votes
4answers
72k views

Detect and mount devices?

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I ...
11
votes
3answers
8k views

Will long-term use of ubuntu via wubi harm my PC?

I do see a part of my question being discussed already. The specific answer I'm looking for is, will LONG-TERM use of Ubuntu via Wubi harm my PC (i.e cause irrevocable h/w failure or damage my ...
11
votes
6answers
36k views

How do I access an external hard drive plugged into my router?

I am running Ubuntu 11.10 and I own a Netgear N600 Wireless Dual Band Router with a USB port built into it. Naturally, the router came with instructions on how to mount and view this drive with both ...
11
votes
4answers
8k views

How do I clean up my harddrive?

Not to long ago I was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so that's more then 3gigs that have been taken. From what I remember I failed to build mysql, I ...
11
votes
5answers
304 views

How to make duplicate of whole HDD?

I have an Ubuntu 12.04 production server with a 500 GB (nearly 15 gb used) HDD. I want to duplicate whole HDD including, its partition structure, to another HDD with 400 GB size so that changing the ...
11
votes
5answers
3k views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
10
votes
1answer
5k views

Main differences between fsck and chkdsk?

What are the important differences between fsck and chkdsk, and which command will reduce and correct the most hard disk errors?
10
votes
4answers
21k views

Best /etc/fstab setings for boosting SSD/HDD

I know EXT4 is the fastest by 3y already checking test blog posts from different authors But theres also other settings that make SSD faster i found in ...
10
votes
5answers
21k views

Are these sata errors dangerous?

I'm getting these errors ramdomly, and I don't know if its normal or not. [39441.061856] ata3.00: failed to read SCR 1 (Emask=0x40) [39441.061866] ata3.01: failed to read SCR 1 (Emask=0x40) ...
9
votes
4answers
52k views

Hard disk failure error on SMART status. how can i fix it?

i am running ubuntu on my pc. i am receiving hard disk failure error on SMART status. how can i fix it? thanks.
8
votes
3answers
2k views

/ on SSD, should I put /var on a HDD?

I've recently just installed ubuntu 14.04 and i'm still very new to linux/ubuntu. I've got a laptop in which i have installed an 120GB SSD and a 750GB HDD. Currently, i have ubuntu installed on the ...
8
votes
4answers
14k views

Put swap on SSD or HDD?

New installation coming up. 120gb SSD for OS and HOME and 1tb HDD for storage. 16gb of ram which means 16gb of swap if I recall correctly. SSD space is too valuable for a swap partition right? If my ...
8
votes
3answers
96k views

How to mount an external HDD?

I have Ubuntu Linux 12.04 version the latest right now.I want to mount an external HDD NTFS 1TB.I have followed many guides but still no success.The error I'm getting is this: Failed to read last ...
8
votes
2answers
2k views

How to dump disk sectors?

I want to see the content of the sector 0 (mbr) of my hard drive. It is possible?
8
votes
1answer
15k views

What are kswapd0, kworker/num:num, ksoftirqd/num?

Exactly what are these services / programs. Apparently they make my system almost useless. Any one of them at point of time uses at least 50% CPU and continuous access to HDD. I'm not exactly sure ...
8
votes
4answers
12k views

Mounting ddrescue image after recovery (in over my head)

I'm having problems mounting the recovery image. I've tried to mount the image multiple ways. quark@DS9 ~ $ sudo mount -t ext4 /media/jump1/1recover/sdb1.img /mnt mount: wrong fs type, bad option, ...
8
votes
2answers
6k views

Why is my external USB hard drive sometimes completely inaccessible?

I have an external USB hard drive, consisting of an 1 TB SATA drive in a Rosewill RX35-AT-SU SLV Aluminum 3.5" Silver USB 2.0 External Enclosure, plugged into my SONY VAIO VGN-NS310F laptop. It is ...
7
votes
8answers
6k views

How to create an encrypted partition?

well i'm trying to create an encrypted partition and while i formated it i got the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs) is there any benefit of choosing one ...
7
votes
9answers
2k views

Can I simulate a slow hard drive?

I have hunch that a certain intermittent bug might only manifest itself when there is a slow disk read rate. Troubleshooting is difficult because I can't reliably reproduce it. Short of simply ...
7
votes
2answers
1k views

How to mount an internal HDD on start-up?

I have a 500GB internal HDD where I store all my music and photos but it is annoying to manually mount it after a restart and I was wondering how to mount it automatically and make it available to ...