lvconvert - Striped LV convert to Linear LV
I need to convert striped lvm stripe 3 to linear lvm
[root@localhost ~]# lvdisplay -vm stripevg
Using logical volume(s) on command line.
--- Logical volume ---
LV Path /dev/stripevg/stripelv
LV Name stripelv
VG Name stripevg
LV UUID kP3iFA-SSjw-NowP-T4Yu-XWUl-V0jP-mDXFc7
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2019-02-03 10:54:41 +0530
LV Status available
# open 0
LV Size 5.00 GiB
Current LE 1281
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:3
--- Segments ---
Logical extents 0 to 1280:
Type striped
Stripes 3
Stripe size 4.00 KiB
Stripe 0:
Physical volume /dev/sdb
Physical extents 0 to 426
Stripe 1:
Physical volume /dev/sdc
Physical extents 0 to 426
Stripe 2:
Physical volume /dev/sdd
Physical extents 0 to 426
[root@localhost ~]# pvs -a -o +pv_used,dev_size,devices
PV VG Fmt Attr PSize PFree Used DevSize Devices
/dev/centos/boot --- 0 0 0 500.00m
/dev/centos/root --- 0 0 0 45.50g
/dev/centos/swap --- 0 0 0 4.00g
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(0)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(125)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(1149)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sde --- 0 0 0 10.00g
/dev/sdf --- 0 0 0 10.00g
/dev/sdg --- 0 0 0 60.00g
/dev/sdh --- 0 0 0 30.00g
/dev/sdi stripevg lvm2 a-- 40.00g 40.00g 0 40.00g
/dev/sdj --- 0 0 0 10.00g
/dev/stripevg/stripelv --- 0 0 0 5.00g
[root@localhost ~]# lvconvert -m1 /dev/stripevg/stripelv /dev/sdi
'--mirrors/-m' is not compatible with striped
This command not work how can i convert striped lv to linear lv
lvm
add a comment |
I need to convert striped lvm stripe 3 to linear lvm
[root@localhost ~]# lvdisplay -vm stripevg
Using logical volume(s) on command line.
--- Logical volume ---
LV Path /dev/stripevg/stripelv
LV Name stripelv
VG Name stripevg
LV UUID kP3iFA-SSjw-NowP-T4Yu-XWUl-V0jP-mDXFc7
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2019-02-03 10:54:41 +0530
LV Status available
# open 0
LV Size 5.00 GiB
Current LE 1281
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:3
--- Segments ---
Logical extents 0 to 1280:
Type striped
Stripes 3
Stripe size 4.00 KiB
Stripe 0:
Physical volume /dev/sdb
Physical extents 0 to 426
Stripe 1:
Physical volume /dev/sdc
Physical extents 0 to 426
Stripe 2:
Physical volume /dev/sdd
Physical extents 0 to 426
[root@localhost ~]# pvs -a -o +pv_used,dev_size,devices
PV VG Fmt Attr PSize PFree Used DevSize Devices
/dev/centos/boot --- 0 0 0 500.00m
/dev/centos/root --- 0 0 0 45.50g
/dev/centos/swap --- 0 0 0 4.00g
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(0)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(125)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(1149)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sde --- 0 0 0 10.00g
/dev/sdf --- 0 0 0 10.00g
/dev/sdg --- 0 0 0 60.00g
/dev/sdh --- 0 0 0 30.00g
/dev/sdi stripevg lvm2 a-- 40.00g 40.00g 0 40.00g
/dev/sdj --- 0 0 0 10.00g
/dev/stripevg/stripelv --- 0 0 0 5.00g
[root@localhost ~]# lvconvert -m1 /dev/stripevg/stripelv /dev/sdi
'--mirrors/-m' is not compatible with striped
This command not work how can i convert striped lv to linear lv
lvm
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30
add a comment |
I need to convert striped lvm stripe 3 to linear lvm
[root@localhost ~]# lvdisplay -vm stripevg
Using logical volume(s) on command line.
--- Logical volume ---
LV Path /dev/stripevg/stripelv
LV Name stripelv
VG Name stripevg
LV UUID kP3iFA-SSjw-NowP-T4Yu-XWUl-V0jP-mDXFc7
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2019-02-03 10:54:41 +0530
LV Status available
# open 0
LV Size 5.00 GiB
Current LE 1281
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:3
--- Segments ---
Logical extents 0 to 1280:
Type striped
Stripes 3
Stripe size 4.00 KiB
Stripe 0:
Physical volume /dev/sdb
Physical extents 0 to 426
Stripe 1:
Physical volume /dev/sdc
Physical extents 0 to 426
Stripe 2:
Physical volume /dev/sdd
Physical extents 0 to 426
[root@localhost ~]# pvs -a -o +pv_used,dev_size,devices
PV VG Fmt Attr PSize PFree Used DevSize Devices
/dev/centos/boot --- 0 0 0 500.00m
/dev/centos/root --- 0 0 0 45.50g
/dev/centos/swap --- 0 0 0 4.00g
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(0)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(125)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(1149)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sde --- 0 0 0 10.00g
/dev/sdf --- 0 0 0 10.00g
/dev/sdg --- 0 0 0 60.00g
/dev/sdh --- 0 0 0 30.00g
/dev/sdi stripevg lvm2 a-- 40.00g 40.00g 0 40.00g
/dev/sdj --- 0 0 0 10.00g
/dev/stripevg/stripelv --- 0 0 0 5.00g
[root@localhost ~]# lvconvert -m1 /dev/stripevg/stripelv /dev/sdi
'--mirrors/-m' is not compatible with striped
This command not work how can i convert striped lv to linear lv
lvm
I need to convert striped lvm stripe 3 to linear lvm
[root@localhost ~]# lvdisplay -vm stripevg
Using logical volume(s) on command line.
--- Logical volume ---
LV Path /dev/stripevg/stripelv
LV Name stripelv
VG Name stripevg
LV UUID kP3iFA-SSjw-NowP-T4Yu-XWUl-V0jP-mDXFc7
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2019-02-03 10:54:41 +0530
LV Status available
# open 0
LV Size 5.00 GiB
Current LE 1281
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:3
--- Segments ---
Logical extents 0 to 1280:
Type striped
Stripes 3
Stripe size 4.00 KiB
Stripe 0:
Physical volume /dev/sdb
Physical extents 0 to 426
Stripe 1:
Physical volume /dev/sdc
Physical extents 0 to 426
Stripe 2:
Physical volume /dev/sdd
Physical extents 0 to 426
[root@localhost ~]# pvs -a -o +pv_used,dev_size,devices
PV VG Fmt Attr PSize PFree Used DevSize Devices
/dev/centos/boot --- 0 0 0 500.00m
/dev/centos/root --- 0 0 0 45.50g
/dev/centos/swap --- 0 0 0 4.00g
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(0)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(125)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g /dev/sda1(1149)
/dev/sda1 centos lvm2 a-- 50.00g 4.00m 49.99g 50.00g
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdb stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdc stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g /dev/sdb(0),/dev/sdc(0),/dev/sdd(0)
/dev/sdd stripevg lvm2 a-- 10.00g 8.33g 1.67g 10.00g
/dev/sde --- 0 0 0 10.00g
/dev/sdf --- 0 0 0 10.00g
/dev/sdg --- 0 0 0 60.00g
/dev/sdh --- 0 0 0 30.00g
/dev/sdi stripevg lvm2 a-- 40.00g 40.00g 0 40.00g
/dev/sdj --- 0 0 0 10.00g
/dev/stripevg/stripelv --- 0 0 0 5.00g
[root@localhost ~]# lvconvert -m1 /dev/stripevg/stripelv /dev/sdi
'--mirrors/-m' is not compatible with striped
This command not work how can i convert striped lv to linear lv
lvm
lvm
edited Feb 3 at 18:38
Thomas
3,94161327
3,94161327
asked Feb 3 at 17:54
abdul arshadabdul arshad
1
1
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30
add a comment |
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30
add a comment |
0
active
oldest
votes
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%2f498467%2flvconvert-striped-lv-convert-to-linear-lv%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f498467%2flvconvert-striped-lv-convert-to-linear-lv%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
Top hit on Google suggests How to convert striped LV to Linear LV. I've not tried it myself, which is why I'm not offering it as a proper answer, but it seems to address your issue exactly.
– roaima
Feb 4 at 21:30