Re: [OpenAFS] Writing allowed where it's not expected
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 18.09.2011 09:47, schrieb Dirk Heinrichs: > Am 17.09.2011 17:51, schrieb Jeffrey Altman: > >> And is the sw.readonly volume accessible? > > Yes, I think so. > >> vos examine sw.readonly -cell altum.de > > sw.readonly 536871303 RO 3 K > On-line rohan.altum.de /vicepa RWrite 536871302 ROnly 536871303 > Backup 0 MaxQuota 5000 K CreationSat Sep 17 > 09:41:04 2011 CopySat Sep 17 09:41:04 2011 Backup > Never Last Access Sat Sep 17 09:40:59 2011 Last Update Sat Sep 17 > 09:40:59 2011 0 accesses in the past day (i.e., vnode references) > > RWrite: 536871302 ROnly: 536871303 number of sites -> 2 server > rohan.altum.de partition /vicepa RW Site server rohan.altum.de > partition /vicepa RO Site > > Is it because both are on the same partition? I guess not... Hmm, for some reason not entirely clear to me, it now works as expected. % pwd /afs/altum.de % touch sw/foo touch: cannot touch `sw/foo': Read-only file system % cd ../.altum.de % touch sw/foo % ll -g -n sw/foo - -rw--- 1 100 0 2011-09-18 10:16 sw/foo % cd - /afs/altum.de % ll -g -n sw/foo ls: cannot access sw/foo: No such file or directory % vos release sw Released volume sw successfully % ll -g -n sw/foo - -rw--- 1 100 0 Sep 18 10:16 sw/foo The only thing I did was to "vos release" _another_ volume that was mounted below .../sw and which showed up as "not released" in the output of "vos listvldb". Does this also count as "being on a read/write path"? Bye... Dirk -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFOdam18NVtnsLkZ7sRAgAUAJ9tan2EpjircwslV3mS6mVHiPbRQACeORGK NeWbmq+mol5Ed4N2eYFW7io= =EvFb -END PGP SIGNATURE- ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Writing allowed where it's not expected
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 17.09.2011 17:51, schrieb Jeffrey Altman: > And is the sw.readonly volume accessible? Yes, I think so. > vos examine sw.readonly -cell altum.de sw.readonly 536871303 RO 3 K On-line rohan.altum.de /vicepa RWrite 536871302 ROnly 536871303 Backup 0 MaxQuota 5000 K CreationSat Sep 17 09:41:04 2011 CopySat Sep 17 09:41:04 2011 Backup Never Last Access Sat Sep 17 09:40:59 2011 Last Update Sat Sep 17 09:40:59 2011 0 accesses in the past day (i.e., vnode references) RWrite: 536871302 ROnly: 536871303 number of sites -> 2 server rohan.altum.de partition /vicepa RW Site server rohan.altum.de partition /vicepa RO Site Is it because both are on the same partition? I guess not... Bye... Dirk -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFOdaIX8NVtnsLkZ7sRAl5eAKChRuwECjTdXZC4n8KhpMX0ln7mUQCeO0B2 TRt7ykSEgmAcoTGoeqipy+8= =TBzH -END PGP SIGNATURE- ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Writing allowed where it's not expected
On 9/17/2011 6:59 AM, Dirk Heinrichs wrote: > Am Samstag, den 17.09.2011, 05:32 -0400 schrieb Jeffrey Altman: > >> fs exa /afs/altum.de/sw > > File /afs/altum.de/sw (536871302.1.1) contained in volume 536871302 > Volume status for vid = 536871302 named sw > Current disk quota is 5000 > Current blocks used are 4 > The partition has 330552352 blocks available out of 472767424 > >> what version of openafs on what operating system? > > 1.6.0 (both server and client) on Linux (server is Debian with 2.6.39.4, > client is Ubuntu with 3.0.0). > > Bye... > > Dirk And is the sw.readonly volume accessible? vos examine sw.readonly -cell altum.de signature.asc Description: OpenPGP digital signature
Re: [OpenAFS] Writing allowed where it's not expected
Am Samstag, den 17.09.2011, 05:32 -0400 schrieb Jeffrey Altman: > fs exa /afs/altum.de/sw File /afs/altum.de/sw (536871302.1.1) contained in volume 536871302 Volume status for vid = 536871302 named sw Current disk quota is 5000 Current blocks used are 4 The partition has 330552352 blocks available out of 472767424 > what version of openafs on what operating system? 1.6.0 (both server and client) on Linux (server is Debian with 2.6.39.4, client is Ubuntu with 3.0.0). Bye... Dirk ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info
Re: [OpenAFS] Writing allowed where it's not expected
On 9/17/2011 5:23 AM, Dirk Heinrichs wrote: > Hi, > > I currently observe a strange behavior where I can write to a volume > although I am on a read-only path, like: > > % pwd > /afs > % fs lsm altum.de > 'altum.de' is a mount point for volume '#altum.de:root.cell' > % fs lsm .altum.de > '.altum.de' is a mount point for volume '%altum.de:root.cell' > % cd altum.de > % fs lsm sw > 'sw' is a mount point for volume '#sw' > % vos listvol rohan a |grep sw > sw536871302 RW 4 K On-line > sw.readonly 536871303 RO 3 K On-line > % ll sw/foo > zsh: no such file or directory: sw/foo > % touch sw/foo > % ll -g -n sw/foo > -rw--- 1 100 0 2011-09-17 11:14 sw/foo > > Shouldn't the write operation be prevented, since I am on a read-only > path? > > Bye... fs exa /afs/altum.de/sw what version of openafs on what operating system? signature.asc Description: OpenPGP digital signature
[OpenAFS] Writing allowed where it's not expected
Hi, I currently observe a strange behavior where I can write to a volume although I am on a read-only path, like: % pwd /afs % fs lsm altum.de 'altum.de' is a mount point for volume '#altum.de:root.cell' % fs lsm .altum.de '.altum.de' is a mount point for volume '%altum.de:root.cell' % cd altum.de % fs lsm sw 'sw' is a mount point for volume '#sw' % vos listvol rohan a |grep sw sw536871302 RW 4 K On-line sw.readonly 536871303 RO 3 K On-line % ll sw/foo zsh: no such file or directory: sw/foo % touch sw/foo % ll -g -n sw/foo -rw--- 1 100 0 2011-09-17 11:14 sw/foo Shouldn't the write operation be prevented, since I am on a read-only path? Bye... Dirk ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info