|
@ -44,7 +44,7 @@ var ( |
|
|
serverPeers = cmdServer.Flag.String("peers", "", "comma separated ip:masterPort list") |
|
|
serverPeers = cmdServer.Flag.String("peers", "", "comma separated ip:masterPort list") |
|
|
masterPort = cmdServer.Flag.Int("masterPort", 9333, "master server http listen port") |
|
|
masterPort = cmdServer.Flag.Int("masterPort", 9333, "master server http listen port") |
|
|
masterMetaFolder = cmdServer.Flag.String("mdir", os.TempDir(), "data directory to store meta data") |
|
|
masterMetaFolder = cmdServer.Flag.String("mdir", os.TempDir(), "data directory to store meta data") |
|
|
masterVolumeSizeLimitMB = cmdServer.Flag.Uint("volumeSizeLimitMB", 32*1024, "Default Volume Size in MegaBytes") |
|
|
|
|
|
|
|
|
masterVolumeSizeLimitMB = cmdServer.Flag.Uint("volumeSizeLimitMB", 32*1000, "Default Volume Size in MegaBytes") |
|
|
masterConfFile = cmdServer.Flag.String("conf", "/etc/weedfs/weedfs.conf", "xml configuration file") |
|
|
masterConfFile = cmdServer.Flag.String("conf", "/etc/weedfs/weedfs.conf", "xml configuration file") |
|
|
masterDefaultRepType = cmdServer.Flag.String("defaultReplicationType", "000", "Default replication type if not specified.") |
|
|
masterDefaultRepType = cmdServer.Flag.String("defaultReplicationType", "000", "Default replication type if not specified.") |
|
|
volumePort = cmdServer.Flag.Int("port", 8080, "volume server http listen port") |
|
|
volumePort = cmdServer.Flag.Int("port", 8080, "volume server http listen port") |
|
|