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

learn more… | top users | synonyms

30
votes
7answers
68k 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?
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 ...
24
votes
4answers
19k 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 ...
23
votes
3answers
167k 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)
19
votes
3answers
19k 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 ...
19
votes
1answer
19k 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 ...
14
votes
3answers
6k 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
3answers
39k 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 ...
12
votes
6answers
9k 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 ...
12
votes
2answers
14k 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 ...
11
votes
7answers
20k 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 ...
11
votes
6answers
19k 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 ...
10
votes
12answers
23k 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 ...
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
3answers
9k 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
2answers
9k 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 ...
8
votes
2answers
3k 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!
8
votes
2answers
697 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 ...
7
votes
5answers
36k views

How do I open the Disk Utility in the Unity Desktop environment?

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 ...
7
votes
3answers
12k 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 ...
7
votes
2answers
16k 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 ...
7
votes
4answers
3k 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 ...
7
votes
4answers
3k 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
3answers
2k 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
32k 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.
6
votes
2answers
7k 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
3answers
22k 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 ...
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
604 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
3answers
2k 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
1answer
2k 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
6answers
5k 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. ...
6
votes
1answer
2k 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 ...
6
votes
1answer
913 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 ...
5
votes
4answers
18k 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?
5
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. ...
5
votes
2answers
3k views

Out Of disk, but still boots

I have a HP Compaq nx6310 notebook wth 4gb memory & a new 250gb hdd. After installing Ubuntu 12.04, i got an "out of disk" error & was unable to boot. I rebooted in live, instaled & ran ...
5
votes
3answers
18k 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 ...
5
votes
4answers
2k views

Ubuntu Install Failing- Hard Drive

Trying to dual-boot UBuntu and Windows 7 on the same 1TB Sata hard drive, but the Ubuntu installer won't recognize the drive- the live CD will, though, and can see it under GParted, etc. Already ...
5
votes
1answer
2k 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 ...
5
votes
1answer
382 views

Is there a way to force a specific file to exist in RAM only?

I like this suggestion of mounting a tmpfs at /var/log in order to reduce disk writes. Is there any way to do something similar for just a single file such as ~/.xsession-errors? My incentive for ...
5
votes
2answers
2k views

How to wipe RAM on shutdown (prevent Cold Boot Attacks)?

My system is encrypted using Full Disk Encryption, i.e. everything except /boot is encrypted using dmcrypt/luks. I am concerned about Cold Boot Attacks. Prior work: ...
5
votes
1answer
4k 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 ...
5
votes
2answers
3k views

Is it possible to extend the disk space available to a wubi install? [duplicate]

I installed ubuntu 10.04 using wubi. I now wish to allocate more disk space to my ubuntu install. Is this possible?
5
votes
1answer
2k views

Why is the .xsession-errors.old file so big?

Problem Many users (including me) found out from one moment to another that the usage disk space is really strange. One day I had 50Gb free and the next I had 3Gb, it is just crazy. This happened ...
4
votes
3answers
809 views

Does Ubuntu come with disk partitioning in the installer?

When I install ubuntu I want to know whether it will give me the option to partition my disk. I am installing ubuntu for my laptop and I need some of my windows stuff as well. I would be thankful to ...
4
votes
1answer
5k views

How can I check how much space there is left on WUBI versus how much space it takes on my HDD?

Using 11.10 for the record. It would be easiest to do it on the Terminal.
4
votes
2answers
1k views

What is the difference between the “Entire Partition” and “Entire Disc”?

I want to install Ubuntu alongside my Windows 7 operation system. During installation I have three options: Install alongside the existing OS. Remove everything and install Ubuntu. Manual ...
4
votes
5answers
4k views

What do these hard disk errors “Test WP failed, assume Write Enabled” mean?

What do these errors mean? Sep 30 23:52:29 ubuntu kernel: [ 1649.816032] [Hardware Error]: Machine check events logged Sep 30 23:52:37 ubuntu kernel: [ 1657.885240] sd 6:0:0:0: [sdb] Test WP failed, ...
4
votes
1answer
330 views

Why is `df -h` not showing the whole disk space?

I recently formatted my hdd to increase the partition size for Ubuntu. Despite the actual 170 GB free space (sda5), Ubuntu shows only 27 GB when prompted via properties. Here is my df-h output: ...