[OpenAFS] RE: fileserver and /vicepa

Caskey L. Dickson caskey@technocage.com
Sat, 03 Jun 2006 03:01:06 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

vladimir konrad wrote:
|>To answer your question... No, the fileserver cannot be configured to
|>look elsewhere (unless you change some code).
|>What's the problem with mounting your storage for AFS to /vicepXX?

| i have another box with 1.5TB raid array as one giant file system with
about
| 500GB spare (more than enough space to replace the dead afs server).
|
| i wanted to configure this 1.5TB machine as a fileserver until the
problem with the
| old one is solved. the problem is that i cannot simply create a new
partition on the
| 1.5TB array (there is no disk partition on it at all, i think the
normal partition cannot
| be that big) so i would like to have a sub-directory on the array
holding the openafs volumes.
|
| just a crazy thought, would not symlink work (/vicepa ->
/some/directory/elsewhere)?

The best solution in this sort of emergency is (assuming your O/S
supports them) is to create a loopback filesystem image and mount that
on /vicepa.

dd if=/dev/zero bs=1024 count=1 seek=500000 of=/some/directory/vice.img
mkfs /some/directory/vice.img
mount /some/directory/vice.img /vicepa

That should get you over the hump.

CLD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: http://www.technocage.com/~caskey/pubkey.txt

iD8DBQFEgV3YPU2b1GM6XVsRAhsnAJ4s8JoL4WafJ2XbuGKajOvWcy0eggCfeMiw
x3puBHj4TRD8B+9owVlvFWc=
=ODwg
-----END PGP SIGNATURE-----