Storage
=======
+.. _storage_disk_management:
+
Disk Management
---------------
periodically based on a configured schedule (see :ref:`calendar-events`) per datastore.
+.. _storage_datastore_create:
+
Creating a Datastore
^^^^^^^^^^^^^^^^^^^^
.. image:: images/screenshots/pbs-gui-datastore-create-general.png
panel/Tasks.js \
panel/XtermJsConsole.js \
panel/AccessControl.js \
+ panel/StorageAndDisks.js \
ZFSList.js \
DirectoryList.js \
LoginView.js \
leaf: true,
},
{
- text: gettext('Disks'),
+ text: gettext('Storage / Disks'),
iconCls: 'fa fa-hdd-o',
- path: 'pmxDiskList',
- leaf: false,
- children: [
- {
- text: Proxmox.Utils.directoryText,
- iconCls: 'fa fa-folder',
- path: 'pbsDirectoryList',
- leaf: true,
- },
- {
- text: "ZFS",
- iconCls: 'fa fa-th-large',
- path: 'pbsZFSList',
- leaf: true,
- },
- ],
+ path: 'pbsStorageAndDiskPanel',
+ leaf: true,
},
],
},
"link": "/docs/managing-remotes.html#syncjobs",
"title": "Sync Jobs"
},
+ "storage-disk-management": {
+ "link": "/docs/storage.html#storage-disk-management",
+ "title": "Disk Management"
+ },
"datastore-intro": {
"link": "/docs/storage.html#datastore-intro",
"title": "Datastore"
--- /dev/null
+Ext.define('PBS.StorageAndDiskPanel', {
+ extend: 'Ext.tab.Panel',
+ alias: 'widget.pbsStorageAndDiskPanel',
+ mixins: ['Proxmox.Mixin.CBind'],
+
+ title: gettext('Storage / Disks'),
+
+ tools: [PBS.Utils.get_help_tool("storage-disk-management")],
+
+ border: false,
+ defaults: {
+ border: false,
+ },
+
+ items: [
+ {
+ xtype: 'pmxDiskList',
+ title: gettext('Disks'),
+ itemId: 'disks',
+ iconCls: 'fa fa-hdd-o',
+ },
+ {
+ xtype: 'pbsDirectoryList',
+ title: Proxmox.Utils.directoryText,
+ itemId: 'directorystorage',
+ iconCls: 'fa fa-folder',
+ },
+ {
+ xtype: 'pbsZFSList',
+ title: "ZFS",
+ nodename: 'localhost',
+ iconCls: 'fa fa-th-large',
+ itemId: 'zfsstorage',
+ },
+ ],
+
+});