mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Created Mount (markdown)
parent
b8a75af3b8
commit
1481e8848b
22
Mount.md
Normal file
22
Mount.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
### Mount as FUSE
|
||||||
|
|
||||||
|
This uses bazil.org/fuse, which enables writing FUSE file systems on Linux and OS X. On OS X, it requires OSXFUSE (http://osxfuse.github.com/).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# assuming you already started weed master, weed volume and filer
|
||||||
|
weed mount -filer=localhost:8888 -dir=/some/existing/dir
|
||||||
|
```
|
||||||
|
|
||||||
|
Now you can browse/delete directories and files, read and write file as in local file system. For efficiency, only no more than 1000 sub directories and files under the same directory will be listed. To unmount, just shut it down.
|
||||||
|
|
||||||
|
### Weed Mount Architecture
|
||||||
|
|
||||||
|
For reads:
|
||||||
|
1. Client Reads File Metadata => Weed Filer => Weed Filer database (LevelDB, Cassandra, Redis, Mysql, Postgres, etc)
|
||||||
|
2. Client Reads File Chunks => Weed Volume Servers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
For writes:
|
||||||
|
1. Client uploads data to Weed Volume Servers, and breaks the large files into chunks.
|
||||||
|
2. Client writes the metadata and chunk information into Filer and then into Filer database.
|
Loading…
Reference in a new issue