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)

91
votes
9answers
164k 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 ...
88
votes
7answers
143k 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 ...
43
votes
5answers
88k 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.
37
votes
4answers
14k 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?
26
votes
3answers
13k 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 ...
24
votes
4answers
26k 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, ...
23
votes
10answers
12k 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 ...
20
votes
4answers
3k 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 ...
18
votes
3answers
18k 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 ...
18
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 ...
17
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 ...
15
votes
4answers
10k 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 ...
14
votes
3answers
11k 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 ...
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
4answers
28k 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 ...
14
votes
6answers
5k 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
8k 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 ...
13
votes
4answers
5k 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 ...
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
8answers
56k 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 ...
13
votes
4answers
22k 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 ...
13
votes
2answers
728 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
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?
12
votes
2answers
29k 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 ...
12
votes
3answers
12k 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 ...
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
4answers
6k 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
2answers
44k 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. ...
11
votes
1answer
11k views

Repair whole NTFS filesystem

I'm searching for useful tools for repairing a whole NTFS partition / drive, not only specific files. My usecase: I'm trying to clone a netbook drive via partimage. Unfortunately the NTFS partition ...
10
votes
5answers
26k 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 ...
10
votes
3answers
19k 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 ...
10
votes
5answers
2k 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
4k 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
5answers
253 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 ...
9
votes
4answers
45k 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.
9
votes
4answers
16k 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 ...
8
votes
2answers
1k views

How to dump disk sectors?

I want to see the content of the sector 0 (mbr) of my hard drive. It is possible?
7
votes
8answers
5k 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
8answers
1k 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
3answers
18k 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 ...
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 ...
7
votes
1answer
14k 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 ...
7
votes
4answers
14k 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) ...
7
votes
1answer
5k views

Is Disk Utility reliable?

I'm using ubuntu 11.04. Disk utility is reporting I have a bad sector on my hard drive. Is this reliable? I'm skeptical that it's reporting accurately because When I googled "ubuntu disk utility ...
7
votes
2answers
1k views

Setting up a shared media drive

I want to have a shared media drive be transparently usable to all users, whilst also sticking to FHS and Ubuntu standards. The former takes priority if necessary. I currently mount it at /media/Stuff ...
7
votes
6answers
12k views

Dual boot Windows 7 and Ubuntu, SSD + HDD

I am new to linux and Ubuntu and wish to create a system that can boot both Windows 7 (for windows specific applications) and Ubuntu (I wish to become familiar with linux and Ubuntu for work). I have ...
7
votes
1answer
642 views

Very slow copying Ubuntu 12.10, AHCI

I have two disks, SSD (Samsung 830 128GB) and normal HDD (WD 1TB) and Ubuntu 12.10 installed. AHCI enabled in the BIOS. I have a problem with extremely slow copying in all directions ...
6
votes
3answers
14k views

What to do if Disk Utility shows bad sectors pending in SMART?

I have 12.04 32bit installed on my hard drive. Ubuntu is the only OS. I recently installed it after getting rid of Windows 7. When I run Disk Utility under SMART Status it says "disk has a few bad ...
6
votes
3answers
58k 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 ...
6
votes
3answers
37k views

How do I access my Windows partition?

I have Ubuntu 12.04 installed on my HP G62-453 TU Laptop. I cannot access the contents of my hard disk partition E.