请输入您要查询的百科知识:

 

词条 ReFS
释义

  1. Feature changes compared to NTFS

     Major new features  Removed features 

  2. Version history and compatibility

  3. Stability and known problems

  4. Server 2016 updates

  5. Performance and competitor comparisons

  6. See also

  7. References

  8. External links

{{Distinguish|ReiserFS}}{{infobox file system
| developer = Microsoft
| name = ReFS
| full_name = Resilient File System
| variants =
| introduction_date = {{Start date and age|2012|08|01|df=yes}}[1]
| partition_id =
| directory_struct = B+ tree[2]
| file_struct =
| bad_blocks_struct =
| min_volume_size =
| max_volume_size = 1 yobibyte (280 bytes)
| max_file_size = 16 exbibytes (264−1 bytes)
| max_files_no =
| max_filename_size =
| max_dirname_size =
| max_directory_depth =
| dates_recorded =
| date_range =
| date_resolution =
| forks_streams =
| attributes = Yes
| file_system_permissions =
| compression = No
| encryption =
| data_deduplication = Yes, since v3.2 debuting in 2016 v1709[2]
| OS = {{Plainlist|
  • Windows Server 2012 and later
  • Windows 8.1 and later (ReFS volume creation ability removed in Windows 10's 2017 Fall Creators Update, except for Windows 10 Enterprise and Pro for Workstations[3])

}}
| bootable =
| filename_character_set =
| file_types =
| introduction_os = Windows Server 2012
| file_size_granularity =
| copy_on_write = Yes
| website = {{URL|docs.microsoft.com/en-US/windows-server/storage/refs/refs-overview}}
}}

Resilient File System (ReFS),[4] codenamed "Protogon",[6] is a Microsoft proprietary file system introduced with Windows Server 2012 with the intent of becoming the "next generation" file system after NTFS.

ReFS was designed to overcome problems that had become significant over the years since NTFS was conceived, which are related to how data storage requirements had changed. The key design advantages of ReFS include automatic integrity checking and data scrubbing, removal of the need for running chkdsk, protection against data degradation, built-in handling of hard disk drive failure and redundancy, integration of RAID functionality, a switch to copy/allocate on write for data and metadata updates, handling of very long paths and filenames, and storage virtualization and pooling, including almost arbitrarily sized logical volumes (unrelated to the physical sizes of the used drives).

These requirements arose from two major changes in storage systems and usage – the size of storage in use (large or massive arrays of multi-terabyte drives now being fairly common), and the need for continual reliability. As a result, the file system needs to be self-repairing (to prevent disk checking from being impractically slow or disruptive), along with abstraction or virtualization between physical disks and logical volumes.

ReFS was initially added to Windows Server 2012 only, with the aim of gradual migration to consumer systems in future versions; this was achieved as of Windows 8.1.[5] The initial versions removed some NTFS features, such as disk quotas, alternate data streams, and extended attributes. Some of these were re-implemented in later versions of ReFS.

In early versions (2012–2013), ReFS was similar to or slightly faster than NTFS in most tests,[6] but far slower when full integrity checking was enabled, a result attributed to the relative newness of ReFS.[7][8] Pre-release concerns were also voiced by one blogger{{who|date=September 2017}} over Storage Spaces, the storage system designed to underpin ReFS, which reportedly could fail in a manner that prevented ReFS from recovering automatically.[11][9][13]

The ability to create ReFS volumes was removed in Windows 10's 2017 Fall Creators Update for all editions except Enterprise and Pro for Workstations,[3] which would seem to indicate Microsoft is no longer intending ReFS as a general replacement for NTFS, at least in the near future.

The cluster size of a ReFS volume is either 4 KiB or 64 KiB.[10]

Feature changes compared to NTFS

Major new features

Improved reliability for on-disk structures
ReFS uses B+ trees for all on-disk structures, including all metadata and file data.[11][12] Metadata and file data are organized into tables similar to a relational database. The file size, number of files in a folder, total volume size and number of folders in a volume are limited by 64-bit numbers; as a result, ReFS supports a maximum file size of 16 exbibytes (264−1 bytes), a maximum of 18.4 × 1018 directories and a maximum volume size of 1 yobibyte (280 bytes) (with 64 KiB clusters) which allows large scalability with no practical limits on file and directory size (hardware limits still apply). Free space is counted by a hierarchical allocator which includes three separate tables for large, medium, and small chunks.
Built-in resilience
ReFS employs an allocation-on-write update strategy for metadata,[11] which allocates new chunks for every update transaction and uses large IO batches. All ReFS metadata have 64-bit checksums which are stored independently. The file data can have an optional checksum in a separate "integrity stream", in which case the file update strategy also implements allocation-on-write for file data; this is controlled by a new "integrity" attribute applicable to both files and directories. If file data or metadata become corrupt, the file can be deleted without taking the whole volume offline for maintenance, and then be restored from the backup. As a result of built-in resiliency, administrators do not need to periodically run error-checking tools such as CHKDSK when using ReFS.
Compatibility with existing APIs and technologies
ReFS supports only a subset of NTFS features, and only Win32 APIs that are "widely adopted"; but does not require new system APIs and most file system filters continue to work with ReFS volumes.[11] ReFS supports many existing Windows and NTFS features such as BitLocker encryption, Access Control Lists, USN Journal, change notifications,[13] symbolic links, junction points, mount points, reparse points, volume snapshots, file IDs, and oplock. ReFS seamlessly integrates with Storage Spaces,[11] a storage virtualization layer that allows data mirroring and striping, as well as sharing storage pools between machines.[14] ReFS resiliency features enhance the mirroring feature provided by Storage Spaces and can detect whether any mirrored copies of files become corrupt using a data scrubbing process,[12] which periodically reads all mirror copies and verifies their checksums, then replaces bad copies with good ones.

Removed features

Some NTFS features are not implemented in ReFS. These include object IDs, 8.3 filename, NTFS compression, Encrypting File System (EFS), transactional NTFS, hard links, extended attributes, and disk quotas.[15][11][16] In addition, Windows cannot be booted from a ReFS volume.[11] Dynamic disks with mirrored or striped volumes are replaced with mirrored or striped storage pools provided by Storage Spaces; however, automated error-correction is only supported on mirrored spaces. Data deduplication was missing in early versions of ReFS.[11], it was implemented in v3.2, debuting in Windows Server v1709.[2]

Support for alternate data streams was initially not implemented in ReFS. In Windows 8.1 64-bit and Server 2012 R2 the file system reacquired support for alternate data streams, with lengths of up to 128K, and automatic correction of corruption when integrity streams are used on parity spaces.[17] ReFS had initially been unsuitable for Microsoft SQL Server instance allocation due to the absence of alternate data streams.[18]

As of March 2015, a review of the state of ReFS on WindowsNetworking.com stated:

You can’t (at least at this time) boot Windows from an ReFS volume and the first versions of ReFS don’t include file-level compression and encryption, disk quotas or hard links, all of which are advantages of NTFS over the FAT file systems. Note that ReFS does support sparse files, reparse points, case-sensitive file names and Unicode in file names and perhaps most important, it preserves and enforces access control lists (ACLs).

It’s obvious that ReFS in its current iteration is not a replacement for NTFS ... because some applications that rely on specific NTFS features might not work with ReFS [... however...] Storage of most conventional data doesn’t require the specific NTFS features that aren’t supported by ReFS and so ReFS can handle that duty nicely. Its primary use case is on file servers that store extremely large amounts of data. It has data integrity and recovery mechanisms built into the file system, as well. That means those tools that are designed to detect and repair file corruption in other file systems aren’t necessary, so their incompatibility with ReFS isn’t really an issue. Additionally, although ReFS doesn’t support file level (Encrypting File System) encryption, BitLocker can be used to protect ReFS volumes so that’s not so much of an issue, either [...]

ReFS has some distinct advantages over current reigning Windows file system NTFS, but it also has some drawbacks. It boasts self-healing powers, ability to repair files without down time, less risk that data will be lost when there’s a power failure (due to the way it writes metadata), and of course the ability to create huge volumes and files and even give those files names that are longer than 255 characters if you wish. But it’s not quite ready for prime time yet.[19]

Version history and compatibility

{{Confusing|date=July 2017}}

ReFS has some different versions, with various degrees of compatibility between operating system versions. Aside for development versions of the filesystem, usually later operating system versions can mount filesystems created with earlier OS versions (backwards compatibility). Some features may not be compatible with the feature set of the OS. The version, cluster size and other features of the filesystem can be queried with the command fsutil fsinfo refsinfo volumename.

  • v1.1: The original version, formatted by Windows Server 2012.
  • 1.2: Default version if formatted by Windows 8.1, Windows 10 v1507 to v1607, Windows Server 2012 R2, and when specified ReFSv1 on Windows Server 2016. Can use alternate data streams under Windows Server 2012 R2.
  • 2.2: Default version formatted by Windows 10 Preview build 10049 or earlier. Could not be mounted in 10061 and later.
  • 2.0: Default version formatted by Windows Server 2016 TP2 and TP3. Could not be mounted in Windows 10 Build 10130 and later, or Windows Server 2016 TP4 and later.
  • 3.0: Default version formatted by Windows Server 2016 TP4 and TP5.
  • 3.1: Default version formatted by Windows Server 2016 RTM.
  • 3.2: Default version formatted by Windows 10 v1703 and Windows Server Insider Preview build 16237. Can be formatted with Windows 10 Insider Preview 15002 or later (though only became the default somewhere between 15002 and 15019). Supports deduplication in the server version.
  • 3.3: Default version formatted by Windows 10 Enterprise v1709 (ReFS volume creation ability removed from all editions except Enterprise and Pro for Workstations starting with build 16226; read/write ability remains[3]) and Windows Server version 1709 (starting with Windows 10 Enterprise Insider Preview build 16257 and Windows Server Insider Preview build 16257).
  • 3.4: Default version formatted by Windows 10 Pro for Workstations/Enterprise v1803 and newer, also server versions – please check https://support.microsoft.com/en-us/help/4034825/features-that-are-removed-or-deprecated-in-windows-10-fall-creators-up
Support for different ReFS versions, by each Windows version[20]
ReFSWindows
Server
2012
Windows
8.1, Server
2012 R2
Windows 10
v1507 – v1607
Windows
Server 2016
TP2, TP3
Windows
Server 2016
TP4, TP5
Windows
Server
2016 RTM
Windows 10
v1703
Windows 10
v1709,
Windows Server
17095
Windows 10
v1803 – v1809,
Windows Server
2019, 1803 – 18095
1.1Default}} {{Yes}}1 {{Yes}}1 {{Yes}}1 {{Yes}}1 {{Yes}}1 {{Yes}}1 {{Dunno}} {{Dunno}}
1.2 {{Yes}} Default}}Default}} {{Yes}} {{Yes}} {{Yes}} {{Yes}} {{Yes}} {{Yes}}
2.0 {{No}} {{No}} {{No}} {{No}} Default}} {{No}} {{No}} {{No}} {{No}}
3.0 {{No}} {{No}} {{No}} {{No}} {{No}} {{Yes}}2 {{Yes}}3 {{Yes}}4 {{Yes}}6
3.1 {{No}} {{No}} {{No}} {{No}} {{No}} Default}} {{Yes}}3 {{Yes}}4 {{Yes}}6
3.2 {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} Default}} {{Yes}}4 {{Yes}}6
3.3 {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} Default}} {{Yes}}6
3.4 {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} {{No}} Default}}

Notes:

1: The following message is recorded to the event log: 'Volume "?:" was mounted in an older version of Windows. Some features may be lost.'

2: Windows upgrades it to 3.1 when the volume is mounted with write access.

3: Windows upgrades it to 3.2 when the volume is mounted with write access.

4: Windows upgrades it to 3.3 when the volume is mounted with write access.

5: ReFS volume creation ability removed in Windows 10 v1709 (2017's Fall Creators Update), except for Enterprise and Pro for Workstations editions.

6: Windows upgrades it to 3.4 when the volume is mounted with write access.

Stability and known problems

{{update|date=February 2019}}

Issues identified or suggested for ReFS, when running on Storage Spaces (its intended design[13]), include:

  • Adding thin-provisioned ReFS on top of Storage Spaces (according to a 2012 pre-release article) can fail in a non-graceful manner, in which the volume without warning becomes inaccessible or unmanageable.[21] This can happen, for example, if the physical disks underlying a storage space became too full. Smallnetbuilder comments that, in such cases, recovery could be "prohibitive" as a "breakthrough in theory" is needed to identify storage space layouts and recover them, which is required before any ReFS recovery of file system contents can be started; therefore it recommends using backups as well.[21]
  • Even when Storage Spaces is not thinly provisioned, ReFS may still be unable to dependably correct all file errors in some situations, because Storage Spaces operates on blocks and not files, and therefore some files may potentially lack necessary blocks or recovery data if part of the storage space is not working correctly. As a result, disk and data addition and removal may be impaired, and redundancy conversion becomes difficult or impossible.[9]
  • There are no tools to repair or recover a ReFS filesystem. Third party tools are dependent on reverse engineering the system and (as of 2014) few of these exist.[22][23]
  • Windows Store cannot install apps on a ReFS volume.[24]

Server 2016 updates

At the Storage Developer Conference 2015, a Microsoft developer presented enhancements of ReFS expected to be released with Windows Server 2016 and included in Technical Preview 4, titled "ReFS v2".[25] It highlighted that ReFS now included capabilities for very high speed moving, reordering, and cloning of blocks between files[26] (which can be done for all blocks of a file). This is particularly needed for virtualization, and is stated to allow fast provisioning, diff merging, and tiering. Other enhancements cover the redo log (for synchronous disk writes), parallelization, efficient tracking of uninitialized sparse data and files, and efficient 4k I/O.[25] ReFS with File Integrity enabled also acts more like a log-structured file system, coalescing small random writes into large sequential ones for efficiency.[27]{{dubious|"log-structured" or just "allocate-on-write/copy-on-write"?|reason=I think Kolomyeytsev is confusing allocate-on-write/copy-on-write with log-structured|date=October 2016}}

Performance and competitor comparisons

Other operating systems have competing file systems to ReFS, of which the best known are ZFS and Btrfs, in the sense that all three are designed to integrate data protection, snapshots, and silent high speed background healing of corruption and data errors.

In 2012, Phoronix wrote an analysis[28] of ReFS vs Btrfs, a copy-on-write file system for Linux. Their features are similar, with both supporting checksums, RAID-like use of multiple disks, and error detection/correction. However, ReFS lacks copy-on-write snapshots and compression, both found in Btrfs and ZFS.

In 2014, a review{{citation needed|date=March 2019}} of ReFS and assessment of its readiness for production use concluded that ReFS had at least some advantages over two of its main file system competitors.

  • ZFS (used in Solaris, illumos, FreeBSD and others) was widely criticized for its comparatively extreme memory requirements of many gigabytes of RAM for online deduplication. However, online deduplication is never enabled by default in ZFS and is not supported by ReFS, so not enabling ZFS online deduplication yields a more even comparison between the two file systems as ZFS then has a memory requirement of only a few hundred megabytes.[29]
  • Offerings such as Drobo used proprietary methods which have no fallback if the company behind them fails.[30]

See also

  • Comparison of file systems
  • WinFS
  • APFS

References

1. ^{{Cite web |url= http://blogs.technet.com/b/windowsserver/archive/2012/08/01/windows-server-2012-released-to-manufacturing.aspx |title=Windows Server 2012 released to manufacturing! |last=Snover |first=Jeffrey |date=1 August 2012 |website=Windows Server Blog |publisher=Microsoft Corporation |accessdate=2 September 2014}}
2. ^{{cite web|url = https://blogs.windows.com/windowsexperience/2017/07/13/announcing-windows-server-insider-preview-build-16237|title = Announcing Windows Server Insider Preview Build 16237|date = 13 July 2017|website =Windows Experience Blog||last=Sarkar |first=Dona |publisher = Microsoft|accessdate = 20 July 2017}}
3. ^{{cite web |title=Features that are removed or deprecated in Windows 10 Fall Creators Update |url=https://support.microsoft.com/en-us/help/4034825/features-that-are-removed-or-deprecated-in-windows-10-fall-creators-up |website=support.microsoft.com |quote=Creation ability will be available in the following editions only: Windows 10 Enterprise and Windows 10 Pro for Workstations. Creation ability will be removed from all other editions. All other editions will have Read and Write ability. |date=2017-12-12 |access-date=2018-09-19}}
4. ^{{cite web | url=http://blogs.technet.com/b/askpfeplat/archive/2013/01/02/windows-server-2012-does-refs-replace-ntfs-when-should-i-use-it.aspx | title=Windows Server 2012: Does ReFS replace NTFS? When should I use it? | publisher=Microsoft | work=Ask Premier Field Engineering (PFE) Platforms | date=1 January 2013 | agency=TechNet blogs | accessdate=20 January 2013 | last=Lucas | first=Martin}}
5. ^{{cite web|url=https://technet.microsoft.com/en-us/library/hh831724.aspx|title=Resilient File System Overview|website=TechNet Library|publisher=Microsoft|date=1 November 2013}}
6. ^{{cite web|url=http://www.firstever.eu/en/refs-vs-ntfs-benchmark/|title=ReFS vs NTFS Benchmark – First Ever – Exclusive Technology News|work=firstever.eu|deadurl=yes|archiveurl=https://web.archive.org/web/20140708024559/http://www.firstever.eu/en/refs-vs-ntfs-benchmark/|archivedate=8 July 2014|df=dmy-all}}
7. ^{{cite web|url=http://bariseris.wordpress.com/2012/10/22/relative-performance-of-parity-vs-mirror-in-storage-spaces/|title=Relative Performance of Parity .vs. Mirror in Storage Spaces|work=Baris Eris's Blog}}
8. ^{{cite web|url=http://triosdevelopers.com/jason.eckert/blog/Entries/2014/2/25_Microsoft_ReFS_vs_Oracle_ZFS_-_FIGHT.html|title=Microsoft ReFS vs Oracle ZFS – Fight!|author=Jason Eckert|date=25 February 2014}}
9. ^{{cite web|url=http://helgeklein.com/blog/2012/03/windows-8-storage-spaces-bugs-and-design-flaws/|title=Windows 8 Storage Spaces: Bugs and Design Flaws|work=helgeklein.com}}
10. ^[https://blogs.technet.microsoft.com/filecab/2017/01/13/cluster-size-recommendations-for-refs-and-ntfs/ Storage at Microsoft: Cluster size recommendations for ReFS and NTFS]
11. ^{{cite web|url=http://blogs.msdn.com/b/b8/archive/2012/01/16/building-the-next-generation-file-system-for-windows-refs.aspx |title=Building the next generation file system for Windows: ReFS |work=Building Windows 8 |agency=MSDN blogs |publisher=Microsoft |last=Verma |first=Surendra |editor-first=Steven |editor-last=Sinofsky |editor-link=Steven Sinofsky |date=16 January 2012 |accessdate=20 January 2013}}
12. ^{{cite web | url=http://www.zdnet.com/microsoft-takes-wraps-off-new-windows-file-system-3040094832/ | title=Microsoft takes wraps off new Windows file system | work=ZDNet | publisher=CBS Interactive | date=17 January 2012 | accessdate=20 January 2013 | last=Meyer |first=David}}
13. ^{{cite web |url=http://msdn.microsoft.com/en-us/library/windows/desktop/aa365465(v=vs.85).aspx |title=ReadDirectoryChangesW function |work=MSDN Library |publisher=Microsoft |date=8 November 2012 |accessdate=21 January 2013}}
14. ^{{cite web |url=http://blogs.msdn.com/b/b8/archive/2012/01/05/virtualizing-storage-for-scale-resiliency-and-efficiency.aspx |title=Virtualizing storage for scale, resiliency, and efficiency |work=Building Windows 8 |agency=MSDN blogs |publisher=Microsoft |date=5 January 2012 |accessdate=18 January 2013 |first=Rajeev |last=Nagar |editor-first=Steven |editor-last=Sinofsky |editor-link=Steven Sinofsky}}
15. ^{{cite web |url=http://www.zdnet.com/blog/microsoft/microsoft-goes-public-with-plans-for-its-new-windows-8-file-system/11666 |title=Microsoft goes public with plans for its new Windows 8 file system |work=ZDNet |publisher=CBS Interactive |date=16 January 2012 |accessdate=21 January 2013 |first=Mary Jo |last=Foley}}
16. ^Windows Server 2012: Does ReFS replace NTFS? When should I use it? – Martin Lucas, TechNet
17. ^{{cite web|url = https://technet.microsoft.com/en-us/library/hh831724.aspx|title = Resilient File System Overview|date = 29 February 2012|website = TechNet Library|publisher = Microsoft|accessdate = 25 December 2013}}
18. ^{{cite web|url = http://sqlmag.com/blog/sql-server-and-windows-server-2012s-refs-file-system|title = SQL Server and Windows Server 2012's ReFS File System | Troubleshooting SQL Server Storage Problems|date = 21 August 2012|first = Denny|last = Cherry|website = SQL Server Pro magazine|publisher = Penton Media}}
19. ^{{cite web|url=http://www.windowsnetworking.com/articles-tutorials/windows-server-2012/refs-what-you-need-know-about-resilient-file-system-part1.html|title=ReFS: What you need to know about the Resilient File System (Part 1)|work=WindowsNetworking.com}}
20. ^[https://gist.github.com/0xbadfca11/da0598e47dd643d933dc Windows ReFS versions.en.md]
21. ^{{cite web|author=Elena Pakhomova|date=8 August 2012|url=http://www.smallnetbuilder.com/nas/nas-features/31836-data-recovery-tales-when-windows-storage-spaces-go-bad|title=Data Recovery Tales: When Windows Storage Spaces Go Bad}}
22. ^{{cite web|url=http://www.refs-data-recovery.com/refs-recovery.aspx|title=ReFS Recovery}}
23. ^{{cite web|url=https://github.com/movitto/resilience|title=Reverse Engineered ReFS parser}}
24. ^{{cite web|url=https://ctrl.blog/entry/adventures-in-refs|title=What I learned after 30 minutes with ReFS|date=18 May 2017|website=Ctrl blog}}
25. ^{{cite web|url=http://www.snia.org/sites/default/files/SDC15_presentations/file_sys/JRTipton_ReFS_v2.pdf|title=ReFS v2 – Cloning, projecting, and moving data|author=J. R. Tipton}}
26. ^{{Cite web |url=https://msdn.microsoft.com/en-us/library/windows/desktop/mt590820(v=vs.85).aspx |title=Block Cloning (Windows) |website=MSDN |publisher=Microsoft |access-date=2 December 2016}}
27. ^{{cite web|url=https://www.starwindsoftware.com/blog/log-structured-file-systems-microsoft-refs-v2-investigation-part-1|title=ReFS: Log-Structured|author=Anton Kolomyeytsev|date=12 April 2016}}
28. ^{{cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=MTA0NDA|title=Microsoft's ReFS File-System: Competitor To Btrfs? – Phoronix|work=phoronix.com}}
29. ^{{Cite web|url=http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-113-size-zfs-dedup-1354231.html|title=How To Size Main Memory for ZFS Deduplication|website=www.oracle.com|access-date=2018-07-05}}
30. ^{{cite web|url=http://betanews.com/2014/01/15/windows-storage-spaces-and-refs-is-it-time-to-ditch-raid-for-good/|title=Windows Storage Spaces and ReFS: Is it time to ditch RAID for good?|work=BetaNews}}

External links

  • Analysis of detailed differences between NTFS and ReFS in Server 2012, and reasons for choosing one or the other
{{Use dmy dates|date=December 2013}}{{File systems}}{{Microsoft Windows components}}

2 : 2012 software|Windows disk file systems

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 0:45:20