Chinaunix

标题: 文件系统(GFS hadoop) 与open write...系统调用 [打印本页]

作者: zhongyj    时间: 2008-12-26 10:58
标题: 文件系统(GFS hadoop) 与open write...系统调用
《The Google File System》中有一段
GFS provides a familiar file system interface, though it
does not implement a standard API such as POSIX. Files are
organized hierarchically in directories and identified by pathnames.
We support the usual operations to create, delete,
open, close, read, and write files.
貌似另外提供了一套API,
GFS和开源的文件系统像hadoop的实现是调用的系统提供的open read write close这些系统调用,然后提供另外的API还是直接自己管理硬盘的
作者: emacsnw    时间: 2008-12-26 11:09
原帖由 zhongyj 于 2008-12-25 18:58 发表
《The Google File System》中有一段
GFS provides a familiar file system interface, though it
does not implement a standard API such as POSIX. Files are
organized hierarchically in directories a ...


当然是自己管理硬盘,open/read/write等系统调用都是基于文件系统的,GFS显然是一个新的文件系统。
作者: zhongyj    时间: 2008-12-26 11:21
标题: 回复 #2 emacsnw 的帖子
刚才又看到一段
We do not provide the POSIX API and
therefore need not hookin to the Linux vnode layer.
应该是没用到open read这些系统调用了

假设如果一个机器上安装了redhat,而且整个硬盘都格式化成ext3了,这种情况下GFS这些文件系统怎么管理的呢
另外oracle好像也是自己管理存储的,而我安装oracle的时候都是装载一个目录下,数据文件也是指定的一个目录名,这个也有和上面一样的问题




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2