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)

12
votes
5answers
10k 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
4answers
20k 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, ...
12
votes
5answers
416 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
9answers
3k 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 ...
11
votes
3answers
9k views

How to monitor disk activity?

How do I view my Disk Activity on Ubuntu? For example, How can I monitor what is being written and read from disk as well as the percentage of disk usage? I am looking for an application similar to ...
11
votes
4answers
12k views

Why no swap partitions on SSD drives?

I often read that one should not place swap partitions on a SSD drive, as this may harm the device. Is this true? Can you please explain the reason to me? Because I otherwise would have thought that ...
11
votes
4answers
31k 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
2answers
11k views

How to encrypt external devices?

I've been a Windows power user/administrator and professional tech for years, I just made the decision to go Linux, and wow, what a difference. Is there any decently easy way to encrypt external ...
10
votes
4answers
17k views

How do I check the integrity of a storage medium (hard disk or flash drive)?

I've run across (personally or by proxy) a bunch of storage media that exhibited physical problems during their life. Hard disks, solid state drives and other flash storage media all fail after some ...
10
votes
2answers
800 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
3answers
11k views

Is there a command to view hard drive specs

I noticed that my Ubuntu is lagging EXTREMELY badly but only the first time I do things after what I did gets loaded into RAM the lag stops totally. I ran some tests and I guess one of my laptop hard ...
10
votes
1answer
7k 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
2answers
37k views

How to clean up unnecessary files

Please suggest me any particular unnecessary file that I can clean to back everything to normal condition(temporarily). (i.e. any log or archieve or anything ). My var/log has only 40MB and Home ...
9
votes
1answer
26k views

Is it safe to format msftres, msftdata and hidden partitions?

I have an acer V7 which came with a 1TB HDD, 24GB SSD and Windows 8 installed. I have installed Ubuntu onto the SSD and formatted the main partitions of the HDD. However, I also notice 3 other ...
9
votes
4answers
72k 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
34k views

How to rename partitions?

I'm new at Ubuntu; I installed Ubuntu 12.10 and the partitions appear like 30 GB volume and like 78EF-2C5E in task bar. I tried to rename it but rename and remove buttons are deactivated so I tried by ...
9
votes
2answers
2k views

How to dump disk sectors?

I want to see the content of the sector 0 (mbr) of my hard drive. It is possible?
9
votes
1answer
17k 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 ...
9
votes
1answer
2k views

“Startup Disk Creator” doesn't see my USB Hard Disk

I have used Startup Disk Creator several times before succesfully creating bootable usb pendrives from iso images. However, now I'm trying to do the same with a Western Digital external USB portable ...
8
votes
3answers
127k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
8
votes
2answers
15k views

unable to mount ntfs partition created inside widows 10 [duplicate]

If i try to open any of partition, I get error message in a box. Error mounting /dev/sda8 at /media/viratraaz/Documents: Command-line `mount -t "ntfs" -o ...
8
votes
3answers
77k 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.
8
votes
2answers
25k views

The volume “filesystem root” has only 0 bytes disk space remaining?

I installed 11.10 ~two weeks ago and run into some strange troubles recently. Installation was on brand new laptop with clear 160GB SSD. I opted for encrypting home directory. Apart from that I ...
8
votes
2answers
18k views

Setting SATA HDD spindown time for Western Digital Green drives [duplicate]

I am able to spindown my SATA HDDs by using sudo hdparm -y /dev/sdc The state shown by sudo hdparm -C /dev/sdc changes from active/idle to standby (and I can hear the HDD spin down). However, ...
8
votes
2answers
968 views

Why is my harddrive louder, when I use Windows, compared to linux?

This is something I noticed: When I use Windows, my hard drive is louder and running almost all the time. In Ubuntu on the other hand, it runs quieter and more seldom. This even applies, when I ...
8
votes
6answers
9k views

Why is my external USB hard drive sometimes completely inaccessible?

I have an external USB hard drive, consisting of an 1 TB SATA drive in a Rosewill RX35-AT-SU SLV Aluminum 3.5" Silver USB 2.0 External Enclosure, plugged into my SONY VAIO VGN-NS310F laptop. It is ...
8
votes
1answer
120 views

How to automatically turn off hard drive when not used? [duplicate]

I have a noisy hard drive I rarely use and want to silent. I would like to put it in sleep mode after some time (20 sec) when it's not mounted on the system. The gnome-disks utility shows a "standby ...
7
votes
3answers
34k views

How to format a 4k sector hard drive?

I bought a Seagate ST3000DM001 3TB hard drive. It was sold inside an enclosure. I formatted to ext4, copied some data to it and then I removed it from the enclosure and connected it directly to the ...
7
votes
4answers
9k views

How to lower the HDD temperature

I have 4 hard disk drives that have temperatures which go beyond the recommended 50 degrees (Celsius). (I have several Samsung Spinpoint F3 which are 1Tb each and they do have good temps, between 32 ...
7
votes
3answers
34k 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 ...
7
votes
2answers
29k views

Shrinking file system taking a lot of time,Normal?

I'm using GParted to shrink the partition on my 500 GB external hard drive to a 220 GB partition. It contains about 210 GB of data. I'm shrinking it to convert FAT32 to EXT2. It has been almost an ...
7
votes
1answer
662 views

What are the fields in the “Format Partition” window in the Disks utility for, and what do I choose?

I use 14.04 and I have 2 physical partitions, one of 243Gb and another of rest of 500Gb. I want to format the partition of 243Gb using Disks (Open dash and type disks). This partition contains ...
7
votes
2answers
2k 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
338 views

System locks up when disk I/O is saturated

When I do a large file transfer from my external USB3 hard drive to my internal hard drive (or vice versa), be it via Nautilus or via terminal, Ubuntu (Unity) will almost completely lock up. Things ...
7
votes
4answers
20k views

How to reset SMART results

How can I reset the SMART results so it does not register previous results. My reason is that I was testing the hard drives closed together on a closed case. This made one of the HDD fail the Airflow ...
7
votes
2answers
8k views

How to copy a bootable NTFS partition from one physical hard drive to another with Ubuntu?

I have a USB flash drive with Ubuntu 11.10 installed that I would like to use for the following task: I have a hard drive with 4 partitions. The second one is formatted with NTFS and contains a fully ...
7
votes
2answers
6k 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
1answer
4k views

jbd2 constantly writing to disk [closed]

I know there are related issues, but none of them seem to apply to my case. Below is iotop output. jbd2 is constantly above 90% usage. It's been grinding away for 2 days. It stops for a while after a ...
7
votes
4answers
11k views

How can I find out the current drive spin-down time?

I'm interested in manually adjusting my hard drives' spin-down times with hdparm -S to make them quieter at night. The first thing I need to know is what their current spin-down times are, to use as a ...
7
votes
2answers
11k views

Accessing second hard drive

So I recently installed Ubuntu 10.10 64-bit on my computer. I installed it on my 60gb SSD hard drive, and in the installation it never acknowledged the existence of my second hard drive. The hard ...
7
votes
2answers
2k 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
1answer
940 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 ...
7
votes
4answers
3k views

How to avoid HDD spin up at system start? (Ubuntu from SSD)

Thanks to hdparm -B1 /dev/sdb my HDD does no longer spin up when powered up on boot. But after completing the BIOS POST messages and starting Ubuntu the HDD gets a signal over the SATA data cable and ...
6
votes
5answers
1k views

Which is the best hard drive to install Ubuntu on? [closed]

I have a 40 gig drive and a 200 gig drive. Which one should I install Ubuntu on, and which one should I use for my normal files ie: music, documents, etc...
6
votes
6answers
14k views

Recommended storage scheme for home server? (LVM/JBOD/RAID 5…)

Are there any guidelines for which storage scheme(s) makes most sense for a multiple-disk home server? I am assuming a separate boot/OS disk (so bootability is not a concern, this is for data storage ...
6
votes
2answers
6k views

How can I know the number of bad sectors on my hard drive?

I know how to to check / repair my hard drive but I don't know a way how to see the number of bad sectors on my hard drive. P.S. It looks like my hard drive will die soon :-(
6
votes
3answers
29k views

How to move / copy logical volume (lv) to another volume group (vg)?

Basically, I want to move / copy several logical volumes (lv) into a new volume group (vg). The new volume group reside on a new set of physical volumes. Does anyone know how to do that safely without ...
6
votes
1answer
40k views

How do I use dd to clone an external USB drive installation to a local hard disk?

can I use the dd command to clone my ubuntu installation from my external disk to my local hard drive. will it even boot? I think I can, but not sure. do I need to make the output partition on my ...
6
votes
4answers
2k views

How do you limit root partition disk access to allow drive to go into standby mode?

When there are no users on my system, I would like the hard disk to spindown to low-power state. I realize that this might not be 100% achievable for a straight 24 hours, but it seems reasonable that ...
6
votes
4answers
3k views

How to encrypt external devices using a cross-platform solution?

How can I encrypt an external device (i.e. USB keys, external hard-drives, memory sticks, etc.) so that it would subsequently be readable/writable on any computer that I plug it in? For instance, it ...