Skip to content

Salt-Peter/os-proj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOOGLE FILE SYSTEM (GFS)

PROJECT SUBMITTED AS A PART OF OPERATING SYSTEMS(PG) COURSE

setup project

python -m venv env
source env/bin/activate
pip install -r requirements.txt

create some directories for chunkserver path

rm -r temp/*
mkdir -p temp/ck9010
mkdir -p temp/ck9011
mkdir -p temp/ck9012
mkdir -p temp/ck9013

Running the project

# To see available command line options run
# python `scriptname` -h
# eg: python master.py -h

python master.py

python chunkserver.py --port=9010
python chunkserver.py --port=9011
python chunkserver.py --port=9012
python chunkserver.py --port=9013

python client.py