In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use Stratis to configure local storage in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Simple and reliable use of advanced storage features
Stratis wants to make three things easier: storage initialization configuration, subsequent changes, and the use of advanced storage features, including snapshot snapshots, thin configuration thin provisioning, and even hierarchical tiering.
Stratis: a volume management file system
Stratis is a volume management file system volume-managing filesystem (VMF), similar to ZFS and Btrfs. It uses the core idea of storage "pooling", which is adopted by various VMF and independent volume managers such as LVM. Use one or more hard drives (or partitions) to create a storage pool, and then create a volume volume in the storage pool. Unlike traditional hard disk partitions performed using fdisk or GParted, the volume distribution in the storage pool does not need to be specified by the user.
VMF is further integrated with the file system layer. Users do not need to deploy the selected file system on the volume because the file system and the volume have been merged into a conceptual file tree (what ZFS calls a dataset dataset,Brtfs calls a subvolume subvolume,Stratis called a file system). The file data is located in the storage pool, but the file size is limited only by the overall capacity of the storage pool.
Look at it another way: just as the file system abstracts the actual location of the real storage block of a single file in the abstract, VMF abstracts the actual location of the real storage block of a single file system in the storage pool.
Based on the storage pool, we can enable other useful features. Some of the features naturally come from the typical VMF implementation implementation, such as file system snapshots, after all, multiple file systems in the storage pool can share physical blocks physical data block; redundant redundancy, tiering, integrity integrity and other features are also logical, because the storage pool is an important place in the operating system to manage all the above features of the file system.
The above results show that compared with separate volume managers and file system layers, VMF is easier to build and manage, and it is easier to enable advanced storage features.
How does Stratis differ from ZFS and Btrfs?
As a new project, Stratis can learn from existing projects, and we will delve into which designs of ZFS, Brtfs, and LVM have been adopted by Stratis in the second part. To sum up, Stratis is different from the observation of feature support, from changes in personal use and computer automation, and from changes in the underlying hardware.
First, Stratis emphasizes ease of use and security. This is important for individual users, since the interval between their interactions with Stratis may be long. If the interaction is not so friendly, especially the possibility of losing data, most people would rather give up the new features and continue to use the more functionally basic file system.
Second, API and DevOps-style Devops-style automation is much more important today than it was in earlier years. Stratis provides API that supports automation so that people can use Stratis directly through automation tools.
Third, the capacity and market share of SSD have increased significantly. A lot of code in the early file system was used to optimize slow access to mechanical media, but for flash-based media, these optimizations became less important. Even when the storage pool is too large to use SSD, you can still consider using SSD as the cache layer caching tier, which can provide a good performance improvement. Considering the excellent performance of SSD, Stratis focuses on the flexibility of storage pool design flexibility and reliability reliability.
*, Stratis has a significantly different implementation model, implementation model, compared with ZFS and Btrfs (I'll analyze it further in part 2). This means that for Stratis, although some functions are difficult to implement, some are easier to implement. This also speeds up the development of Stratis.
Thank you for reading! This is the end of this article on "how to use Stratis to configure local storage in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Click to download: SQL Server 2008 Database Server Management
© 2024 shulou.com SLNews company. All rights reserved.