[OpenAFS] Re: Help: Add a new vol for home dirs

Lee Eric openlinuxsource@gmail.com
Fri, 10 Jun 2011 12:27:26 +0800


Thanks mate. Brilliant.

Eric

On Thu, Jun 9, 2011 at 11:12 PM, Andrew Deason <adeason@sinenomine.net> wro=
te:
> On Thu, 9 Jun 2011 16:17:48 +0800
> Lee Eric <openlinuxsource@gmail.com> wrote:
>
>> [root@server ~]# df -h
>> Filesystem =A0 =A0 =A0 =A0 =A0 =A0Size =A0Used Avail Use% Mounted on
>> /dev/mapper/VolGroup-lv_root
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 9.8G =A06.1G =A03.2G =A066% =
/
>> tmpfs =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 121M =A0 =A0 0 =A0121M =A0 0% /dev=
/shm
>> /dev/vda1 =A0 =A0 =A0 =A0 =A0 =A0 485M =A0 45M =A0415M =A010% /boot
>> /dev/sda =A0 =A0 =A0 =A0 =A0 =A0 =A04.5G =A0301M =A04.2G =A0 7% /pool
>> /dev/sdb =A0 =A0 =A0 =A0 =A0 =A0 =A02.0G =A0 68M =A02.0G =A0 4% /vicepa
>> AFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 8.6G =A0 =A0 0 =A08.6G =A0 0% /a=
fs
>> /dev/sdc =A0 =A0 =A0 =A0 =A0 =A0 =A02.0G =A0 33M =A02.0G =A0 2% /vicepb
>> [root@server ~]# vos create server.herdingcat.internal /vicepb home
>> vos : partition /vicepb does not exist on the server
>
> 'vos listpart' or 'vos partinfo' will list what partitions a server
> thinks it has. A fileserver only looks at what partitions it has on
> startup, so if /vicepb didn't exist when it started, it won't know that
> it's there. So, restarting the fileserver process may make it appear.
>
>> I don't know why it will happen. BTW, I also have a question about
>> such deployment. The root.cell is /afs/herdingcat.internal so I can
>> make a mount point at /afs/herdingcat.internal/home, my question is do
>> I have to create another volume for individual users? I think I may
>> specify users' home directories at /afs/herdingcat.internal/home when
>> I add users.
>
> You don't _have_ to do either way. You could have /afs/foo/home be just
> one big volume for all users if you wanted, but most sites have one
> volume per home directory. You can do space quotas per-volume and move
> data around per-volume; for those and a few other reasons, it tends to
> make sense to give each person their own volume.
>
> --
> Andrew Deason
> adeason@sinenomine.net
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>