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)

156
votes
10answers
323k 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 ...
136
votes
9answers
255k 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 ...
89
votes
6answers
203k 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.
44
votes
4answers
25k 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?
41
votes
4answers
55k 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, ...
30
votes
10answers
25k 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 ...
30
votes
3answers
22k 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 ...
29
votes
3answers
49k 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 ...
27
votes
3answers
7k views

Is Ubuntu destroying my internal HDD?

I have an Inspiron 3521 that came pre-installed with Windows 8.1. I decided to dual-boot Windows and Ubuntu, and it was working good. But, when using Ubuntu, I heard a lot of noise from my laptop ...
27
votes
4answers
5k 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
7answers
64k 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 ...
26
votes
3answers
35k 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 ...
24
votes
9answers
135k 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 ...
21
votes
3answers
19k 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 ...
20
votes
8answers
2k 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 500 GB HardDisk and 350GB are used: Wich is the best ...
20
votes
4answers
5k 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
6answers
14k 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 ...
19
votes
4answers
41k 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 ...
19
votes
4answers
3k 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
4answers
58k 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 ...
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
3answers
49k 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 ...
18
votes
6answers
17k 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 ...
17
votes
5answers
147k 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 ...
15
votes
5answers
11k 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 ...
15
votes
2answers
76k 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. ...
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
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?
14
votes
7answers
7k 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
3answers
21k 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 ...
13
votes
3answers
2k 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
2answers
76k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
13
votes
3answers
2k 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 ...
13
votes
6answers
31k 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) ...
12
votes
4answers
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 ...
12
votes
4answers
21k 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 ...
12
votes
4answers
9k 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 ...
12
votes
5answers
360 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
4answers
58k views

How do I list new drives so I can partition and format them?

I added a bunch of drives to an external enclosure and attached it to a server via eSATA and now need to get them ready for software raid. However they do not appear under fdisk -l I've tried looking ...
11
votes
6answers
48k 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
25k 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 ...
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
2answers
199 views

How to create a live system on usb-drive with persistent changes on disk/hdd

I was trying to install Ubuntu live on a USB-drive with persistent changes. However i wanted to write the changes to HDD instead of USB for various reasons (Performance, Space). I found out, that the ...
10
votes
8answers
25k 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 ...
10
votes
1answer
6k 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?
9
votes
6answers
4k views

Is it safer to install two OSes on different hard drives or just different partitions? [closed]

If I dual boot install both Ubuntu and Windows, is it safer to install them on two different hard drives than different partitions on the same hard drive? What risks may be involved? For example, ...
9
votes
4answers
61k 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
3answers
128k 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 ...
9
votes
4answers
15k 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
8answers
8k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...