Suchen

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

4.6. Online Data Relocation

download PDF
You can move data while the system is in use with the pvmove command.
The pvmove command breaks up the data to be moved into sections and creates a temporary mirror to move each section. For more information on the operation of the pvmove command, see the pvmove(8) man page.

Note

In order to perform a pvmove operation in a cluster, you should ensure that the cmirror package is installed and the cmirrord service is running.
The following command moves all allocated space off the physical volume /dev/sdc1 to other free physical volumes in the volume group:
# pvmove /dev/sdc1
The following command moves just the extents of the logical volume MyLV.
# pvmove -n MyLV /dev/sdc1
Since the pvmove command can take a long time to execute, you may want to run the command in the background to avoid display of progress updates in the foreground. The following command moves all extents allocated to the physical volume /dev/sdc1 over to /dev/sdf1 in the background.
# pvmove -b /dev/sdc1 /dev/sdf1
The following command reports the progress of the pvmove command as a percentage at five second intervals.
# pvmove -i5 /dev/sdd1
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.

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.

© 2024 Red Hat, Inc.