[OpenAFS] newbie admin question

Lars Schimmer schimmer@cg.cs.tu-bs.de
Sun, 03 Apr 2005 12:58:11 +0200


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

jdisher@parad.net schrieb:
| This is probably a question answered in the documentation, but I've been
| Googling and looking through the docs for a few hours now with no love.
| Hopefully someone has the quick seven-command answer for me.
|
| I have two fileservers, identically configured running Linux.  Both are
| 16 disk machines with 3Ware 3w9500-8 hardware raid cards, configured as
| 1.0TB RAID10 arrays.  Their filesystems are laid out as such:
|
| sfs0 root # df -h
| Filesystem            Size  Used Avail Use% Mounted on
| /dev/sda2             3.8G  1.8G  2.1G  47% /
| none                  2.0G     0  2.0G   0% /dev/shm
| /dev/sda3             913G   32K  913G   1% /vicepa
| /dev/sdb3             913G   32K  913G   1% /vicepb
|
| What I would like is for all 4 of the data partitions (sfs0:/vicepa,
| sfs0:/vicepb, sfs1:/vicepa, sfs1:/vicepb) to be part of one distributed
| afs volume (so I can mount it as, say, /data on my client servers).
| I've not found what is needed to add additional partitions to a volume.

You can only mount a volume in one partition.
So for your setup you need to first make a big partition of that 4 ones and than
make /vicepa on this and create a volume in this.
But thats really a bad one.
Just make more smaller volumes, like volume data on top, than volume data.cd1 ,
data.cd2 data.cd3 under this and so on.
In this case you've got more volumes and if a HD/raid fails, the others are
still online and available. And speed is better, to.
With afs and this kinds of volume mount there is no need of real big volumes, as
long as you don't really need a directory with 4TB data in it :-)

| Thanks for the help.
|
| -j

Cya
Lars
- --
- -----------------------------------------------------------------
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109            E-Mail: schimmer@cg.cs.tu-bs.de
PGP-Key-ID: 0xB87A0E03


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCT8xDVguzrLh6DgMRAgO+AJ9t/TGY+IonjvNg5UH/MBOaYuPX1QCgu8Tf
aqBNwim21U0Pnu14fRCxfaI=
=jhRQ
-----END PGP SIGNATURE-----