Distributed File Systems Flashcards

1
Q

Advantages of a DFS?

A

1) Larger storage space

2) Users have access to files from any computer

3) Data redundancy. If one server goes down, data may still be available elsewhere.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is remote file transfer?

A

User explicitly has connect to remote machine. They can’t directly access files, and instead have to manually move files to and from. Consistency has to be maintained by the user. (i,e. ftp)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is direct access approach?

A

Files are prefixed with their network location.

Remote users can directly access the files.

User must explicitly know which computer contains which file.

Replication is not possible (file paths have to be unique)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is transparency in DFS?

A

Local and distributed file systems should behave the same way to the user (programmer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Location transparency?

A

The user cannot tell the location of a file based on its name or path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Migration transparency?

A

Moving files around should not require changes to programs. Same as a local FS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between remote service and caching?

A

Remote service transfers individual blocks of data through network as accessed. (like a hdd, but networks can be slow)

Caching downloads larger parts of the file first before improving performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Client-server vs cluster-based model?

A

Files are saved on one server vs chunks saved on multiple servers.

Only client to server vs separate metadata server which holds the info about where the files are located on the data servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Benefits of remote service?

A

Easier to implement.

less of a consistency problem as accesses are happening at block level.

Less memory is needed.

behaves same as local storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Benefits of cached?

A

More efficient, usually faster, scales better

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the two ways to deal with consistency on DFS?

A

UNIX semantics - any changes made are visible immediately to all other processes

Session semantics - Changes are not visible until file is closed. Locks are required if multiple processes using file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Stateful remote service?

A

Server knows about changes being made to files. Difficult if server crashes as all state info is lost.

Stateless does not record this information. A local machine has to keep track of open() close(), pointers, etc, and send this information with every request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Is NFS stateless?

A

It was before version 4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which operating systems will NFS work with?

A

Most will work. Does not have to be a homogeneous system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly