i remarked ext4, after a power failure, often needs a manual fsck, sometimes even resulting in data loss. Is XFS or other filesystems any better? Can I do fsck with xfs from the rescue boot etc.?
on 06/02/2012 – Made popular on 06/02/2012
Yet another filesystem question. I wanted to use a USB drive that I hadn't mounted for a month or so and was surprised by the fact Ubuntu was unable to mount it. I looked it up in the disk utility and it said it discovered a device with 17 MB instead of 2 GB.
I have a couple of external drives formatted to ext4,after some use I can see this message
EXT4-fs (sdc1): warning: maximal mount count reached, running e2fsck is recommended
every time I attach one of them:do I have to run a manual fsck after unmounting it,or can I safely ignore the warning ?
From time to time it happens that I have a power failure and my computer shuts down uncleanly. Every time it happens, though, the next boot drops me into an emergency shell and tells me to run fsck manually.
This has happened more than once, and each time the system boots fine after running fsck. When I used Ubuntu I never had to run it manually.
fsck stands for "file system check" . systemd will check all of your filesystems every time you boot . systemd-fsck: /dev/sda4: clean, 2977/296096 files, 85427/1217024 blocks
systemd-fsck: /dev/sda1: clean, 345/26104 files, 34083/104388 blocks (check after next mount)These messages mean that there are no problems with your filesystems and they are "clean&
I installed Ubuntu server 10.04lts. It worked great for many months, until today i decided to run fsck on the system partition and although it warned me, I kept pressing yes and now it will only boot into grub prompt.