0
votes
0answers
24 views

Corrupt disk after fsck for ntfs

A while ago, I found out that I could not use my 2TB type 07 (NTFS) USB disk when connected to a computer with a Windows boot. Disk had only one partition. However, I could mount and use it under ...
0
votes
2answers
295 views

Mark bad blocks as unusable on NTFS using linux

one of my laptops are using windows and after a certain impact it doesn't boots up anymore, I figured the disk might've been damaged. So I've launced live Kali linux and scanned it with badblocks ...
1
vote
3answers
464 views

Is it safe to disable fsck on boot?

Occasionally fsck would run on it's own when I reboot my server, but most of the time it doesn't. But when it does run, it takes too long to finish. Is it safe to disable this permanently?
1
vote
0answers
26 views

What's the purpose of the Linux filesystem checkers' “interactive mode”?

Linux's fsck disk-repair tool often runs in an "interactive mode" by default. This means that, if it finds problems, it may ask me questions. But these questions tend to assume that I am a filesystem ...
1
vote
1answer
133 views

fsck -y breaks system

I have a Red Hat development box and I recently had an outage where the SAN disk was unavailable and and some applications were not running right so I ran fsck -y to check if the file system was ok, ...
0
votes
0answers
82 views

setting system time at startup from ext4 filesystem

I have a pc with no battery backup and using ubuntu 12.04 with ext4 it will constantly ask me to handle the situation by saying that my superblocks last write is in the future. So I wonder - can I ...
0
votes
1answer
260 views

About fsck and a HDD's reserved space for bad sectors

So when you do a full fsck on a hard drive to find bad blocks, does it ignore or exempt that space on the drive where it puts (reallocates) bad blocks into? I'm talking about the space implied by the ...
1
vote
1answer
702 views

Does the number of files affect fsck's performance?

Will a 100GB disk with 1,000,000 files take longer than a 100GB disk with 100 files when running fsck?
1
vote
2answers
366 views

Linux, corrupted file, ran fsck, file still corrupted

Here's my situation: I have a server running Ubuntu Server 9.04 I copied a file on the server and was able to access the file from a Windows client computer without any problem. Then recently I ...
1
vote
2answers
461 views

Find files > 0 bytes in length that consist only of NUL in Debian/Ubuntu

After fsck'ing an ext4 drive that had been running in a QNAP nas without an fsck for about four years, I now have a number of files that seem but be the correct size (typically 8-12mib), but each byte ...
0
votes
1answer
770 views

Forcing a verbose fsck on reboot (Ubuntu)

I'd like to force a verbose fsck on reboot of my Ubuntu linux server, I can get fsck to run on reboot by creating a file /forcefsck in my root dir ... Additionally, by adding a y into the contents of ...
1
vote
0answers
238 views

Can you run “fsck.ext2 -fycc /dev/mapper/truecrypt1” on an unmounted Truecrypt device?

Can you run "fsck.ext2 -fycc /dev/mapper/truecrypt1" on an unmounted Truecrypt device? The "extra c" in the -fycc causes it to do a supposedly "non destructive" read-write (Similar to what ...
1
vote
1answer
941 views

Bad blocks detected by fsck. SMART says disk is good

Using Ubuntu 12.04, I booted into maintenance mode and selected fsck from the menu. This ran a filesystem check on all my volumes (all ext2), mounting them read/write by default. After the tests ...
2
votes
1answer
891 views

Can't recover hard drive

My drive got corrupt after a thunderstorm. It used to be 1 partition of 2.5tb but now it shows 2 partitions. It's weird because 300gig free space is about how much it had before corrupting, but it was ...
2
votes
1answer
520 views

Hard drive partition size wrong. How do I resize without loss of data?

$ fsck fsck from util-linux 2.20.1 e2fsck 1.42 (29-Nov-2011) The filesystem size (according to the superblock) is 610471680 blocks The physical size of the device is 536870911 blocks Either the ...
2
votes
1answer
1k views

Filesystem corruption (?) and appropriate use of fsck

Last week at work, our linux server (CentOS 5.5) was unresponsive to log in attempts, so I had to hard shut down it. After pulling out a couple of disks, on boot up it reported a degraded raid array ...
3
votes
3answers
2k views

break out of e2fsck on boot

Is it possible to somehow break out of e2fsck on boot? My system runs e2fsck every 30 days, which is fine by me and I want it to stay that way. But sometimes when I turn on the computer and 30 days ...
0
votes
0answers
609 views

Fsck says read block too short

Yesterday I left my Ubuntu laptop alone for a bit, and the power cable got knocked out, so the computer got shut down. Upon starting it up, it insisted on running fsck, which failed, asking me to run ...
1
vote
2answers
485 views

Prevent e2fsck from running out of memory?

I have a box running Ubuntu 11.10 with 512MB RAM and no swap. It has a 1TB USB HDD with ext3 filesystem attached. Sitting idle, it's only using about 60MB. When I run e2fsck, it runs out of memory, ...
0
votes
2answers
600 views

How to tell when a machine is fsck-ing and hasn't had a kernel panic?

I have a server with Debian on it that I regularly reboot after upgrades. Sometimes (on schedule) fsck will check a disk when the computer is booting. With the exception of sitting in front of the ...
1
vote
2answers
174 views

Can I cpulimit fsck without problems?

My special laptop tends to overheat and shutdown under Linux unless I cpulimit demanding programs. Would there be a problem with using cpulimit to limit fsck? Basically, the target process, which ...
1
vote
1answer
337 views

Filesystem handling for embedded Linux device

I am developing a device that will run Linux as its operating system. The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any ...
8
votes
3answers
35k views

fsck an ntfs drive in Linux

Is there a way to fsck/chkdsk an NTFS drive from Linux?
1
vote
5answers
1k views

Why does linux check disks during boot instead of shutdown? [closed]

I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it ...
1
vote
5answers
3k views

Perform bad blocks scan on root partition in Linux

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to ...
1
vote
1answer
3k views

fsck error: currently, only 1 or 2 FATs are supported, not 34

Why do I get the fsck error: "currently, only 1 or 2 FATs are supported, not 34?" And what can I do to successfully run fsck? I'm fsck-ing my Transcend 16GB Class-6 SD card. It got corrupted recently ...
3
votes
3answers
9k views

How do I prevent a memory card from mounting as read-only in Ubuntu Linux?

I'm using Ubuntu 9.04 and when I try to mount an SD card with the GUI I have to type sudo mount -o remount,rw /media/disk before I can write anything to the card. Is there a hidden setting to make it ...
3
votes
6answers
10k views

Ext3 drive will not mount after power failure; how to recover files?

After a recent power failure which caused my linux box (Ubuntu 8.10) to rapidly poweroff twice from a normal running state, I have a drive that will not mount. UPDATE: The drive will sometimes ...
5
votes
3answers
24k views

fsck: Options for most thorough disk check

I've got a disk with a known problem (I know because dd gags when I try to clone it). But when I boot with a live CD and run fsck on the unmounted partition, I get this: ubuntu@ubuntu:~$ sudo fsck ...
12
votes
3answers
11k views

What is the difference between fsck and e2fsck?

What is the difference between the linux disk error-checking tools fsck and e2fsck?