[OpenAFS] Re: OpenAFS 1.6.0 on Solaris 10 sparc - inode, fileserver does not start

2011-09-28 Thread Andrew Deason
On Wed, 28 Sep 2011 14:37:32 -0400
David R Boldt  wrote:

> Error occurs even when no /vicep* partitions exist.
> Baffled as to why it is looking at every mounted partition on the system.

Because the partition code can be dumb. Sorry about that; try gerrit
5514

which should apply to 1.6 with fuzz 2. Obviously it's only a problem if
you have other "logging" partitions on the system.

-- 
Andrew Deason
adea...@sinenomine.net

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] OpenAFS 1.6.0 on Solaris 10 sparc - inode, fileserver does not start

2011-09-28 Thread David R Boldt
This happened during an upgrade, so I tested using a temporary cell which 
displayed the same behavior.

% tail   FileLog 
Wed Sep 28 14:25:41 2011 Creating new SysID file
Wed Sep 28 14:25:41 2011 VL_RegisterAddrs rpc failed; will retry 
periodically (code=5376, err=0)
Wed Sep 28 14:25:41 2011 Set thread id 133 for FSYNC_sync
Wed Sep 28 14:25:41 2011 This program is compiled without AFS_NAMEI_ENV, 
and partition / is mounted with the 'logging' option. Using the inode 
fileserver backend with 'logging' UFS partitions causes volume corruption, 
so please either mount the partition without logging, or use the namei 
fileserver backend. Aborting...
Wed Sep 28 14:25:41 2011 This program is compiled without AFS_NAMEI_ENV, 
and partition /usr is mounted with the 'logging' option. Using the inode 
fileserver backend with 'logging' UFS partitions causes volume corruption, 
so please either mount the partition without logging, or use the namei 
fileserver backend. Aborting...
Wed Sep 28 14:25:41 2011 This program is compiled without AFS_NAMEI_ENV, 
and partition /var is mounted with the 'logging' option. Using the inode 
fileserver backend with 'logging' UFS partitions causes volume corruption, 
so please either mount the partition without logging, or use the namei 
fileserver backend. Aborting...
Wed Sep 28 14:25:41 2011 This program is compiled without AFS_NAMEI_ENV, 
and partition /opt is mounted with the 'logging' option. Using the inode 
fileserver backend with 'logging' UFS partitions causes volume corruption, 
so please either mount the partition without logging, or use the namei 
fileserver backend. Aborting...
Wed Sep 28 14:25:41 2011 This program is compiled without AFS_NAMEI_ENV, 
and partition /usr/opt is mounted with the 'logging' option. Using the 
inode fileserver backend with 'logging' UFS partitions causes volume 
corruption, so please either mount the partition without logging, or use 
the namei fileserver backend. Aborting...
Wed Sep 28 14:25:41 2011 Shutting down: errors encountered initializing 
volume package
Wed Sep 28 14:25:41 2011 VShutdown:  aborting attach volumes


Error occurs even when no /vicep* partitions exist.
Baffled as to why it is looking at every mounted partition on the system.


 -- David Boldt
 


   "Quit worrying about your health. It'll go away."
--Robert Orben


Re: [OpenAFS] Windows file locking do not work on IFS client.

2011-09-28 Thread Anders Magnusson

On 09/28/2011 04:20 PM, Jeff Blaine wrote:

This would be a bug.  Please file bugs to openafs-info@openafs.org.


Or ideally openafs-b...@openafs.org


Hehe :-)

Done!

-- Ragge
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Windows file locking do not work on IFS client.

2011-09-28 Thread Jeff Blaine

This would be a bug.  Please file bugs to openafs-info@openafs.org.


Or ideally openafs-b...@openafs.org
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Windows file locking do not work on IFS client.

2011-09-28 Thread Jeffrey Altman
On 9/28/2011 10:06 AM, Anders Magnusson wrote:
> 
> Environment:
> Server:  OpenAFS 1.4.12.1, Redhat 5.3
> Client: Windows 7, OpenAFS 1.7.1
> 
> It seems that file locking has stopped working in the new client,
> resulting in data corruption :-/
> 
> Simple test case:
> 
> - Have two Win7 clients
> - Open a .xlsx document in Office 2010 on one of them.
> - Open the same document on the second machine.  No complaints.
> - Write something in the document on the first machine, save it and quit.
> - Write something in the document on the second machine, save it and quit.
> 
> The first thing written is now gone.
> 
> Setting EnableServerLocks to 2 do not help.  The document just does not
> seem to be locked.
> 
> If a file is opened with an older SMB client then the IFS client
> understands it, and tells that
> it is locked on the Win7 machine.
> 
> Any hints?  Something missed to be configured?

Unlikely that you missed anything.  The question is whether or not the
lock request is being passed onto the service.

This would be a bug.  Please file bugs to openafs-info@openafs.org.

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


[OpenAFS] Windows file locking do not work on IFS client.

2011-09-28 Thread Anders Magnusson


Environment:
Server:  OpenAFS 1.4.12.1, Redhat 5.3
Client: Windows 7, OpenAFS 1.7.1

It seems that file locking has stopped working in the new client, 
resulting in data corruption :-/


Simple test case:

- Have two Win7 clients
- Open a .xlsx document in Office 2010 on one of them.
- Open the same document on the second machine.  No complaints.
- Write something in the document on the first machine, save it and quit.
- Write something in the document on the second machine, save it and quit.

The first thing written is now gone.

Setting EnableServerLocks to 2 do not help.  The document just does not 
seem to be locked.


If a file is opened with an older SMB client then the IFS client 
understands it, and tells that

it is locked on the Win7 machine.

Any hints?  Something missed to be configured?

-- Ragge
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] problems with de-installing OpenAFS 1.5.x on windows 7 - Reason found

2011-09-28 Thread Jeffrey Altman
On 9/28/2011 5:40 AM, Lars Schimmer wrote:
> On 2011-09-23 09:00, Lars Schimmer wrote:
>> Hello
>>
>> I experienced some heavy problems with deinstalling the 64bit package of
>> OpenAFS 1.5.x on our windows 7 workstations.
> 
> Now I found the reason (I am 99% sure).
> Once we started with Windows 7 and OpenAFS and user profiles in OpenAFS
> space, we had problems with users not able to wait until OpenAFS loaded
> to login.
> So we managed to write a small registry patch to change the startup
> orders of some services.
> And AFAIK all these workstations which had that patch applied, died
> horrible on deinstall the OpenAFS package.
> All workstations which works well after deinstall OpenAFS did not have
> had this patch installed.
> 
> (reason found, solution would be: revert patch ahead of deinstall or
> reinstall Windows)
> 
> MfG,
> Lars Schimmer

The correct place to fix this would have been in Network Provider.  If
the network provider is still not waiting for the afsd_service to start,
file a bug report or send a patch.

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


Re: [OpenAFS] OpenAfs+Kerberos+OSXLion+Finder+Two Realms

2011-09-28 Thread Derrick Brashear
On Wed, Sep 28, 2011 at 6:25 AM, Ivan Glushkov
 wrote:
> On 22.09.2011, at 13:41, Derrick Brashear wrote:
>
>>> User's (AFS ID ***50) tokens for a...@desy.de [Expires Sep 23 08:18]
>>> User's (AFS ID ***38) tokens for a...@cern.ch [Expires Sep 23 08:18]
>>>   --End of list--
>>> ~ >
>>
>> it's silly to hide these (AFS IDs). they give us nothing anyway.
>
> Sorry, I did not know that.
>
>>
>>> Sometimes
>>> only desy.de...
>>
>> what tokens do you have then? get output when only desy works, from tokens.
>
>
>> Here is the output when only desy.de works:
>
>  > pas
> glush...@cern.ch's Password:
> Placing tickets for 'glush...@cern.ch' in cache 'FILE:/tmp/krb5cc_cern'
> glush...@desy.de's Password:
> Placing tickets for 'glush...@desy.de' in cache 'FILE:/tmp/krb5cc_desy'
> ~ > touch /afs/desy.de/
> Display all 104 possibilities? (y or n)
> ~ > touch /afs/desy.de/us
> user/ usr/
> ~ > touch /afs/desy.de/user/g/glushkov/testfile99i34rho34
> ~ > touch /afs/cern.ch/user/g/glushkov/testfile99i34rho34
> touch: /afs/cern.ch/user/g/glushkov/testfile99i34rho34: Operation timed out

which isn't permission denied. it's "operation timed out", like it
says. network issues don't go away when you authenticate.

fs checks -c cern.ch

> ~ > tokens
>
> Tokens held by the Cache Manager:
>
> User's (AFS ID 11450) tokens for a...@desy.de [Expires Sep 29 13:07]
> User's (AFS ID 32738) tokens for a...@cern.ch [Expires Sep 29 13:07]
>   --End of list--
> ~ > alias | grep pas
> alias pas='kdestroy --all; export KRB5CCNAME=FILE:/tmp/krb5cc_cern ; kinit -V 
> glush...@cern.ch; aklog -force -c cern.ch -k CERN.CH; export 
> KRB5CCNAME=FILE:/tmp/krb5cc_desy ; kinit -V glush...@desy.de; aklog -force -c 
> desy.de -k DESY.DE'


-- 
Derrick
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] OpenAfs+Kerberos+OSXLion+Finder+Two Realms

2011-09-28 Thread Ivan Glushkov
On 22.09.2011, at 13:41, Derrick Brashear wrote:

>> User's (AFS ID ***50) tokens for a...@desy.de [Expires Sep 23 08:18]
>> User's (AFS ID ***38) tokens for a...@cern.ch [Expires Sep 23 08:18]
>>   --End of list--
>> ~ >
> 
> it's silly to hide these (AFS IDs). they give us nothing anyway.

Sorry, I did not know that.

> 
>> Sometimes
>> only desy.de...
> 
> what tokens do you have then? get output when only desy works, from tokens.


> Here is the output when only desy.de works:

 > pas
glush...@cern.ch's Password: 
Placing tickets for 'glush...@cern.ch' in cache 'FILE:/tmp/krb5cc_cern'
glush...@desy.de's Password: 
Placing tickets for 'glush...@desy.de' in cache 'FILE:/tmp/krb5cc_desy'
~ > touch /afs/desy.de/
Display all 104 possibilities? (y or n)
~ > touch /afs/desy.de/us
user/ usr/  
~ > touch /afs/desy.de/user/g/glushkov/testfile99i34rho34
~ > touch /afs/cern.ch/user/g/glushkov/testfile99i34rho34
touch: /afs/cern.ch/user/g/glushkov/testfile99i34rho34: Operation timed out
~ > tokens

Tokens held by the Cache Manager:

User's (AFS ID 11450) tokens for a...@desy.de [Expires Sep 29 13:07]
User's (AFS ID 32738) tokens for a...@cern.ch [Expires Sep 29 13:07]
   --End of list--
~ > alias | grep pas
alias pas='kdestroy --all; export KRB5CCNAME=FILE:/tmp/krb5cc_cern ; kinit -V 
glush...@cern.ch; aklog -force -c cern.ch -k CERN.CH; export 
KRB5CCNAME=FILE:/tmp/krb5cc_desy ; kinit -V glush...@desy.de; aklog -force -c 
desy.de -k DESY.DE'

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] problems with de-installing OpenAFS 1.5.x on windows 7 - Reason found

2011-09-28 Thread Lars Schimmer

On 2011-09-23 09:00, Lars Schimmer wrote:

Hello

I experienced some heavy problems with deinstalling the 64bit package of
OpenAFS 1.5.x on our windows 7 workstations.


Now I found the reason (I am 99% sure).
Once we started with Windows 7 and OpenAFS and user profiles in OpenAFS 
space, we had problems with users not able to wait until OpenAFS loaded 
to login.
So we managed to write a small registry patch to change the startup 
orders of some services.
And AFAIK all these workstations which had that patch applied, died 
horrible on deinstall the OpenAFS package.
All workstations which works well after deinstall OpenAFS did not have 
had this patch installed.


(reason found, solution would be: revert patch ahead of deinstall or 
reinstall Windows)


MfG,
Lars Schimmer
--
-
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405   E-Mail: l.schim...@cgv.tugraz.at
Fax: +43 316 873-5402   PGP-Key-ID: 0x4A9B1723
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info