2
votes
1answer
30 views

Why does fstrim trim all of the free space on my mdraid mirror after a reboot? [duplicate]

I have a server with 2 SSDs: Model Family: Intel 520 Series SSDs Device Model: INTEL SSDSC2BW240A3F Firmware Version: 400i User Capacity: 240,057,409,536 bytes [240 GB] Sector Size: ...
-2
votes
2answers
193 views

How can I fill the free space with zeroes in Ubuntu 12.04 (ext4)?

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk (2TB). The size of this vhd is 360 GB. But the real size is about ...
1
vote
2answers
1k views

Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?

Problem: Since about one week ago, my Ubuntu system encounters various severe and strange problems. Sometimes the whole system suddenly freezes. I have to push the power button to shut down the ...
3
votes
3answers
995 views

How can I change the date modified of a folder to the last changed file inside? [duplicate]

In my media center directory all modified times of my folders are somehow not the desired date. How can I change all modified times of the main folders to the modified time of the newest media-file ...
1
vote
1answer
1k views

Extremely long time for an ext4 fsck

The problem that I am having is the extremely long time that fsck is taking. I have thoroughly made searches on Google, but I could not find anything that would resolve the problem. The command that ...
7
votes
3answers
18k views

How can I fsck a partition when the device reads as busy (but has been confirmed otherwise)?

I'm attempting to run fsck -p /dev/sda5 to repair errors on an ext4 partition, however the command outputs fsck from util-linux-ng 2.17.2 fsck.ext4: Device or resource busy while trying to open ...
4
votes
1answer
1k views

Unable to mount a second hard drive in Ubuntu Server

I am adding a second drive to my Ubuntu Server. It was previously in a FreeNas system, but I got rid of the XFS partition and created an ext4 partition (in an older Ubuntu system). I then backed up ...