github.com/rohankumardubey/proxyfs@v0.0.0-20210108201508-653efa9ab00e/proxyfsd/file_server.conf (about) 1 # File Server description 2 3 [PhysicalContainerLayout:CommonVolumePhysicalContainerLayoutReplicated3Way] 4 ContainerStoragePolicy: silver # bronze 5 ContainerNamePrefix: Replicated3Way_ # ErasureCoded_ 6 ContainersPerPeer: 10 7 MaxObjectsPerContainer: 1000000 8 9 [SnapShotSchedule:MinutelySnapShotSchedule] 10 CronTab: * * * * * # Every minute 11 Keep: 59 12 13 [SnapShotSchedule:HourlySnapShotSchedule] 14 CronTab: 0 * * * * # At the top of every hour 15 Keep: 23 16 17 [SnapShotSchedule:DailySnapShotSchedule] 18 CronTab: 0 0 * * * # At midnight every day 19 Keep: 6 20 21 [SnapShotSchedule:WeeklySnapShotSchedule] 22 CronTab: 0 0 * * 0 # At midnight every Sunday 23 Keep: 8 24 25 [SnapShotSchedule:MonthlySnapShotSchedule] 26 CronTab: 0 0 1 * * # At midnight on the first of every month 27 Keep: 11 28 29 [SnapShotSchedule:YearlySnapShotSchedule] 30 CronTab: 0 0 1 1 * # At midnight on the January 1st of every year 31 Keep: 4 32 33 [SnapShotPolicy:CommonSnapShotPolicy] 34 ScheduleList: MinutelySnapShotSchedule,HourlySnapShotSchedule,DailySnapShotSchedule,WeeklySnapShotSchedule,MonthlySnapShotSchedule,YearlySnapShotSchedule 35 TimeZone: America/Los_Angeles 36 37 [SnapShotSchedule:TestSnapShotSchedule] 38 CronTab: * * * * * # Every minute 39 Keep: 3 40 41 [SnapShotPolicy:TestSnapShotPolicy] 42 ScheduleList: TestSnapShotSchedule 43 TimeZone: America/Los_Angeles 44 45 # A description of a volume / file system 46 [Volume:CommonVolume] 47 FSID: 1 48 FUSEMountPointName: CommonMountPoint 49 NFSExportClientMapList: CommonVolumeNFSClient0 50 SMBShareName: CommonShare 51 AccountName: AUTH_test 52 AutoFormat: false 53 NonceValuesToReserve: 100 54 MaxEntriesPerDirNode: 32 55 MaxExtentsPerFileNode: 32 56 MaxInodesPerMetadataNode: 32 57 MaxLogSegmentsPerMetadataNode: 64 58 MaxDirFileNodesPerMetadataNode: 16 59 MaxCreatedDeletedObjectsPerMetadataNode: 256 60 CheckpointEtcdKeyName: ProxyFS:Volume:CommonVolume:Checkpoint 61 CheckpointContainerName: .__checkpoint__ 62 CheckpointContainerStoragePolicy: gold 63 CheckpointInterval: 10s 64 #ReplayLogFileName: CommonVolume.rlog 65 DefaultPhysicalContainerLayout: CommonVolumePhysicalContainerLayoutReplicated3Way 66 MaxFlushSize: 10485760 67 MaxFlushTime: 10s 68 FileDefragmentChunkSize: 10485760 69 FileDefragmentChunkDelay: 10ms 70 ReportedBlockSize: 65536 71 ReportedFragmentSize: 65536 72 ReportedNumBlocks: 1677721600 73 ReportedNumInodes: 107374182400 74 SnapShotIDNumBits: 10 75 MaxBytesInodeCache: 10485760 76 InodeCacheEvictInterval: 1s 77 #SnapShotPolicy: CommonSnapShotPolicy # Optional 78 #SnapShotPolicy: TestSnapShotPolicy 79 SMBValidUserList: swift 80 SMBBrowseable: true 81 SMBStrictSync: yes 82 SMBAuditLogging: false 83 SMBEncryptionRequired: false 84 ActiveLeaseEvictLowLimit: 5000 85 ActiveLeaseEvictHighLimit: 5010 86 87 [NFSClientMap:CommonVolumeNFSClient0] 88 ClientPattern: * 89 AccessMode: rw 90 RootSquash: no_root_squash 91 Secure: insecure 92 93 # A description of a volume group 94 # 95 # PrimaryPeer should be the lone Peer in Cluster.Peers that will serve this set of volumes 96 # All VolumeGroups sharing a VirtualIPAddr (empty or not) containing SMB Volumes should agree on SMB* Key:Values 97 [VolumeGroup:CommonVolumeGroup] 98 VolumeList: CommonVolume 99 VirtualIPAddr: 100 PrimaryPeer: Peer0 101 ReadCacheLineSize: 1048576 102 ReadCacheWeight: 100 103 SMBWorkgroup: # If missing or blank, defaults to WORKGROUP 104 SMBActiveDirectoryEnabled: false # If true, all other SMBActiveDirectory* Key:Values are required (defaults to false) 105 SMBActiveDirectoryRealm: 106 SMBActiveDirectoryIDMapDefaultMin: 107 SMBActiveDirectoryIDMapDefaultMax: 108 SMBActiveDirectoryIDMapWorkgroupMin: 109 SMBActiveDirectoryIDMapWorkgroupMax: 110 111 [FSGlobals] 112 VolumeGroupList: CommonVolumeGroup 113 CheckpointHeaderConsensusAttempts: 5 114 MountRetryLimit: 6 115 MountRetryDelay: 1s 116 MountRetryExpBackoff: 2 117 LogCheckpointHeaderPosts: true 118 TryLockBackoffMin: 10ms 119 TryLockBackoffMax: 50ms 120 TryLockSerializationThreshhold: 5 121 SymlinkMax: 32 122 CoalesceElementChunkSize: 16 123 InodeRecCacheEvictLowLimit: 10000 124 InodeRecCacheEvictHighLimit: 10010 125 LogSegmentRecCacheEvictLowLimit: 10000 126 LogSegmentRecCacheEvictHighLimit: 10010 127 BPlusTreeObjectCacheEvictLowLimit: 10000 128 BPlusTreeObjectCacheEvictHighLimit: 10010 129 CreatedDeletedObjectsCacheEvictLowLimit: 10000 130 CreatedDeletedObjectsCacheEvictHighLimit: 10010 131 DirEntryCacheEvictLowLimit: 10000 132 DirEntryCacheEvictHighLimit: 10010 133 FileExtentMapEvictLowLimit: 10000 134 FileExtentMapEvictHighLimit: 10010 135 EtcdEnabled: false 136 EtcdEndpoints: 127.0.0.1:2379 137 EtcdAutoSyncInterval: 1m 138 EtcdDialTimeout: 10s 139 EtcdOpTimeout: 20s 140 MetadataRecycleBin: false 141 SMBUserList: swift 142 SMBMapToGuest: # One of Never, Bad User, Bad Password, or Bad Uid (case insensitive)... defaults to Never 143 SMBNetBiosName: # Defaults to `hostname -s` (i.e. short host name) 144 145 [SMBUsers] 146 swift: c3dpZnQ= # base64.standard_b64encode("swift")