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

learn more… | top users | synonyms

62
votes
6answers
64k 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/...
2
votes
1answer
1k views

eCryptfs: Input/output error

My home directory is encrypted using ecryptfs. I have recently started getting I/O errors when I try to access some files on that file system: aix@aix:~/.evolution/mail/imap/acct/folders/INBOX$ cat ...
4
votes
3answers
5k views

How to match ata4.00 to the apropriate /dev/sdX or actual physical disk?

Getting stuff like this in the logs: Oct 2 22:11:21 jupiter kernel: [439646.093111] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 Oct 2 22:11:21 jupiter kernel: [439646.093144] ata4.00:...
4
votes
1answer
304 views

Why is there not much space for my Ubuntu?

I have a dual system: Windows 7 + Ubuntu. The Windows came with my laptop and I installed Ubuntu without Wubi... My total filesystem capacity: 303.2 GB, I just do not understand why there is not much ...
0
votes
1answer
124 views

Wubi - Installation deleted?

Ok, I think I already know the answer to this one, but it's important I try a bit more. I have been using a wubi installation of xubuntu for about a month, keeping my windows installation for some ...
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.
44
votes
3answers
299k 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)
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 ...
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 ...
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 ...
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 ...
2
votes
2answers
2k views

Disk errors on tty and syslog/dmesg

Recently I have started to get a lot of these errors: Jun 18 08:57:42 abacus kernel: [ 401.554292] ata5: SError: { HostInt 10B8B } Jun 18 08:57:42 abacus kernel: [ 401.559346] sr 4:0:0:0: CDB: Test ...
2
votes
1answer
2k views

Cannot copy the contents of virtual hard-drive to my physical disk

I have a vmware ubuntu image on my machine which I want to overwrite my current partition. When I run: sudo qemu-img convert my-image.vmdk -O raw /dev/sda1 I end up with below error: qemu-img:...
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 ...
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 ...
0
votes
1answer
337 views

Will a Virtual Box Installation have low Disk performance

I understand that if you install Ubuntu on Windows using Wubi, there are disk performance issues since the entire system is mostly concentrated on a single file. What about the case of a Virtual Box, ...
2
votes
2answers
6k views

Busybox error on boot [closed]

I've Windows XP and Ubuntu 10.10 dual boot was working fine then suddenly while booting in GRUB if I select Ubuntu it shows me stupid Busybox error same as this and Windows XP is working fine The ...
2
votes
2answers
467 views

Why can't I read drives properly?

I installed Natty and my perfectly functioning Ubuntu has stopped working - specifically, it has stopped reading disks. I think the problem has to do with Disk Utility not loading (though Ubuntu can ...
1
vote
1answer
721 views

Disk errors when booting, system doesn't run properly after disk check

I'm using 11.04 on Dell Vostro 1000 laptop. For some time it was ok, but now Ubuntu usually fails to boot. After selecting Ubuntu in grub, I usually see purple (plain, without logo) or black screen ...
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.
2
votes
1answer
221 views

How much space do I need to create a backup with fsdisk

I get this error when mounting a drive [ 4337.380506] EXT4-fs (sda): bad geometry: block count 156282966 exceeds size of device (156282701 blocks) So if I try to fix it with sfdisk do I need space ...
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. ...
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 ...
2
votes
3answers
155 views

kruft: why do i gain 1GB each time i do a distribution upgrade [duplicate]

Possible Duplicate: How do I clean up my harddrive? Every 5 months I start running out of space on my root partition... I scramble to erase documentation, remove log files, and keep only a ...
0
votes
1answer
1k views

Extend the Ubuntu disk space that was installed beside Windows 7 without reinstalling [duplicate]

I have installed Ubuntu 10.10 inside windows from Ubuntu CD with 12 GB space. How could I increase the disk space to 20 GB with out reinstalling Ubuntu ?
2
votes
2answers
365 views

Recovering a faulty disk

When I plug in a removable 1TB USB disk in my laptop, the operations led keeps blinking for a while and then you can hear the servo mechanism resetting with a short "tack". I'd like to recover the ...
1
vote
2answers
4k views

No space left on device

I was getting No space left on device, so I removed some of the files. But again when I try to update my folder with svn update I am getting the same error. Is this the problem with space left? When ...
5
votes
2answers
38k views

How to avoid “Assuming drive cache: write through” message during restart? [closed]

Does anyone know how to avoid message: Assuming drive cache: write through Showing up after preforming sudo shutdown -r now. I restarted remotely but the computer did not restart. And I could ...
0
votes
2answers
767 views

Disk failing on Dell Mini, are there diagnostic tools?

my dell mini 10v running Ubuntu 10.10 runs ok for hours, but then will suddenly slow down drastically. Switching to a console shows lots of error messages, which also get into /var/log/syslog. These ...
0
votes
1answer
382 views

Technical help for disk space allocation

im trying to install Ubuntu but am facing some problems with data allocations. apparently the current partitions made it such that i cant install this OS without erasing the current one (Windows 7) ...
3
votes
2answers
232 views

When your web server starts paging memory to disk and slows to a crawl, what's the best way to recover?

I've been shutting down and restarting the server, but is there something short of that you can do to quickly recover from a high-paging situation?
5
votes
5answers
22k views

How can I add more disk space to my home directory?

The current home directory gets full. Can I assign more disk space to the home directory somehow or are there any other solutions?
4
votes
2answers
2k 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 ...
5
votes
5answers
22k views

Can you install Ubuntu from the hard disk?

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

Unmounted disk still spins up regularly

I just added a disk, with partitions but none of them are mounted. The disk will still spin up every now and then. it goes like this: ### disk spins up hdparm -Y /dev/sdb;date /dev/sdb: issuing ...
3
votes
1answer
4k views

Gparted can't create ext3 or ext4 partitions

I have a 60Gb drive in a Dell Latitude D600. It all started with trying to install 10.10 as a dual boot. First installation failed at the partitioning stage, next I tried manual partition that also ...
2
votes
1answer
397 views

What utility to use to clean up after a disk is suddenly disconnected?

In the event an external hard-drive is physically disconnected and the device is mounted using device-mapper, no cleanup is made. In particular: the directory where the drive was mounted is empty ...
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 ...
2
votes
3answers
2k views

Disk utility running for a long time

I had a spare, old external usb hard disk which stopped working long time back due to improper removal of disk. I tried fixing it in windows (when I did not have ubuntu yet), however I couldn't fix it....
3
votes
1answer
2k views

How do I unmark a “failed” md device?

In an effort to clean up from a software bug in md, I marked half of a RAID (/dev/sda1 and /dev/sdb1 in RAID1) as faulty using: mdadm /dev/md2 --fail /dev/sdb1 mdadm /dev/md2 --remove /dev/sdb1 But ...
3
votes
3answers
614 views

How to extend Ubuntu disk space without using Live CD?

I first installed Windows 7 from factory, then installed Ubuntu. I ran out of space, but there is a lot in Windows partition. So I wanted to allocate some space from the Windows partition to Ubuntu ...
13
votes
13answers
41k 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 ...
1
vote
1answer
98 views

Enable external HD after remote reboot

Ran into this one tonight: Was on my laptop, and ssh'd into my desktop to access files on my desktop's external HD. So far, so good. However, after remotely rebooting the desktop, the external HD ...
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?
6
votes
1answer
664 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 ...
2
votes
2answers
707 views

Nautilus freezes every time I try to delete a file from my mounted disc

My problem is the following: Every time I try to delete a file from my auto-mounted drive Nautilus freezes up. First I get the prompt-screen saying ‘Cannot move file to trash, do you want to delete ...
3
votes
3answers
5k views

USB Drive speed testing app with test options

I know there is a benchmark in the Disk Utility app, but I need something with a few more options. Some of my USB Drives are exhibiting weird results which may be due to testing patterns etc, so some ...
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/...
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 ...
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 ...