Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

14.8. Create a Share Type for the Defined Back End


The Shared File System service allows you to define share types that you can use to create shares with specific settings. Share types work exactly like Block Storage volume types: each type has associated settings (namely, extra specifications), and invoking the type during share creation applies those settings.
When creating a share on a non-default back end, you need to explicitly specify which back end to use. To make the process seamless for users, create a share type and associate it with the share_backend_name value of your back end (whichever you chose in Section 14.6, “Define the Shared File System Service Back End”).
To create a share type named TYPENAME, run the following as an OpenStack admin:
# manila type-create TYPENAME SHAREHANDLING
Copy to Clipboard Toggle word wrap
SHAREHANDLING specifies whether or not the share type will use the driver to handle the life cycle of shares. This should be the value set in driver_handles_share_servers of your back end definition. With driver_handles_share_servers=False, SHAREHANDLING should also be false. So, to create a share type called share1:
# manila type-create share1 false
Copy to Clipboard Toggle word wrap
Next, associate the share1 type to a specific back end. You can specify the back end through its share_backend_name value. For example, to associate the share type share1 to a back end named GENERIC, run:
# manila type-key share1 set share_backend_name='GENERIC'
Copy to Clipboard Toggle word wrap
Users should now be able to invoke the SHARE1 type to create a share from the GENERIC back end.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat