-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christof Hanke wrote: > On Wednesday 12 November 2008 13:42:29 Papp Tamás wrote: >> Jason Edgecombe wrote: >>> Try this: >>> 1. install new drive >>> 2. partition & mkfs on new drive >>> 3. mount new partition as /vicepb >>> 4. bos restart -server my.server.name -all >>> 5. vos partinfo -server my.server.name # should show vicepb now >>> 6. vos create -server my.server.name -part b -name my.volume --maxquota >>> 1000 -verbose >>> step 6 is optional. vos create or vos move should honor the new drive >>> now. >> This is almost exactly what I'm looking for. What I want to no is to >> extend an existing volume. >> >> The size of the volume called for example 'files.projects' is now 10 GB. >> And I want to expand it to 20 GB with an other partition (right now in >> this test setup it's an other partition, but it would be an other >> server's partition). >> > Sorry you can't do that. > A volume is always completely on one partition on the server. > If your server partition is to small you need to move it to a bigger one.
I think I need to add some more facts: 1. max. number of files in a directory on AFS space is limited by the length of filenames - usually aound 50k (max. 64k files with max. 8 bytes long filename, 32k files with 9-16 bytes,...) 2. max 255 partition for one fileserver 3. max 255 fileservers for a cell 4. max size 2 TB for a (partition ?)volume looks like you can create a lot of volumes (volume name is limited to 22 chars) and mount them whereever you want into AFS space. E.G. you can resist your home directory in one volume and limit the size of that volume to 30 GB, but you are also able to create another volume, eg user.abc.data, mount it under your home directoy as data and put your 20 GB data in it and limit the rest of your home to 10 GB. As nearly ALL operands are atomar to the volumes (backup, to), it is easier to limit the size of volumes and create more. > Once you have enough space on on the server partition , you extend a volume > by the "fs setquota" command. The max size of a volume is the max available space on the partition, the volume resists on. If you move a volume from one fileserver to another, the user ususal does not notice it, as the volume is "down" for a few seconds only (although copy of data could take up some hours). > T/Christof MfG, Lars Schimmer - -- - ------------------------------------------------------------- TU Graz, Institut für ComputerGraphik & WissensVisualisierung Tel: +43 316 873-5405 E-Mail: [EMAIL PROTECTED] Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkaxokACgkQmWhuE0qbFyM5ywCfTS+6e9BhLXuSrjfP+FcZSt0d MpoAnjUw6EDGj2PidWBN3Ksys0VaPLdb =HPix -----END PGP SIGNATURE----- _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
