On 10/25/18 7:36 AM, Neil Brown wrote:
Hi,
We are currently running 1.6.23 file servers. We want to upgrade to 1.8.2, but
if I just bash on and replace the software, our dafsservers will no longer
start, giving errors like:
/usr/afs/bin/dafileserver: Too many values after switch -vattachpar
We do pass quite a few arguments to dafs. What we are currently using
with 1.6.23 is:
/usr/afs/bin/dafileserver -L -p 128 -rxpck 400 -busyat 600 -s 1200 -l 1200 -cb
500000 -b 240 -vc 1200 -allow-dotted-principals -vattachpar 128 -vlruthresh 240
But as I say, the same with 1.8.2 gives the above error. If I keep the
same arguments, but in a different order, I get a different error:
bash# /usr/afs/bin/dafileserverĀ -vlruthresh 240 -L -p 128 -rxpck 400 -busyat
600 -s 1200 -l 1200 -cb 500000 -b 240 -vc 1200 -allow-dotted-principals
-vattachpar 128
Illegal -implicit rights character '2'.
If I reduce the number of arguments dafileserver will start, so on one
of our experimental servers this does work:
/usr/afs/bin/dafileserver -LĀ -busyat 600 -s 1200 -l 1200 -b 240 -vc 1200
-allow-dotted-principals
I'm guessing it is maybe some buffer overflow in the argument
processing. I'm about to have a look at the source code, but I'll be a
bit out of my comfort zone.
Is anyone else running dafs on 1.8.2, what sort of arguments are you
using?
/usr/afs/bin/dafileserver -L -p 256 -b 512 -l 163840 -s 524288 -vc 1024 -cb
2621440 -rxpck 800 -udpsize 16777216 -sendsize 2097152 -vattachpar 128 -sync
onclose -implicit all
Some extra info. Yes we are using "bos create" to generate a suitable
BosConfig file, we are not starting dafileserver straight from the
command line.
All those extra arguments have grown over time as we try to improve
the performance of our fileservers. For example a typical file server
hardware consists of a Dell Poweredge R730xd with 64GB memory, 12x4TB
disks RAID10'd together. Giving us 10x2TB vicep partitions with an
average of 130 user home volumes on each partition.
This is running on Scientific Linux 7.5.
Thanks,
Neil
--
Rich Sudlow
University of Notre Dame
Center for Research Computing - Union Station
506 W. South St
South Bend, In 46601
(574) 631-7258 (office)
(574) 807-1046 (cell)
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info