LVM snapshot at full disk installation
Is it possible to take LVM snapshots of single whole disk installation under following circumstances?
root@talon1 ~ # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root xubuntu-vg -wi-ao---- 464.30g
swap_1 xubuntu-vg -wi-ao---- 980.00m
root@talon1 ~ # vgs
VG #PV #LV #SN Attr VSize VFree
xubuntu-vg 1 2 0 wz--n- <465.26g 0
root@talon1 ~ # fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 36D8E4F9-C29B-4F16-ABBB-1ED3F8168A1B
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 976771071 975720448 465.3G Linux LVM
Disk /dev/mapper/xubuntu--vg-root: 464.3 GiB, 498539167744 bytes, 973709312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/xubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
From this tutorial, it looks like I need a separate partition.
Is it also possible to create a small 15-16 GB partition on the fly and use that for snapshot?
partitioning lvm
add a comment |
Is it possible to take LVM snapshots of single whole disk installation under following circumstances?
root@talon1 ~ # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root xubuntu-vg -wi-ao---- 464.30g
swap_1 xubuntu-vg -wi-ao---- 980.00m
root@talon1 ~ # vgs
VG #PV #LV #SN Attr VSize VFree
xubuntu-vg 1 2 0 wz--n- <465.26g 0
root@talon1 ~ # fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 36D8E4F9-C29B-4F16-ABBB-1ED3F8168A1B
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 976771071 975720448 465.3G Linux LVM
Disk /dev/mapper/xubuntu--vg-root: 464.3 GiB, 498539167744 bytes, 973709312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/xubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
From this tutorial, it looks like I need a separate partition.
Is it also possible to create a small 15-16 GB partition on the fly and use that for snapshot?
partitioning lvm
add a comment |
Is it possible to take LVM snapshots of single whole disk installation under following circumstances?
root@talon1 ~ # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root xubuntu-vg -wi-ao---- 464.30g
swap_1 xubuntu-vg -wi-ao---- 980.00m
root@talon1 ~ # vgs
VG #PV #LV #SN Attr VSize VFree
xubuntu-vg 1 2 0 wz--n- <465.26g 0
root@talon1 ~ # fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 36D8E4F9-C29B-4F16-ABBB-1ED3F8168A1B
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 976771071 975720448 465.3G Linux LVM
Disk /dev/mapper/xubuntu--vg-root: 464.3 GiB, 498539167744 bytes, 973709312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/xubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
From this tutorial, it looks like I need a separate partition.
Is it also possible to create a small 15-16 GB partition on the fly and use that for snapshot?
partitioning lvm
Is it possible to take LVM snapshots of single whole disk installation under following circumstances?
root@talon1 ~ # lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root xubuntu-vg -wi-ao---- 464.30g
swap_1 xubuntu-vg -wi-ao---- 980.00m
root@talon1 ~ # vgs
VG #PV #LV #SN Attr VSize VFree
xubuntu-vg 1 2 0 wz--n- <465.26g 0
root@talon1 ~ # fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 36D8E4F9-C29B-4F16-ABBB-1ED3F8168A1B
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 976771071 975720448 465.3G Linux LVM
Disk /dev/mapper/xubuntu--vg-root: 464.3 GiB, 498539167744 bytes, 973709312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/xubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
From this tutorial, it looks like I need a separate partition.
Is it also possible to create a small 15-16 GB partition on the fly and use that for snapshot?
partitioning lvm
partitioning lvm
asked Feb 21 at 10:45
Trevis SchifferTrevis Schiffer
111
111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
No unless you add another disk to the volume group.
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1120083%2flvm-snapshot-at-full-disk-installation%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
No unless you add another disk to the volume group.
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
add a comment |
No unless you add another disk to the volume group.
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
add a comment |
No unless you add another disk to the volume group.
No unless you add another disk to the volume group.
answered Feb 21 at 12:13
niconico
614
614
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
add a comment |
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
I had a thought never done it before but you could use a ram disk if you have enough ram
– nico
Feb 21 at 12:18
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
– mature
Feb 21 at 13:24
1
1
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
I did answer his question his question was is it possible under these conditions and it a no. He did not ask how go about resolving the issue. I added that he would need to add additional storage. If he changes the question, I'll change my answer. I added my comment about ram disk because I don't know if it would work.
– nico
Feb 21 at 17:20
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
@nico Thanks. I appreciate that. RAM disk use is underrated.
– Trevis Schiffer
Feb 21 at 18:45
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1120083%2flvm-snapshot-at-full-disk-installation%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