Opened 13 years ago
Last modified 12 years ago
#257 new defect
/usr/vice/cache can fail to mount — at Initial Version
Reported by: | geofft | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | internals | Keywords: | shell, fedora |
Cc: |
Description
In checking up on assertions that running fsck on our ext2 AFS cache partition on boot (in the event of a crash) is going to be painful, I realized that (since it's listed with fs_passno 0) the AFS cache partition is never going to be fsck'd on boot. I suspect how this will play out is that it will fail to mount (because the kernel can't do journal recovery and call it done), the boot process will continue, and AFS will start up using the _mount point_ /usr/vice/cache on the root filesystem as its cache, which will boot promptly, but be subtly painful in other ways.
I'm not really seeing a good way to address this other than editing /etc/rc/rc.sysinit to have the logic we want (attempt to mount the partition, and if that fails mkfs and reattempt to mount it).