From Arne.Wiebalck@cern.ch Tue Jul 3 10:00:07 2012 From: Arne.Wiebalck@cern.ch (Arne Wiebalck) Date: Tue, 3 Jul 2012 09:00:07 +0000 Subject: [OpenAFS] OpenAFS for Windows 1.7.15: NIM/Heimdal crashes Message-ID: <1AF6B081-6980-40D0-8ABD-2A4FA33FBAAB@cern.ch> Hi, We observe what seems to be two different types of NIM/Heimdal crashes when= =20 using Heimdal 1.5.1 NIM 2.0.102.907 OpenAFS for Windows 1.7.15 Windows 7 Enterprise SP1, 64 bit The first crash happens intermittently when obtaining new krb5 credentials. We have not found a way yet to reproduce it reliably, but obtaining new credentials for a couple of times will crash NIM sooner or later. We though= t it might be related to our DNS aliased AD KDC which has three machines, but it seem we run into the same crash when we limit things to one KDC. The second crash happens reliably when deselecting the 'Addressless'=20 option in the Advanced options Kerberos v5 panel. We're not really experienced with debugging this on Windows, so any hints what to look at or what other info is needed to understand what happens=20 would be greatly appreciated. Thanks, Arne =20 From dantolov@indiana.edu Tue Jul 3 21:27:02 2012 From: dantolov@indiana.edu (Danko Antolovic) Date: Tue, 3 Jul 2012 16:27:02 -0400 Subject: [OpenAFS] Transfer rates under OpenAFS client for Windows Message-ID: <251D82B5D0E944EE900DE88C2A60DCFF@ads.iu.edu> This is a multi-part message in MIME format. ------=_NextPart_000_0003_01CD5938.AD9F20A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I have Windows OpenAFS client 1.7.1500 on a 32-bit machine with Windows XP and a 100 mbit/s network interface. Line rate between the client's port and the target AFS file server is ca. 96 mbit/s for UDP, in both directions (measured with iperf). When I copy a single large file (ca. 1 GB) from the server to the client machine, I see a network utilization maxed at ca. 70 mbit/s, and timing the file transfer yields a similar overall rate. When I copy the same file from the client to the server, network utilization is 30 mbit/s at the maximum. Copying is always preceded by "fs flushall". My first question is why copying from the client to the file server is so much slower (by a factor of 2 or 3) than the other way around. The other question is why the network utilization, at least as reported under Windows, never approaches the line rate, even at quiet times, but rather stays below the caps of 70 and 30 percent. The client configuration parameters are: Cache size: 800 Mbytes Chunk size: 8192 Kbytes Daemons: 16 RxMaxMTU: 9000 Sec. level: 1 Server threads: 40 Stats: 20000 entries The machine has 3.45 Gbytes of RAM, and the paging file size is set at 5.3 Gbytes. I have consulted this post: http://blog.secure-endpoints.com/2008/03/i-want-my-openafs-windows-client-to -be.html but have not been able to improve the transfer rates by tweaking the client's parameters. Thank you for any help. Danko Antolovic Principal Scientist, Research Technologies, Indiana University ------=_NextPart_000_0003_01CD5938.AD9F20A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I have Windows OpenAFS client 1.7.1500 on a 32-bit machine =
with
Windows XP and a 100 mbit/s network interface. Line rate between =
the
client’s port and the target AFS file server is ca. 96 mbit/s for =
UDP, in
both directions (measured with iperf).
When I copy a single large file (ca. 1 GB) from the server to =
the
client machine, I see a network utilization maxed at ca. 70 mbit/s, and =
timing
the file transfer yields a similar overall rate. When I copy the same =
file from
the client to the server, network utilization is 30 mbit/s at the =
maximum.
Copying is always preceded by “fs =
flushall”.
My first question is why copying from the client to the file =
server is
so much slower (by a factor of 2 or 3) than the other way around. =
The
other question is why the network utilization, at least as reported =
under
Windows, never approaches the line rate, even at quiet times, but rather =
stays
below the caps of 70 and 30 percent.
The client configuration parameters =
are:
Cache size: 800 Mbytes
Chunk size: 8192 Kbytes
Daemons: 16
RxMaxMTU: 9000
Sec. level: 1
Server threads: 40
Stats: 20000 entries
The machine has 3.45 Gbytes of RAM, and the paging file size is =
set at
5.3 Gbytes.
I have consulted this post:
http://blog.secure-endpoints.com/2008/03/i-want-my-o=
penafs-windows-client-to-be.html
but have not been able to improve the transfer rates by tweaking =
the
client’s parameters.
Thank you for any help.
Danko Antolovic
Principal Scientist, Research =
Technologies,
> I just sent off a (believed to be final) patch to ge= t 1.6.1 in the freebsdThanks! =C2=A0This has hit the ports treen and I got quite a bit furt= her.
> ports collection this morning; it should hit the ports tree within a d= ay or
> two.
OpenAFS is running, but now when I go to create a file system, I get:
root@server: vos create server /vicepa root.afs -localauth
vos : partition /vicepa does not exist on the server
The folder /vicepa does indeed exist, and is empty:
> But is it a partition (that is, a local mountpoint)?= =C2=A0You may need to 'touchWhy is your suggestion a "bad idea in general"? =C2=A0Is it= less stable?
> /vicepa/AlwaysAttach' to force it to use arbitrary directories; th= is is a
> bad idea in general.
Less performant?
Danko,
Probably making the change to "FastSendDatag=
ramThreshold" is what you want to do. I've reading quite a bit a=
bout this setting, and getting conflicting reasoning on whether the default=
should be changed. For example, on this page...
http://technet.microsoft.com/fr-fr/library/cc781532%28v=3Dws.10%29.aspx=
... we see...
FastSendDatagramThr=
eshold
Value Type: REG=
_DWORD
Default: 1024
Description: Da=
tagrams smaller than the value of this parameter go through the fast I/O pa=
th or are buffered on send. Larger ones are held until the datagram is actu=
ally sent. The default value was found
by testing to be the best overall value for performance. Fast I/O means co=
pying data and bypassing the I/O subsystem, instead of mapping memory and g=
oing through the I/O subsystem. This is advantageous for small amounts of d=
ata.
Changing this value is not generally recommended.
However this page...
http://www.microsoft.com/windows/windowsmedia/howto/articles/optimize_web.a=
spx
... says...
"Windows Serve=
r 2003 uses the FastSendDatagramThreshold registry key to determine whether=
a datagram should go through the fast I/O path or should be buffered durin=
g a send operation. Fast I/O means that the
server bypasses the I/O subsystem and copies data directly to the network =
interface buffer.
The default value o=
f the FastSendDatagramThreshold key is 1024. If the number of packets in a =
stream exceeds this value, additional operations are necessary. As a result=
, CPU utilization and context switches
increase, while the maximum number of simultaneous clients that the server=
can handle decreases. Performance tests showed that changing the default t=
hreshold setting to a higher value, such as 1500 bytes, improves server per=
formance.
In general, only=
high-bit-rate streams are affected by changing this key. Packet sizes larg=
er than 1024 bytes usually appear in content that has bit rates higher than=
100 Kbps. A side effect of changing
this key value is an increase in the number of non-paged pool bytes alloca=
ted for the server. This change does not cause any significant problems=
."
I can't find any information on whether the defau=
lt value of 1024 from Microsoft has changed under Windows 7 or Server 2008.=
It is generally not a good idea to change the Ope=
nAFS client service "rxMaxMTU" value from 0 (zero) unless you hav=
e good reason to do so. In another email to me, Jeffery Altman states=
"... the problem with setting RxMaxMTU (to
a specific value besides zero*) is that it disables every future=
thing we (the AFS developers=
*) will do to improve Rx throughput". *My emphasis.
So I think the best path is to leave “rxMax=
MTU” at 0 (zero), and set “FastSendDatagramThreshold” to =
1500. That shouldn’t cause any of your other applications probl=
ems. The setting seems to control only how much “stress” =
your CPU is
under.
Rodney
Rodney Dyer
Operations and Systems (Specialist)
Mosaic Computing Group
William States Lee College of Engineering
University of North Carolina at Charlotte
> -----Original Message-----
> From: Danko Antolovic [mailto:dantolov@india=
na.edu]
> Sent: Thursday, July 05, 2012 5:26 PM
> To: Dyer, Rodney; openafs-info@openafs.org
> Subject: RE: [OpenAFS] Transfer rates under =
OpenAFS client for Windows
>
> The parameter RxMaxMTU makes a difference: w=
hen it is set to 1024, using Intel
> 82567LM NIC, network utilization is close to=
100% for both reads and writes with
> Windows AFS client. Thanks for the germane i=
nformation, Rodney.
>
>
> My system configuration: Dell Latitude, 2.53=
GHz, 32-bit, 3.45 GByte RAM,
> 100 mbit/s Ethernet port, Intel 82567LM Giga=
bit NIC.
>
> Windows XP, paging file size is 5302 MBytes,=
although that is probably not
> critical.
>
> Open AFS client version 1.7.1500.
>
> This set of AFS client configuration paramet=
ers works reasonably well on my
> system:
>
> Key Name:
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\=
Services\TransarcAFSDaem
> on\Param
> eters
> Class Name: &nb=
sp; <NO CLASS>
> Last Write Time: 7/5/2012 - 4:17=
PM
> Value 0
> Name: &nb=
sp; HideDotFiles
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x1
>
> Value 1
> Name: &nb=
sp; <NO NAME>
> Type: &nb=
sp; REG_SZ
> Data:
>
> Value 2
> Name: &nb=
sp; IsGateway
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x0
>
> Value 3
> Name: &nb=
sp; RxMaxMTU
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x400
>
> Value 4
> Name: &nb=
sp; NetbiosName
> Type: &nb=
sp; REG_SZ
> Data: &nb=
sp; AFS
>
> Value 5
> Name: &nb=
sp; Cell
> Type: &nb=
sp; REG_SZ
> Data: &nb=
sp; iu.edu
>
> Value 6
> Name: &nb=
sp; MountRoot
> Type: &nb=
sp; REG_SZ
> Data: &nb=
sp; /afs
>
> Value 7
> Name: &nb=
sp; NoFindLanaByName
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x1
>
> Value 8
> Name: &nb=
sp; FreelanceClient
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x1
>
> Value 9
> Name: &nb=
sp; UseDNS
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x1
>
> Value 10
> Name: &nb=
sp; SecurityLevel
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x1
>
> Value 11
> Name: &nb=
sp; SMBAuthType
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x2
>
> Value 12
> Name: &nb=
sp; CacheSize
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0xc3500
>
> Value 13
> Name: &nb=
sp; ChunkSize
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x15
>
> Value 14
> Name: &nb=
sp; ServerThreads
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x28
>
> Value 15
> Name: &nb=
sp; Daemons
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x10
>
> Value 16
> Name: &nb=
sp; Stats
> Type: &nb=
sp; REG_DWORD
> Data: &nb=
sp; 0x4e20
>
>
>
>
>
> -----Original Message-----
> From: openafs-info-admin@openafs.org [mailto=
:openafs-info-
> admin@openafs.org]
> On Behalf Of Dyer, Rodney
> Sent: Tuesday, July 03, 2012 9:40 PM
> To: jaltman@your-file-system.com; openafs-in=
fo@openafs.org
> Subject: RE: [OpenAFS] Transfer rates under =
OpenAFS client for Windows
>
> I'm not sure if this information still appli=
es here, but back in 2010 I did some testing
> and found that some of our DELL client machi=
nes with Intel based "on board"
> network chips performed significantly slower=
on writes than reads. We were using
> Windows XP Pro SP3 (32bit). The OpenAF=
S client was the 1.5 series at the time.
>
> After more research I found that changing th=
e rxMaxMTU to a value of 512 to
> 1024 on our network increased the write spee=
d up to 150 percent.
>
> If I set the value rxMaxMTU from 1024 to 102=
5, the performance of the client
> dropped by at least half.
>
> The poor performance only seems to appear on=
two models of Dell clients...
>
> Dell OptiPlex 760, with "Intel(R) 82567=
LM-3 Gigabit Network Connection"
> Dell OptiPlex 755, with "Intel(R) 82566=
DM-2 Gigabit Network Connection"
>
> All other Dell machines that I've tested wit=
h the "Broadcom NetXtreme 57xx Gigabit
> Controller" were ok with either 0 (zero=
), or 1260 set as "rxMaxMTU".
>
> This was tested in multiple offices on multi=
ple machines.
>
> Normally the AFS client automatically determ=
ines the MaxMTU if the rxMaxMTU is
> set to 0.
>
> The issue was not really with the OpenAFS cl=
ient, it was with how the Intel network
> driver was interacting with Windows.
>
> There was more research done and found that =
changing the Windows
> "FastSendDatagramThreshold" to som=
ething like 1500 solved the problem.
> However I was never sure if I wanted to chan=
ge the Microsoft "default" on all our
> machines.
>
> We never implemented a mass roll-out network=
configuration change to our
> Windows client machines to fix the problem.&=
nbsp; I just quietly let the problem drop on
> the floor. So the problem still exists=
in our environment.
>
> Rodney Dyer
>
>
> > -----Original Message-----
> > From: openafs-info-admin@openafs.org
> [mailto:openafs-info-admin@openafs.org] On
> > Behalf Of Jeffrey Altman
> > Sent: Tuesday, July 03, 2012 8:31 PM
> > To: openafs-info@openafs.org
> > Subject: Re: [OpenAFS] Transfer rates u=
nder OpenAFS client for Windows
> >
> > On 7/3/2012 4:27 PM, Danko Antolovic wr=
ote:
> >
> > > My first question is why copying f=
rom the client to the file server
> > > is so much slower (by a factor of&=
nbsp; 2 or 3) than the other way
> > > around. The other question is why =
the network utilization, at least
> > > as reported under Windows, never a=
pproaches the line rate, even at
> > > quiet times, but rather stays belo=
w the caps of 70 and 30 percent.
> >
> > It won't go any faster with the OpenAFS=
RX implementation.
> >
> > Jeffrey Altman
>
> :??
http://lists.openafs.org/pipermail/openafs-info/2008-December/030552.html which says that I have to create a keyfile with des-cbc-crc:v4 salt, after some struggle with IPA I finally created the keyfile with des-cbc-crc:v4. It did not help, I still get the same error. ===== [root@smb1 ~]# bos status smb1 Instance buserver, currently running normally. Instance ptserver, currently running normally. Instance vlserver, currently running normally. Instance dafs, currently running normally. Auxiliary status is: file server running. Instance upserver, currently running normally. [root@smb1 ~]# kinit admin [root@smb1 ~]# aklog -d Authenticating to cell openafs.sri.utoronto.ca (server smb1.sri.utoronto.ca). Trying to authenticate to user's realm SRI.UTORONTO.CA. Getting tickets: afs/openafs.sri.utoronto.ca@SRI.UTORONTO.CA Using Kerberos V5 ticket natively About to resolve name admin to id in cell openafs.sri.utoronto.ca. Id 1 Set username to AFS ID 1 Setting tokens. AFS ID 1 @ openafs.sri.utoronto.ca [root@smb1 ~]# klist -e Ticket cache: FILE:/tmp/krb5cc_0 Default principal: admin@SRI.UTORONTO.CA Valid starting Expires Service principal 07/12/12 10:56:17 07/13/12 10:56:10 krbtgt/SRI.UTORONTO.CA@SRI.UTORONTO.CA Etype (skey, tkt): aes256-cts-hmac-sha1-96, aes256-cts-hmac-sha1-96 07/12/12 10:56:29 07/13/12 10:56:10 afs/openafs.sri.utoronto.ca@SRI.UTORONTO.CA Etype (skey, tkt): des-cbc-crc, des-cbc-crc [root@smb1 ~]# fs setacl /afs system:anyuser rl fs: You don't have the required access rights on '/afs' ===== All logs seem OK except this: [root@smb1 ~]# cat /usr/afs/logs/FileLog Wed Jul 11 15:45:27 2012 File server starting (/usr/afs/bin/dafileserver) Wed Jul 11 15:45:27 2012 afs_krb_get_lrealm failed, using openafs.sri.utoronto.ca. Wed Jul 11 15:45:30 2012 VL_RegisterAddrs rpc failed; will retry periodically (code=5376, err=0) Wed Jul 11 15:45:30 2012 VLRU: starting scanner with the following configuration parameters: Wed Jul 11 15:45:30 2012 VLRU: offlining volumes after minimum of 7200 seconds of inactivity Wed Jul 11 15:45:30 2012 VLRU: running VLRU soft detach pass every 120 seconds Wed Jul 11 15:45:30 2012 VLRU: taking up to 8 volumes offline per pass Wed Jul 11 15:45:30 2012 VLRU: scanning generation 0 for inactive volumes every 900 seconds Wed Jul 11 15:45:30 2012 VLRU: scanning for promotion/demotion between generations 0 and 1 every 14400 seconds Wed Jul 11 15:45:30 2012 VLRU: scanning for promotion/demotion between generations 1 and 2 every 28800 seconds Wed Jul 11 15:45:30 2012 Set thread id 3 for FSYNC_sync Wed Jul 11 15:45:30 2012 VInitVolumePackage: beginning parallel fileserver startup Wed Jul 11 15:45:30 2012 VInitVolumePackage: using 1 threads to pre-attach volumes on 1 partitions Wed Jul 11 15:45:30 2012 Scanning partitions on thread 1 of 1 Wed Jul 11 15:45:30 2012 Partition /vicepa: pre-attaching volumes Wed Jul 11 15:45:30 2012 Partition scan thread 1 of 1 ended Wed Jul 11 15:45:30 2012 fs_stateRestore: commencing fileserver state restore Wed Jul 11 15:45:30 2012 fs_stateRestore: host table restored Wed Jul 11 15:45:30 2012 fs_stateRestore: FileEntry and CallBack tables restored Wed Jul 11 15:45:30 2012 fs_stateRestore: host table indices remapped Wed Jul 11 15:45:30 2012 fs_stateRestore: FileEntry and CallBack indices remapped Wed Jul 11 15:45:30 2012 fs_stateRestore: restore phase complete Wed Jul 11 15:45:30 2012 fs_stateRestore: beginning state verification phase Wed Jul 11 15:45:30 2012 fs_stateRestore: fileserver state verification complete Wed Jul 11 15:45:30 2012 fs_stateRestore: restore was successful Wed Jul 11 15:45:30 2012 Getting FileServer name... Wed Jul 11 15:45:30 2012 FileServer host name is 'smb1.sri.utoronto.ca' Wed Jul 11 15:45:30 2012 Getting FileServer address... Wed Jul 11 15:45:30 2012 Set thread id 0000000000000010 for 'HostCheckLWP' Wed Jul 11 15:45:30 2012 FileServer smb1.sri.utoronto.ca has address x.x.x.x Wed Jul 11 15:45:30 2012 File Server started Wed Jul 11 15:45:30 2012 Wed Jul 11 15:45:30 2012 Set thread id 000000000000000B for 'FiveMinuteCheckLWP' Wed Jul 11 15:45:30 2012 Set thread id 000000000000000C for 'FsyncCheckLWP'Thanks,
I did use asetkey to add the key with thr right vno to KeyFile. But I wasOn Thu, 12 Jul 2012 11:16:55 -0400 Qing Chang <qchang@sri.utoronto.ca> wrote:which says that I have to create a keyfile with des-cbc-crc:v4 salt, after some struggle with IPA I finally created the keyfile with des-cbc-crc:v4. It did not help, I still get the same error.Did you just extract a keytab, or did you also add the key to the KeyFile using 'asetkey'? This is described on the page 'Initializing Cell Security' around step 7: <http://docs.openafs.org/QuickStartUnix/ch02s14.html>.
--------------070906060200060008050608-- From qchang@sri.utoronto.ca Thu Jul 12 20:45:57 2012 From: qchang@sri.utoronto.ca (Qing Chang) Date: Thu, 12 Jul 2012 15:45:57 -0400 Subject: [OpenAFS] Re: IPA + OpenAFS In-Reply-To: <20120712143503.f09e4225.adeason@sinenomine.net> References: <2586A1048152BE4D861E64A98700AD420B1EFAF6@nki-mail.NKI.rfmh.org> <4FFEEA67.6030503@sri.utoronto.ca> <20120712143503.f09e4225.adeason@sinenomine.net> Message-ID: <4FFF2975.1030004@sri.utoronto.ca> This is a multi-part message in MIME format. --------------070305010100010103010403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/07/2012 3:35 PM, Andrew Deason wrote: > On Thu, 12 Jul 2012 11:16:55 -0400 > Qing ChangIf you did actually create a KeyFile, you need to restart the server processes for it to take effect. (Or 'touch' the server-side CellServDB file.) You can run 'bos listkeys <server> -local' to show what keys the server thinks it has (don't show this output to the list). You should have at least one key listed if everything is set up correctly.
thank you very much Andrew, at least I know I am not fighting 2 battles at once.On Thu, 12 Jul 2012 11:16:55 -0400 Qing Chang <qchang@sri.utoronto.ca> wrote:As recommended, you should create an AFS service principal as afs/DOMAIN@REALM, eg, afs/sri.utoronto.ca. IPA does not allow a service principal to be created if there is no corresponding host principal. Hence, I have to have this: afs/openafs.sri.utoronto.ca, where openafs.sri.utoronto.ca is the FQDN of the server. OpenAFS seems to be happy with this,I forgot to mention... if it wasn't clear, this means that your cell name will be openafs.sri.utoronto.ca, not sri.utoronto.ca. That's not a problem if you're okay with that, but it may look a little funny; it's like having an email address like <qchang@sendmail.sri.utoronto.ca>. It also may be a little confusing, since if you ever have more than one server for the cell, afs/openafs.sri.utoronto.ca will be used by several servers with different FQDNs, not just openafs.sri. I haven't used IPA, but I assume you could create a host principal for sri.utoronto.ca and then just not use it, to get around that restriction. But that's not required.
Wed Jul 11 15:45:27 2012 afs_krb_get_lrealm failed, using openafs.sri.utoronto.ca. I'll do that when this moves to production... Qing--------------070305010100010103010403-- From adeason@sinenomine.net Thu Jul 12 20:49:39 2012 From: adeason@sinenomine.net (Andrew Deason) Date: Thu, 12 Jul 2012 14:49:39 -0500 Subject: [OpenAFS] Re: IPA + OpenAFS References: <2586A1048152BE4D861E64A98700AD420B1EFAF6@nki-mail.NKI.rfmh.org> <4FFEEA67.6030503@sri.utoronto.ca> <20120712142552.cfa26fa4.adeason@sinenomine.net> <4FFF27D9.3040206@sri.utoronto.ca> Message-ID: <20120712144939.a2ec3f36.adeason@sinenomine.net> On Thu, 12 Jul 2012 15:39:05 -0400 Qing Chang
--------------030703060104080008070208-- From shadow@gmail.com Fri Jul 13 16:47:42 2012 From: shadow@gmail.com (Derrick Brashear) Date: Fri, 13 Jul 2012 11:47:42 -0400 Subject: [OpenAFS] Re: IPA + OpenAFS In-Reply-To: <50004175.7050104@sri.utoronto.ca> References: <4FFF3EAC.2030202@sri.utoronto.ca> <4FFF3F3C.8060105@sri.utoronto.ca> <20120712165251.95c47cb6.adeason@sinenomine.net> <50002D96.5090107@sri.utoronto.ca> <20120713094740.866a69b8.adeason@sinenomine.net> <50004175.7050104@sri.utoronto.ca> Message-ID:On Fri, 13 Jul 2012 10:15:50 -0400 Qing Chang <qchang@sri.utoronto.ca> wrote:Silly me, I just copied system krb5.conf to the location without really noticing the difference in name and syntax... [root@smb1 etc]# cat /usr/afs/etc/krb5.conf # Realm mapping: SRI.UTORONTO.CAThe file is krb.conf, not krb5.conf. And don't put any comments in the file; the only thing in that file should be the realm name, by itself. You want it to look like: [root@smb1 etc]# cat /usr/afs/etc/krb.conf SRI.UTORONTO.CA [root@smb1 etc]#But I am still stuck: [root@smb1 ~]# fs listacl /afs fs:'/afs': Connection timed outThat's going to keep happening if you're using dynroot; that's unrelated to your issues.
On Fri, Jul 13, 2012 at 11:40 AM, Qing Chang <qcha= ng@sri.utoronto.ca> wrote:
--Though I get this t= he next:
[root@smb1 etc]# fs mkmount /afs/openafs.sri.utoronto.ca=C2=A0 root.cell
fs: cell dynroot not in /usr/vice/etc/CellServDB
You're using dynroot; you don't need to do this, it's generated dynamically.
brandon s allbery =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0allbery.b@gmail.com
wandering unix systems administrator (available) =C2=A0 =C2=A0 (4= 12) 475-9364 vm/sms
--------------030809080308070408050708-- From allbery.b@gmail.com Fri Jul 13 16:49:58 2012 From: allbery.b@gmail.com (Brandon Allbery) Date: Fri, 13 Jul 2012 11:49:58 -0400 Subject: [OpenAFS] Re: IPA + OpenAFS In-Reply-To: <50004175.7050104@sri.utoronto.ca> References: <4FFF3EAC.2030202@sri.utoronto.ca> <4FFF3F3C.8060105@sri.utoronto.ca> <20120712165251.95c47cb6.adeason@sinenomine.net> <50002D96.5090107@sri.utoronto.ca> <20120713094740.866a69b8.adeason@sinenomine.net> <50004175.7050104@sri.utoronto.ca> Message-ID:
[root@smb1 logs]# udebug smb1 7003 -longOn Mon, 16 Jul 2012 11:02:16 -0400 Qing Chang <qchang@sri.utoronto.ca> wrote:[root@smb1 afs]# vos create smb1 /vicepa afsdoc -maxquota 0 Could not get an Id for volume afsdoc u: no quorum electedWhat is the output from 'udebug <server> 7003 -long' ?
--------------060208020906070109070609-- From adeason@sinenomine.net Mon Jul 16 23:02:43 2012 From: adeason@sinenomine.net (Andrew Deason) Date: Mon, 16 Jul 2012 17:02:43 -0500 Subject: [OpenAFS] Re: bos backupsys silently failing for one or two volumes? References: <584987D9-F7A1-4FE2-91D9-6D2A1A09413F@umich.edu> Message-ID: <20120716170243.506047ca.adeason@sinenomine.net> On Mon, 16 Jul 2012 15:07:10 -0400 Steve Simmons
[root@smb1 logs]# cat /usr/afs/etc/CellServDB[sorry for delays, I am rather busy] On Mon, 16 Jul 2012 15:44:19 -0400 Qing Chang <qchang@sri.utoronto.ca> wrote:[root@smb1 logs]# udebug smb1 7003 -long Host's addresses are: (smb1's IP) Host's(smb1's IP) time is Mon Jul 16 15:37:57 2012 Local time is Mon Jul 16 15:37:58 2012 (time differential 1 secs) Last yes vote not cast yet Local db version is 1342191857.6 I am sync site forever (0 server) Recovery state 0So, the vlserver thinks you have 0 servers in your cell. That's peculiar. What is in your /usr/afs/etc/CellServDB? This is your server-side CellServDB, which is different than the client-side CellServDB in /usr/vice/etc/CellServDB.
I think I followed the instruction by running this:In the quick start guide, this should have been configured around the 'Defining Cell Name and Membership for Server Processes' step.
bos setcellname <I may have done something wrong with the client side stuff, I did not removemachine name
> <cell name
> -noauth
I can easily (via kinit, or the Ticket Viewer) acquire ti= ckets for any
1.4.12+dfsg-3+ubuntu0.1. I = am planning to replace this OpenAFS server=20 with another one on another machine running Ubuntu 12.04, which comes=20 with OpenAFS version 1.6.1-1. What's the simplest way to transfer the= =20 data over to the new server? Would just rsyncing /vicepa work?
Thank you for advising.
Hi everyone,
How do other sites deal with groups after users are =
deleted? How do you expire groups that own other groups? Are there pre-exis=
ting scripts for doing this?
Thanks,
Jason
------------------------------------------=
---------------------------------
Jason Edgeco=
mbe
| Linux and Solaris Administrator
UNC Charlott=
e
| The William States Lee College of Engineering
9201 Univers=
ity City Blvd.
| Charlotte, NC 28223-0001
Phone: 704-6=
87-3514
jwedgeco@uncc.edu=
| http:/=
/coe.uncc.edu |
Facebook<=
/span>
------------=
---------------------------------------------------------------
If you are n=
ot the intended recipient of this transmission or a person responsible for =
delivering it to the intended recipient, any disclosure, copying,
distribution, or other use of any of the information in this transmission =
is strictly prohibited. If you have received this transmission in error, pl=
ease notify me immediately by reply e-mail or by telephone at 704-687-3514.=
Thank you.
On Thu, 26 Jul 2012 14:22:25 +0300As Lars mentions, using 'vos move' is often the "best&qu= ot; way; the way most
Youssef Eldakar <youssefelda= kar@gmail.com> wrote:
> 1.4.12+dfsg-3+ubuntu0.1. I am planning to replace this OpenAFS server<= br> > with another one on another machine running Ubuntu 12.04, which comes<= br> > with OpenAFS version 1.6.1-1. What's the simplest way to transfer = the
> data over to the new server? Would just rsyncing /vicepa work?
likely to not have problems. If you 'vos move' all of the data, mak= e
sure to keep the old server on for at least 2 hours after everything has
moved before turning it off, so clients have a chance to notice that
their data has moved.
If you cannot or do not want to do that, yes, you can just rsync the
/vicep* directories (make sure you use -a). If you do that, you will
also want to sync the /var/lib/openafs/local directory (do _not_ do this
if you 'vos move' the data instead).
--
Andrew Deason
adeason@sinenomine.net
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info