Jump to content

OCFS2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Addbot (talk | contribs)
m Bot: Migrating 4 interwiki links, now provided by Wikidata on d:q1433184 (Report Errors)
 
(25 intermediate revisions by 17 users not shown)
Line 11: Line 11:
| max_filename_size = 255 bytes
| max_filename_size = 255 bytes
| max_files_no =
| max_files_no =
| max_volume_size = 4 PB (OCFS2)<ref name="JBD" />
| max_volume_size= 4 PB (OCFS2)<ref name="JBD">Limited to 16TiB before 2.6.28 since it used the Linux [[Journaling block device|JBD]]. JBD2 removes the limit.</ref>
| max_file_size = 4 PB (OCFS2)<ref name="JBD">Currently limited to 16TiB since it uses the Linux [[Journaling block device|JBD]]</ref>
| max_file_size= 4 PB (OCFS2)<ref name="JBD"/>
| filename_character_set = All bytes except [[Null character|NUL]] and '/'
| filename_character_set = All bytes except [[Null character|NUL]] and '/'
| dates_recorded = modification (mtime), attribute modification (ctime), access (atime)
| dates_recorded = modification (mtime), attribute modification (ctime), access (atime)
Line 27: Line 27:
}}
}}


'''OCFS''' ('''''O'''racle '''C'''luster '''F'''ile '''S'''ystem'') is a [[shared disk file system]] developed by [[Oracle Corporation]] and released under the [[GNU General Public License]].
The Oracle Cluster File System ('''OCFS''', in its second version '''OCFS2''') is a [[shared disk file system]] developed by [[Oracle Corporation]] and released under the [[GNU General Public License]].
The first version of OCFS was developed with the main focus to accommodate Oracle's [[database management system]] that used [[cluster computing]]. Because of that it was not a [[POSIX]]-compliant file system. With version 2 the POSIX features were included.


OCFS2 (version 2) was integrated into the version 2.6.16 of [[Linux (kernel)|Linux kernel]]. Initially, it was marked as "experimental" ([[Software release life cycle#Alpha|Alpha-test]]) code. This restriction was removed in Linux version 2.6.19. With kernel version 2.6.29 in late 2008, more features were included into ocfs2, such as [[access control list]]s and quotas.<ref>{{cite web |title= Ocfs2 patches for merge window batch 1/3 |author= Mark Fasheh |date= December 19, 2008 |work= Linux Kernel Mailing List |url= https://lkml.org/lkml/2008/12/19/280 |access-date= October 24, 2016 }}</ref><ref>{{cite web |title= Ocfs2 patches for merge window batch 2/3 |author= Mark Fasheh |date= December 22, 2008 |work= Linux Kernel Mailing List |url= https://lkml.org/lkml/2008/12/22/213 |access-date= October 24, 2016 }}</ref>
The first version of OCFS was developed with the main focus to accommodate oracle database files for [[clustered database]]s. Because of that it was not a [[POSIX]] compliant file system. With version 2 the POSIX features were included.


OCFS2 used a [[distributed lock manager]] which resembles the [[OpenVMS]] DLM but is much simpler.<ref>{{cite web |url= https://lwn.net/Articles/137278 |title= The OCFS2 filesystem |work= [[LWN.net]] |author= Jonathan Corbet |date= May 24, 2005 |access-date= October 24, 2016 }}</ref>
OCFS2 (version 2) was integrated into the version 2.6.16 of [[Linux (kernel)|Linux kernel]]. Initially, it was marked as "experimental" ([[Software release life cycle#Alpha|Alpha-test]]) code. This restriction was removed in Linux version 2.6.19. With kernel version 2.6.29 more features have been included into ocfs2 especially access control lists and quota.<ref>{{cite web|url=http://thread.gmane.org/gmane.linux.kernel/775637|title=Ocfs2 patches for merge window|author=Mark Fasheh|date=2009-01-05}}</ref>
Oracle announced version 1.6 in November 2010 which included a [[copy on write]] feature called reflink.<ref>{{Cite web |title= What's new in Oracle Linux Part 1: OCFS2 1.6 REFLINKs |author= John Margaglione |publisher= Oracle |date= November 30, 2010 |url= https://blogs.oracle.com/devpartner/entry/whats_new_in_oracle_linux |archive-url= https://web.archive.org/web/20170510113950/https://blogs.oracle.com/devpartner/entry/whats_new_in_oracle_linux |url-status= dead |archive-date= May 10, 2017 |access-date= May 10, 2017 }}</ref>

OCFS2 uses a [[distributed lock manager]] which resembles the [[OpenVMS]] DLM but is much simpler.<ref>{{cite web|url=https://lwn.net/Articles/137278/|title=The OCFS2 filesystem|author=[[Jonathan Corbet]]|date=2005-05-24}}</ref>


==See also==
==See also==
{{Portal|Free software}}
{{Portal|Free and open-source software}}
* [[GlusterFS]]
* [[GlusterFS]]
* [[GFS2]]
* [[GFS2]]
Line 42: Line 42:
* [[List of file systems]]
* [[List of file systems]]
* [[Lustre (file system)]]
* [[Lustre (file system)]]
* [[Moose File System|MooseFS]]
* [[QFS]]
* [[QFS]]


Line 48: Line 49:


==External links==
==External links==
* [http://oss.oracle.com/projects/ocfs2/ OCFS2] project page
*[http://oss.oracle.com/projects/ocfs2/ OCFS2] project page
* [http://oss.oracle.com/projects/ocfs/ OCFS] project page
*[http://oss.oracle.com/projects/ocfs/ OCFS] project page
* {{cite web|url=https://www.kernel.org/doc/Documentation/filesystems/ocfs2.txt|title=OCFS2 filesystem|date=2011-08-11}}
*{{cite web|url=https://www.kernel.org/doc/Documentation/filesystems/ocfs2.txt|title=OCFS2 filesystem|date=2011-08-11}}


{{Filesystem}}
{{Filesystem}}
{{Oracle FOSS}}


{{DEFAULTSORT:Ocfs}}
{{DEFAULTSORT:Ocfs}}
[[Category:Shared disk file systems]]
[[Category:Shared disk file systems]]
[[Category:Oracle software]]
[[Category:Oracle software]]
[[Category:Linux file systems]]
[[Category:Distributed file systems supported by the Linux kernel]]

{{Compu-storage-stub}}

Latest revision as of 22:11, 28 February 2021

OCFS2
Developer(s)Oracle Corporation
Full nameOracle Cluster file System
IntroducedMarch 2006 with Linux 2.6.16
Limits
Max volume size4 PB (OCFS2)[1]
Max file size4 PB (OCFS2)[1]
Max filename length255 bytes
Allowed filename
characters
All bytes except NUL and '/'
Features
Dates recordedmodification (mtime), attribute modification (ctime), access (atime)
File system
permissions
Unix permissions, ACLs and arbitrary security attributes (Linux 2.6 and later)
Transparent
compression
No
Transparent
encryption
No
Data deduplicationNo
Copy-on-writeYes
Other
Supported
operating systems
Linux

The Oracle Cluster File System (OCFS, in its second version OCFS2) is a shared disk file system developed by Oracle Corporation and released under the GNU General Public License. The first version of OCFS was developed with the main focus to accommodate Oracle's database management system that used cluster computing. Because of that it was not a POSIX-compliant file system. With version 2 the POSIX features were included.

OCFS2 (version 2) was integrated into the version 2.6.16 of Linux kernel. Initially, it was marked as "experimental" (Alpha-test) code. This restriction was removed in Linux version 2.6.19. With kernel version 2.6.29 in late 2008, more features were included into ocfs2, such as access control lists and quotas.[2][3]

OCFS2 used a distributed lock manager which resembles the OpenVMS DLM but is much simpler.[4] Oracle announced version 1.6 in November 2010 which included a copy on write feature called reflink.[5]

See also

[edit]

Notes and references

[edit]
  1. ^ a b Limited to 16TiB before 2.6.28 since it used the Linux JBD. JBD2 removes the limit.
  2. ^ Mark Fasheh (December 19, 2008). "Ocfs2 patches for merge window batch 1/3". Linux Kernel Mailing List. Retrieved October 24, 2016.
  3. ^ Mark Fasheh (December 22, 2008). "Ocfs2 patches for merge window batch 2/3". Linux Kernel Mailing List. Retrieved October 24, 2016.
  4. ^ Jonathan Corbet (May 24, 2005). "The OCFS2 filesystem". LWN.net. Retrieved October 24, 2016.
  5. ^ John Margaglione (November 30, 2010). "What's new in Oracle Linux Part 1: OCFS2 1.6 REFLINKs". Oracle. Archived from the original on May 10, 2017. Retrieved May 10, 2017.
[edit]