For questions regarding disk storage devices such as hard disk drives, floppy disk drives, and optical disk drives.

learn more… | top users | synonyms

64
votes
6answers
66k views

Mount single partition from image of entire disk (device)

I made an image of my entire disk with dd if=/dev/sda of=/media/external_media/sda.img Now the problem is I'd like to mount an ext4 filesystem that was on that disk but mount -t ext4 -o loop /media/...
57
votes
7answers
150k views

How to find out how much disk space is remaining?

What is the command to find out how much disk space is being used/remaining?
49
votes
2answers
70k views

Unable to format USB drive with Disks (udisks-error-quark, 0)

Upon trying to make a startup disk (USB) for Ubuntu 12.04, the system prevented boot loader installation. I'm getting message: Error synchronizing after initial wipe: Timed out waiting for object (...
44
votes
3answers
305k views

How to run a checkdisk?

I suspect there might be bad sector on a disk. What tool is the best equivalent of the error checking tool of windows? (I used ext3)
31
votes
4answers
7k 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 ...
25
votes
3answers
42k views

How to set up multiple hard drives as one volume?

I am about to set up box to basically be a file server. I plan on having multiple drives in the box, and would like to set them all up so that they appear to be a single drive. So I could essentially ...
24
votes
3answers
81k views

Increase partition size on which Ubuntu is installed?

I have Ubuntu installed on a drive. The problem is it is running low on disk space. This is installed on vmware. I expanded the virtual drive and booted into ubuntu. But when I opened gparted(sudo ...
19
votes
7answers
22k views

How to determine where biggest files/directories on my system are stored?

I was wondering how do you know where the largest files in my system are stored. For example--- Disk Space Used: 1GB Java: 500MB Java Percentage: 50% maybe represented in a pie chart. Maybe? I know ...
17
votes
5answers
39k views

How can I check my RAM and hard drive for errors?

What tools can I use to check that my memory and hard drive are still working correctly?
14
votes
4answers
33k views

How do I rename a USB drive?

How exactly would I rename a USB drive? I've read that you can go into the Disk Utility, the click on Edit Partition and there is an option to rename the label but I can't click in the area to rename....
14
votes
3answers
9k views

Disk Utility: What's the difference between “Unmount” and “Safe Removal”?

System > Administration > Disk Utility What's the difference between "Unmount Volume" and "Safe Removal"? Say you insert a flash drive and open the Disk Utility UI, if you click on "Safe Removal" you ...
13
votes
8answers
33k views

How can I physically identify a single drive in a RAID array?

I have an external drive bay with 4 eSATA disks in it. My system has a 4-port eSATA card, as well as a pair of internal hardware RAID1 drives. The external drives are in software RAID1 pairs as /dev/...
13
votes
13answers
42k views

Disk by UUID not detected (initramfs), boot failure

I am unable to boot my lucid, with the built in boot shell giving out this error: Update 1 This error occured after I updated my 2.6.32-26 version kernel and booted directly in winodows. The ...
13
votes
2answers
18k views

could not mount /dev/mapper/cryptswap1

I have just had a major issue with my Ubuntu 11.04 Natty which I think is going to end up in a reinstall :-( This is problem one of two so I've put them as two questions. For some unknown reason I ...
12
votes
3answers
960 views

What does end-to-end disk error mean?

I have opened Disks program today and noticed that there is FAILING in the Assessment column for the SMART status. What does this error mean? Is it serious problem? I have Lenovo G50-45 laptop, ...
12
votes
6answers
24k views

Errors in dmesg - Test WP failed, assume Write Enabled [duplicate]

I'm experiencing some problems with drive cache and I don't know what's causing these problems. This is my dmesg: [11690.011238] sd 6:0:0:0: [sdb] Asking for cache data failed [11690.011248] sd 6:0:0:...
11
votes
2answers
10k views

how to interpret these errors from syslog

My Ubuntu has been acting weird lately. Yesterday, it wouldn't boot normally, so I had to do a 'recovery mode' boot. It said I had to do an fsck manually, which I did using a live CD. After this, I ...
10
votes
2answers
4k views

Source code for 'df' command

Can someone tell me how to locate the source code for the 'df' command. My operating system is Ocelot. Thanks!
10
votes
1answer
3k views

How do I improve my server disk performance

I have an HP Microserver running Ubuntu 10.04 LTS. It's a low power server with 5 internal drive bays. I use it to backup my remote servers, VPSs and local laptops over the network. I want to get the ...
9
votes
5answers
54k views

How do I open the Disk Utility in Unity?

I am new to Ubuntu and have installed it side by side with windows 7. Both boot up okay, my problem is I can't get to disk utility to create a partition that I can share between both OSs. Help says go ...
9
votes
3answers
15k views

What are the F6 options during installation?

What is the meaning of different options in the F6 context menu of Ubuntu installation dvd ? i.e. acpi=off noapic nolapic edd=on nodmraid nomodeset Free Software only How do they affect the ...
9
votes
4answers
4k views

What are benefits of upgrading filesystem from ext2?

I have ext2 filesystem installed on my work machine. I talk with my friend who knows linux a lot better and he said its very old and its very weird that I use so old filesystem. I'm now trying to get ...
9
votes
1answer
9k views

Ubuntu goes into read-only mode randomly

For the last few days, my Ubuntu 12.10 has been going to read-only mode randomly, making me unable to save any edited files, and forcing me to restart my computer, which is a pain because this is the ...
8
votes
2answers
18k views

Increase size of root partition after installing Ubuntu in Windows

Every time update manager prompts an update I get a message saying that there is not enough space available, however the partition with Ubuntu installed has over 10 GB of free space available. I'm ...
8
votes
2answers
4k views

“df -h” command puts line breaks in output. How do I fix?

My "df -h" command on my Linux box has some devices with longer names and so the "df -h" output has line breaks (or tabs??) in it, which makes it difficult to parse the output in a script. Does ...
8
votes
1answer
6k views

What's the difference of partition type and filesystem type?

I'm formatting my Seagate Freeagent external HDD in Linux to FAT filesystem, because it can't be done in Windows, but I'm wondering, what's the difference betweeen partition type and filesystem type? ...
8
votes
2answers
1k views

How can set disk IO priority automatically?

If I use some IO intensive application (like Virtualbox, Steam data verification or even dd) my system becomes almost unresponsive. Despite all being started with normal priority, they make the ...
8
votes
4answers
43k views

How do I resize the partition of a Ubuntu-server?

Is there an easy way to decrease the disk volume on a Ubuntu server? I run a virtual environment and need to decrease my disk volume since I'm running out of space in my non virtual environment.
7
votes
3answers
30k views

Ubuntu 13.04 is unable to mount a disk drive from ex-windows system [duplicate]

I just installed Ubuntu 13.04 as a single OS on a system previously installed with windows 8. Almost everything is working fine except 1- I cannot control my brightness (Hotkeys are able to move ...
7
votes
4answers
31k views

How much space does Ubuntu take up after it's already installed?

I know how much space is required to install Ubuntu. How much space does a Ubuntu installation take up on the disk?
7
votes
4answers
4k views

Low disk space: home/user folder occupies 94GB

I am low on disk space and when I check the Disk Usage analyzer (using gksudo baobab) it indicates that my home/teddy folder is using 94GB, but when I browse through its contents I can only account ...
7
votes
4answers
3k views

Thunderbird 16.0.1 filling disk space

I'm on Ubuntu 12.04 with Thunderbird 16.0.1 and Kernel 3.6.0-030600rc4-generic. I used Thunderbird for quite a while and never had any problems with it. But now it seems to fill up my disk space very ...
7
votes
4answers
7k views

Mysterious Hard Disk Failure?

My new 1,5 TB ext4 Hard Disk makes mysterious noises and fails to read and write. But not always. Sometimes it just works. But then I get those following errors. Does anyone know a solution for that ...
7
votes
7answers
7k views

Checksums do not match when creating a bootable USB stick

Since karmic koala, I can't create a bootable USB. Always the same error, it arrives to 96% and then this error " checksums do not match". Also in lucid, meerkat and natty even with fresh install. ...
7
votes
1answer
4k views

Smart Data Self-Test Failed

When I run the Smart Data Self-Test disk utility the result indicates Smart Self Test Failed. Yet when I look at the individual test, they all say OK. Did the test itself fail or did the disk fail ...
7
votes
1answer
2k views

Does installing to an extended partition reduce disk performance?

I was reading the latest issue of Full Circle (issue 63) and there was an article comparing boot times under various configurations. One of the comparisons was with an installation in a primary ...
6
votes
1answer
6k views

disk space used up

I have upgraded to 13.04 and lose disk space, ... I have a 3 TB hard disk, and had yesterday still 890 GB free, ... today all is gone! Disk Usage Analyzer does not give me a clue and says that it ...
6
votes
2answers
9k views

Disabling SMART Disk Utility Warning Message

The Disk Utility pop-up the same message so many times and too many at a time. The message is the same "Hard Disk Problem Detected. A hard disk is reporting health problems." The hard disk has ...
6
votes
2answers
702 views

How to prepare a disk on an EFI based PC for Ubuntu?

My computer has UEFI based BIOS and I want to start over from scratch. The PC came with Windows installed - I later installed Ubuntu alongside. I want to completely re-build my whole disk and ...
6
votes
2answers
2k views

tmpfs vs. ext4 ramdisk

I would like to know which of both is faster; a tmpfs or a ext4 ramdisk. If someone knows a good way to benchmark disk perfomance on ubuntu, I will gladly do the test myself and post the results.
6
votes
4answers
20k views

How to open wubi's .disk files under windows?

Wubi has created one big file with whole ubuntu installation root.disk - there are some files I have left on my linux partition that I would like to access from windows partition, Is there any way to ...
6
votes
3answers
3k views

How to see the amount of free disk space in files browser with 13.04 (Raring Ringtail)

Up to the previous Ubuntu versions you could easily switch on a status line at the bottom of the files browser, which showed useful infos like the amount of free disk space, number of files in ...
6
votes
4answers
3k views

How do I create a restore disk?

I'm new to ubuntu and reinstalled 11.04 atleast 10 times already. Each time I reconfigure all my settings and end up breaking something. It is really annoying and would be much easier if I can save ...
6
votes
1answer
665 views

Intense hard drive access activity immediately after log in

I upgraded my ubuntu karmic to lucid a few months ago. I don't know when it all started but the thing is that when I log in, I see a very intense disk access activity for a while that prevents any ...
6
votes
1answer
9k views

What is “/dev/mapper/ubuntu--vg--root”?

I installed Ubuntu 14.04 recently. During the installation I did not create a separate partition for my home folder. I also accidentally encrypted my home folder. When i did sudo df I got the ...
6
votes
1answer
3k views

/var/lib/ureadahead/debugfs eats up 68% of my disk space

On a device with 2GB storage every MB is counted. I wonder what is this /var/lib/ureadahead/debugfs doing on my system and is there a way to avoid its existence. Note this mount point eats up 1.2 ...
6
votes
2answers
3k views

How to check the disk activity of my hard-drive?

I had a problem in Windows 8 where my hard-drive activity was reaching 100% all the time and the system was very slow. Now I've switched to Ubuntu Gnome and want to check if this is still a problem on ...
6
votes
5answers
23k views

Can you install Ubuntu from the hard disk?

Is it possible to install Ubuntu from the hard disk?
6
votes
1answer
17k views

Using 'quota' for disk limits

I installed quota using apt-get and followed some of the tutorials online. I ran sudo edquota username which opened nano and gave a chart for me to edit. What does the chart mean when it says soft, ...
6
votes
2answers
1k views

Full disk encryption - separate home partition

How to create separate /home partition when using full disk encryption feature in the Ubuntu 12.10 installer?