|
|
Subscribe / Log in / New account

LSFMM: Storage management

By Jake Edge
May 1, 2013

LSFMM Summit 2013

At the 2013 LSFMM Summit, Lukáš Czerner updated attendees on various tools for storage management. His aim was to "lessen confusion" about the tools and their status. First up was the System Storage Manager (SSM), which started out as a command-line interface to manage the Logical Volume Manager (LVM), Btrfs, device mapper (dm), storage arrays, and the like. After he created SSM, people started asking for a library interface to it, but that was outside of the scope of the project, he said.

Since then, libStorageMgmt has come about as a vendor-neutral API for managing storage. That library will be used by Blivet, which is a storage management tool that is used by Anaconda (the Fedora installer program).

Ric Wheeler asked if Czerner had worked with SUSE, so that it could also use these pieces. Hannes Reinecke noted that YaST, SUSE's installer, is modular, so it could presumably use Blivet. There is more to Blivet than just installation, however, Czerner said, as it is meant to be a post-installation management tool as well.

The idea is to create some reusable parts, like libStorageMgmt and liblvm that can be used by multiple distributions, Wheeler said. Those parts can be skinned for the particular distribution's installer (or other tool). Lots of storage vendors have been contributing to libStorageMgmt, Wheeler said.

Blivet will be able to create filesystems, Czerner said, but there was still a question over whether it should also provide a way to check filesystems (i.e. fsck). Ted Ts'o said that creating filesystems with default parameters is "really easy", but handling filesystem-specific parameters is a much harder task. In addition, filesystem check and repair is hard, at least partly because it requires asking questions of the user.

There was some discussion about the value of providing a filesystem creation interface that allowed access to advanced filesystem features. It is a difficult problem to solve as Ts'o and Dave Chinner noted. Different distributions have their own configuration for filesystem features, which can change over time, Chinner said. There is also very little value to filesystem developers for creating such an interface, Ts'o said.

Joel Becker mentioned the -T option available for mkfs for some filesystems that allows the administrator to specify a "usage type" for the filesystem. Those types get turned into a set of parameters specific to the kind of use envisioned for the filesystem (i.e. a mail server, predominantly large files, etc.). That option is really only available for ext3 and ext4, though. Since it didn't seem like there was a lot of interest in working on this problem among the filesystem and/or fstools developers, Wheeler said, that leaves it up to Blivet, YaST, and other tools to handle filesystem creation. In closing, Czerner noted that the biggest problem is fsck, which is probably not solvable in a general way.


Index entries for this article
ConferenceStorage, Filesystem, and Memory-Management Summit/2013


to post comments

LSFMM: Storage management

Posted May 2, 2013 8:08 UTC (Thu) by agrover (guest, #55381) [Link]

Regarding liblvm (and Python lvm bindings), Tony Asleson is the main guy working on that as well as libStorageMgmt these days, so a big shout out to him.

Other things of interest in this space:

targetd (if I may be so bold as to plug my own work.) It's a remote API for volume (via liblvm) and iscsi target (via LIO/rtslib-fb) configuration, and plugs in to libStorageMgmt. We're just a few missing pieces away from getting *very* close to what a $$$ storage array can do, all with FOSS pieces. Basically better liblvm and a libbtrfs could get us there.

OpenStack Cinder. They're doing their own thing, w.r.t. local *and* remote storage. We may want to make sure our Blivet and libStorageMgmt plans align or at least don't conflict with Cinder.


Copyright © 2013, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds