-
Notifications
You must be signed in to change notification settings - Fork 218
/
Copy pathfeature-storaged.html
63 lines (63 loc) · 4.04 KB
/
feature-storaged.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
layout: guide
---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>storaged</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Cockpit Guide">
<link rel="up" href="features.html" title="Part II. Feature Internals">
<link rel="prev" href="feature-firewall.html" title="Firewall">
<link rel="next" href="feature-users.html" title="User Tools">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="feature-firewall.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="features.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Cockpit Guide</th>
<td><a accesskey="n" href="feature-users.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
<a name="feature-storaged"></a>storaged</h2></div></div></div>
<p>If available on the system, Cockpit uses <a class="ulink" href="https://github.com/storaged-project/storaged/" target="_top"><code class="code">storaged</code></a>
to configure and monitor storage, disks, mounts etc. on the
system. This functionality is present in the Cockpit
<span class="emphasis"><em>storaged</em></span> package.</p>
<p>The <code class="code">storaged</code> project is originally based on a project called
<a class="ulink" href="https://www.freedesktop.org/wiki/Software/udisks/" target="_top"><code class="code">udisks</code></a>
and added support for many more features such as
<a class="ulink" href="https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)" target="_top">LVM</a>,
<a class="ulink" href="https://en.wikipedia.org/wiki/ISCSI" target="_top">iSCSI</a>,
<a class="ulink" href="https://en.wikipedia.org/wiki/Linux_DM_Multipath" target="_top">Multipath</a>, and
<a class="ulink" href="https://btrfs.wiki.kernel.org/index.php/Main_Page" target="_top">BTRFS</a>.
The same tools and backwards compatible API are available between <code class="code">storaged</code>
and <code class="code">udisks</code> the projects. Cockpit can use <code class="code">udisks</code> but disables
many of it's storage related features, including updating <code class="code">/etc/fstab</code>
and <code class="code">/etc/crypttab</code> for stability reasons.</p>
<p>For non root users, storaged controls access to its APIs via
<a class="link" href="privileges.html" title="Privileges and Permissions">Policy Kit</a> and a user logged into Cockpit will have
the same permissions as they do from the command line.</p>
<p>To perform similar tasks from the command line, use the <code class="code">storagedctl</code> command:</p>
<pre class="programlisting">
$ <span class="command"><strong>udisksctl dump</strong></span>
...
</pre>
<p>To perform LVM tasks, you may use the various LVM commands, such as
<code class="code">vgcreate</code>, <code class="code">lvresize</code> and so on. Cockpit will detect such changes
made at the command line.</p>
<p>Cockpit recognizes devices with multiple paths and can start
the <code class="code">multipathd</code> service in case it is not running. On
the command line, you can control multipath features with the
<code class="code">mpathconf</code>, <code class="code">multipathd</code>, and
<code class="code">multipath</code> commands.</p>
<p>To manage iSCSI initiators from the command line, you can use
<code class="code">iscsiadm</code> and related tools.</p>
</div>
<div class="footer"><hr></div>
</body>
</html>