You are not logged in.

#1 2011-06-25 16:06:45

Evilandi666
Member
Registered: 2010-10-28
Posts: 105

Mounting fails at boottime after fsck and destroys partition...

Hi,

I bought a new SSD for my laptop and just copied arch to it (like I did that to other HDD/SSDs before) and I really got a weird problem:

(Setup: SSD 60 GB mx-nano; sda1: / 12 GB ext4,sda2: Swap 2048 MB,sda3:  /home about 42 GB ext4, all mounted via UUIDs)

At boottime fsck says "clean" to my two ext4 partitions (/ and /home), but then the second partition(/home) fails to mount directly after that. (it is "corrupted" but repairable with fsck.ext4)

This is kind of weird, that mounting directly after checking fails, but I can add some more fun:

It mostly happens after halt and boot, only seldom after reboot.

If I disable fsck by putting 0 to the pass part of my /home partition in /etc/fstab, I got no more problems.(this means that now only / is checked at boot-time, but that works fine.)
(I also tried to put 2 to /home -> did not help).

I also rearranged Partitions, so that /home changed from sda2 to sda3, but that did not help.

I also tried to merge /home into /, so that I have only two partitions (/ and swap), but then / fails same way as /home did.

First I thought, that the problem is the ssd itself. I made a secure erase, installed Ubuntu 11.04 ..(but when I deletet Ubuntu I took notice that swap was gone bad... so maybe that was a random problem or the same problem, don't know.).
Then I tried Windows -> no problems at all.

I first also thought, that somehow ecryptfs is the problem, but this also happens after a clean arch install (without ecryptfs).

I also tried kernel26-lts .. (2.6.32) same problem.

One last note: If I don't repair /home after it is "corrupted", next boot / will be corrupted.

So .. I got no idea what to do.

I don't want to disable fsck at boot. I also found that: https://bbs.archlinux.org/viewtopic.php … 17#p602317 .. maybe that helps? I try that now.

Anyone of you got an idea for me?

P.S.: Sry for bad english.

Last edited by Evilandi666 (2011-06-25 16:07:58)

Offline

#2 2011-06-25 16:54:28

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Mounting fails at boottime after fsck and destroys partition...

Check for SMART errors, maybe try badblocks to check for bad sectors (not sure if that's useful on SSDs.)

Offline

#3 2011-06-25 18:14:06

Evilandi666
Member
Registered: 2010-10-28
Posts: 105

Re: Mounting fails at boottime after fsck and destroys partition...

Smart says everthing okay. I played a bit arround with /etc/rc.sysinit and the problem is the fsck line:

if I do  blkid before the fsck there are 3 partitions... then I do blkid after the fsck and last partition is gone.

...

Really strange. I don't think that the ssd is damaged or something.

Offline

Board footer

Powered by FluxBB