What does pvmove do?
Clash Royale CLAN TAG#URR8PPP
man pvmove
says
pvmove moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs. You can optionally specify a source LV in which case only extents used by that LV will be
moved to free (or specified) extents on the destination PV. If no destination PV is specified, the
normal allocation rules for the VG are used.
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs" mean?
What is the difference between pvmove
and pvresize
? Does pvmove
shrink a PV and then use the freed up space to enlarge another PV?
There is a device ( a disk or partition) underlying each PV. Does pvmove
work along with another command which resizes the underlying devices of the two PVs involved?
Thanks.
lvm
add a comment |
man pvmove
says
pvmove moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs. You can optionally specify a source LV in which case only extents used by that LV will be
moved to free (or specified) extents on the destination PV. If no destination PV is specified, the
normal allocation rules for the VG are used.
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs" mean?
What is the difference between pvmove
and pvresize
? Does pvmove
shrink a PV and then use the freed up space to enlarge another PV?
There is a device ( a disk or partition) underlying each PV. Does pvmove
work along with another command which resizes the underlying devices of the two PVs involved?
Thanks.
lvm
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52
add a comment |
man pvmove
says
pvmove moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs. You can optionally specify a source LV in which case only extents used by that LV will be
moved to free (or specified) extents on the destination PV. If no destination PV is specified, the
normal allocation rules for the VG are used.
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs" mean?
What is the difference between pvmove
and pvresize
? Does pvmove
shrink a PV and then use the freed up space to enlarge another PV?
There is a device ( a disk or partition) underlying each PV. Does pvmove
work along with another command which resizes the underlying devices of the two PVs involved?
Thanks.
lvm
man pvmove
says
pvmove moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs. You can optionally specify a source LV in which case only extents used by that LV will be
moved to free (or specified) extents on the destination PV. If no destination PV is specified, the
normal allocation rules for the VG are used.
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination
PVs" mean?
What is the difference between pvmove
and pvresize
? Does pvmove
shrink a PV and then use the freed up space to enlarge another PV?
There is a device ( a disk or partition) underlying each PV. Does pvmove
work along with another command which resizes the underlying devices of the two PVs involved?
Thanks.
lvm
lvm
asked Feb 25 at 17:36
TimTim
28k78269488
28k78269488
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52
add a comment |
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52
add a comment |
1 Answer
1
active
oldest
votes
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination PVs" mean?
It means what it says. The extents (blocks of data) in one PV are moved to another one. For example, if you have two PVs /dev/sda1
and /dev/sdb1
for a VG you can move the extents from /dev/sda1
to /dev/sdb1
). Assuming you had enough space on /dev/sdb1
this would allow you to remove /dev/sda1
from the VG, possibly even removing the entire /dev/sda
from the system.
What is the difference between pvmove and pvresize? Does pvmove shrink a PV and then use the freed up space to enlarge another PV
pvmove
moves data from one physical device in a VG to another. pvresize
changes the size used by a PV. An example from the man page suggests this might be done after changing the size of a partition with fdisk
.
Does pvmove work along with another command which resizes the underlying devices of the two PVs involved?
pvresize
resizes a PV. pvmove
moves the extents (data blocks) from one PV to another.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f502949%2fwhat-does-pvmove-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination PVs" mean?
It means what it says. The extents (blocks of data) in one PV are moved to another one. For example, if you have two PVs /dev/sda1
and /dev/sdb1
for a VG you can move the extents from /dev/sda1
to /dev/sdb1
). Assuming you had enough space on /dev/sdb1
this would allow you to remove /dev/sda1
from the VG, possibly even removing the entire /dev/sda
from the system.
What is the difference between pvmove and pvresize? Does pvmove shrink a PV and then use the freed up space to enlarge another PV
pvmove
moves data from one physical device in a VG to another. pvresize
changes the size used by a PV. An example from the man page suggests this might be done after changing the size of a partition with fdisk
.
Does pvmove work along with another command which resizes the underlying devices of the two PVs involved?
pvresize
resizes a PV. pvmove
moves the extents (data blocks) from one PV to another.
add a comment |
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination PVs" mean?
It means what it says. The extents (blocks of data) in one PV are moved to another one. For example, if you have two PVs /dev/sda1
and /dev/sdb1
for a VG you can move the extents from /dev/sda1
to /dev/sdb1
). Assuming you had enough space on /dev/sdb1
this would allow you to remove /dev/sda1
from the VG, possibly even removing the entire /dev/sda
from the system.
What is the difference between pvmove and pvresize? Does pvmove shrink a PV and then use the freed up space to enlarge another PV
pvmove
moves data from one physical device in a VG to another. pvresize
changes the size used by a PV. An example from the man page suggests this might be done after changing the size of a partition with fdisk
.
Does pvmove work along with another command which resizes the underlying devices of the two PVs involved?
pvresize
resizes a PV. pvmove
moves the extents (data blocks) from one PV to another.
add a comment |
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination PVs" mean?
It means what it says. The extents (blocks of data) in one PV are moved to another one. For example, if you have two PVs /dev/sda1
and /dev/sdb1
for a VG you can move the extents from /dev/sda1
to /dev/sdb1
). Assuming you had enough space on /dev/sdb1
this would allow you to remove /dev/sda1
from the VG, possibly even removing the entire /dev/sda
from the system.
What is the difference between pvmove and pvresize? Does pvmove shrink a PV and then use the freed up space to enlarge another PV
pvmove
moves data from one physical device in a VG to another. pvresize
changes the size used by a PV. An example from the man page suggests this might be done after changing the size of a partition with fdisk
.
Does pvmove work along with another command which resizes the underlying devices of the two PVs involved?
pvresize
resizes a PV. pvmove
moves the extents (data blocks) from one PV to another.
What does "moves the allocated physical extents (PEs) on a source PV to one or more destination PVs" mean?
It means what it says. The extents (blocks of data) in one PV are moved to another one. For example, if you have two PVs /dev/sda1
and /dev/sdb1
for a VG you can move the extents from /dev/sda1
to /dev/sdb1
). Assuming you had enough space on /dev/sdb1
this would allow you to remove /dev/sda1
from the VG, possibly even removing the entire /dev/sda
from the system.
What is the difference between pvmove and pvresize? Does pvmove shrink a PV and then use the freed up space to enlarge another PV
pvmove
moves data from one physical device in a VG to another. pvresize
changes the size used by a PV. An example from the man page suggests this might be done after changing the size of a partition with fdisk
.
Does pvmove work along with another command which resizes the underlying devices of the two PVs involved?
pvresize
resizes a PV. pvmove
moves the extents (data blocks) from one PV to another.
answered Feb 25 at 18:35
roaimaroaima
45.8k758124
45.8k758124
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f502949%2fwhat-does-pvmove-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Two nice examples of pvmove for further reading: Removing an Old Disk
– Freddy
Feb 25 at 17:52