| Summary: | OpenAFS init script: cache must follow links | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sensei <senseiwa> |
| Component: | [OLD] Server | Assignee: | Stefaan De Roeck (RETIRED) <stefaan> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | mmokrejs, net-fs, rutledad |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | The init scripts checks the afs cache over the filesystem, not only as a partition | ||
|
Description
Sensei
2004-08-15 03:23:22 UTC
Created attachment 37469 [details, diff]
The init scripts checks the afs cache over the filesystem, not only as a partition
With this patch, OpenAFS checks whether /usr/vice/cache is mounted or points as
a symlink to an ext2 partition.
There's another issue we should take care of: we must check if the cache is on
a non-journaled partition, not if it's simply an ext2 filesystem.
Hey, openafs runs on journalled filesystems, sure. I think you mess it up a bit. Currently, openafs on linux can run the server part (i.e. the stuff forked under bosserver) on *any* partition. The fileserver process is on linux to be namei based by default (inode based version isn't available at all). So, I run 1.3.73 on xfs partititon. With the afsd kernel process, called cache manager, yes it can run safely only on ext2 or ext3. The check for cache *must* take care of symlinks. I proposed a patch. The cache can reside on a journaled fs, but anyway it's suggested to use ext2, as you can see from the original init script. I'm not arguing about using ext3, but just allowing symlinks. OpenAFS needs a developer to take up maintenance. New ebuilds for openafs 1.2.13 (stable) and 1.3.85 (experimental) are available for testing. According to openafs-ml, 1.3.85 is currently undergoing testing so it can become 1.4rc. The new init-scripts don't bother with the check where the cache partition is mounted anymore, it's left as the administrator's responsibility (choose symlink, ext2/ext3, dedicated/non-dedicated partition as you like)... It'd be great if the new proposed ebuilds could be tested The check for an ext2 partition as a cache has been obsoleted. Hence the problem will not appear anymore. |