Re: [OpenAFS] Add new fileserver

2007-04-13 Thread Steve Simmons
On Apr 12, 2007, at 10:19 AM, chas williams - CONTRACTOR wrote: In message [EMAIL PROTECTED],Steve Simmons write s: You also comment that multihomed cells would be listed more than once. Yes, uniq-ifying them would be good. Can you point me at a cell to test against? yeah, i said unique

Re: [OpenAFS] Add new fileserver

2007-04-12 Thread Steve Simmons
On Apr 10, 2007, at 2:13 PM, chas williams - CONTRACTOR wrote: In message [EMAIL PROTECTED],Steve Simmons write s: open( FSDATA, vos listaddrs -noauth | ); multihomed cells will be listed more than once. perhaps uniq would be helpful here. while ( $server = FSDATA ) {

Re: [OpenAFS] Add new fileserver

2007-04-12 Thread chas williams - CONTRACTOR
In message [EMAIL PROTECTED],Steve Simmons write s: my servers dont start with afs. is this a common thing? Most cells I've seen do that. But that particular line is a umich-ism that ought to be taken out. looking at CellServDB i wouldnt say most. You also comment that multihomed cells

Re: [OpenAFS] Add new fileserver

2007-04-12 Thread Christopher D. Clausen
chas williams - CONTRACTOR [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED],Steve Simmons write s: my servers dont start with afs. is this a common thing? Most cells I've seen do that. But that particular line is a umich-ism that ought to be taken out. looking at CellServDB i wouldnt

Re: [OpenAFS] Add new fileserver

2007-04-12 Thread Jeffrey Hutzelman
On Thursday, April 12, 2007 10:41:28 AM -0500 Christopher D. Clausen [EMAIL PROTECTED] wrote: chas williams - CONTRACTOR [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED],Steve Simmons write s: my servers dont start with afs. is this a common thing? Most cells I've seen do that.

Re: [OpenAFS] Add new fileserver

2007-04-11 Thread Derek Atkins
FTR, At MIT what we used to do (and might STILL do) is make a small volume on every partition (svc.part.host.part) and mount it into /afs/cell/service/partitions. Then you can do: fs df /afs/cell/service/partitions/* And it will tell you how much space you have in your cell. -derek --

Re: [OpenAFS] Add new fileserver

2007-04-10 Thread Steve Simmons
On Apr 8, 2007, at 4:39 AM, Chris Huebsch wrote: There is no command give me all the available space on all of my afs servers. You need to write a little script for that. So space does not combine or sum up. Enjoy. Works on the half-dozen cells I've tried it on. afsdf Description:

Re: [OpenAFS] Add new fileserver

2007-04-10 Thread chas williams - CONTRACTOR
In message [EMAIL PROTECTED],Steve Simmons write s: open( FSDATA, vos listaddrs -noauth | ); multihomed cells will be listed more than once. perhaps uniq would be helpful here. while ( $server = FSDATA ) { chomp $server; # I'm not thrilled with this, but it works for us

Re: [OpenAFS] Add new fileserver

2007-04-09 Thread Steve Devine
Alexander Boström wrote: sön 2007-04-08 klockan 17:33 +0800 skrev Melvin Wong: But I'm a bit lost on how should I further expand to afs2, afs3 and so on. If I create a home directory for my users on afs1, do I need to create the exact directory on my afs2? You create a volume (vos

Re: [OpenAFS] Add new fileserver

2007-04-09 Thread Chris Huebsch
On Mon, 9 Apr 2007, Steve Devine wrote: You create a volume (vos create) on the server you want to use and then you mount that somewhere (fs mkm). I suggest you create one volume for each user, one for each project etc. And make sure replicate all volumes that need not be updated too often

[OpenAFS] Add new fileserver

2007-04-08 Thread Melvin Wong
Hi, I am trying to add a new fileserver to my 1st afs server to increase the storage space. I did managed to get the 2nd afs server sync with the 1st afs server. But the client still see only the 1st afs's vol space when I fs diskfree /afs. Must I perform another step or the storage space should

Re: [OpenAFS] Add new fileserver

2007-04-08 Thread Chris Huebsch
Hello, On Sun, 8 Apr 2007, Melvin Wong wrote: I am trying to add a new fileserver to my 1st afs server to increase the storage space. I did managed to get the 2nd afs server sync with the 1st afs server. But the client still see only the 1st afs's vol space when I fs diskfree /afs. You are

Re: [OpenAFS] Add new fileserver

2007-04-08 Thread Alexander Boström
sön 2007-04-08 klockan 15:18 +0800 skrev Melvin Wong: But the client still see only the 1st afs's vol space when I fs diskfree /afs. Must I perform another step or the storage space should automatically combine once it sync? Is there any guide out there to help me? Appreciate if someone can

RE: [OpenAFS] Add new fileserver

2007-04-08 Thread Melvin Wong
users on afs1, do I need to create the exact directory on my afs2? Appreciate for the all the help given. Melvin -Original Message- From: Chris Huebsch [mailto:[EMAIL PROTECTED] Sent: Sunday, April 08, 2007 4:40 PM To: Melvin Wong Cc: openafs-info@openafs.org Subject: Re: [OpenAFS] Add new

Re: [OpenAFS] Add new fileserver

2007-04-08 Thread Dirk Heinrichs
Am Sonntag, 8. April 2007 schrieb Melvin Wong: [EMAIL PROTECTED] ~]# vos listaddrs afs1.ben.muveenet afs2.ben.muveenet [EMAIL PROTECTED] ~]# vos partinfo afs1.ben.muveenet Free space on partition /vicepa: 711420 K blocks out of total 734684 [EMAIL PROTECTED] ~]# vos partinfo

RE: [OpenAFS] Add new fileserver

2007-04-08 Thread Chris Huebsch
Hello, On Sun, 8 Apr 2007, Melvin Wong wrote: Tks for replying so fast. Maybe I am not so clear with openafs's concept and I find the openafs guide not really so updated and clear. I execute the commands as you has re: [EMAIL PROTECTED] ~]# vos listaddrs afs1.ben.muveenet afs2.ben.muveenet

Re: [OpenAFS] Add new fileserver

2007-04-08 Thread Chris Huebsch
On Sun, 8 Apr 2007, Dirk Heinrichs wrote: However, it is not recommended to do this for volumes which should be writeable most of the times (because afs always prefers the read-only volume over the read-write one). This is not the whole story. You can have ro-copies of your

Re: [OpenAFS] Add new fileserver

2007-04-08 Thread Jim Rees
Chris Huebsch wrote: There is no command give me all the available space on all of my afs servers. You need to write a little script for that. Here's mine: % which rdf rdf: aliased to fs df /afs/citi.umich.edu/partitions/* To make this work you have to remember to create a tiny volume