Summary: | Portage system breaks permanently on power loss | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Charles N. Burns <charlesnburns> |
Component: | Core | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | karltk |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Charles N. Burns
2002-04-16 04:14:49 UTC
I've killed the power numerous times on ext3 filesystems (before, during, and after emerge) and not experienced this kind of failure. XFS caches data in memory before it writes to disk. This may not be a portage bug, but an XFS "feature". i had the same problem with xfs.. i reinstalled gentoo. i could not merge annything. OK. Your counter file got fried due to XFS being a pain in el tushbo. I'm going to mark this as WONTFIX but if this turns into a common problem we'll need to address it. It's really a "why I don't use XFS" type problem. This is a good reason to rely on mtimes (metadata) instead of the counter value (data), so I'm sending this off to (cc'ing) karltk. To fix: rm /var/cache/edb/counter and create a new file with one line in it that has the number "1000" in it. |