How to remap deleted LV on thin provisioning volumeHow to recover logical volume deleted with lvremoveMove VMware ESXi VM to new datastore - preserve thin-provisioningHow to clone LVM thin provisioning volume?LVM thin provisioningshould I use thick or thin provisioningHow can I safely use storage thin provisioning?Figure out the used space on the snapshot thin volumeIs it possible to extend the data device of an Thin Provision pool setted by device mapper?is it possible to convert dataset to sparse volume (thin provisioning)?OpenShift / Docker thin provisioningDisable thin provisioning (sparse files) in proxmox
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
Where would I need my direct neural interface to be implanted?
Knowledge-based authentication using Domain-driven Design in C#
How dangerous is XSS
Fair gambler's ruin problem intuition
How to travel to Japan while expressing milk?
Is it inappropriate for a student to attend their mentor's dissertation defense?
How do I exit BASH while loop using modulus operator?
Unlock My Phone! February 2018
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
Car headlights in a world without electricity
How to compactly explain secondary and tertiary characters without resorting to stereotypes?
Should I tell management that I intend to leave due to bad software development practices?
In Bayesian inference, why are some terms dropped from the posterior predictive?
What is a Samsaran Word™?
How much mains leakage does an Ethernet connection to a PC induce, and what is the operating leakage path?
Finding the error in an argument
Bullying boss launched a smear campaign and made me unemployable
Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?
Was the old ablative pronoun "med" or "mēd"?
Why do I get negative height?
Why was Sir Cadogan fired?
Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?
How to prevent "they're falling in love" trope
How to remap deleted LV on thin provisioning volume
How to recover logical volume deleted with lvremoveMove VMware ESXi VM to new datastore - preserve thin-provisioningHow to clone LVM thin provisioning volume?LVM thin provisioningshould I use thick or thin provisioningHow can I safely use storage thin provisioning?Figure out the used space on the snapshot thin volumeIs it possible to extend the data device of an Thin Provision pool setted by device mapper?is it possible to convert dataset to sparse volume (thin provisioning)?OpenShift / Docker thin provisioningDisable thin provisioning (sparse files) in proxmox
I have a thin-provisioning storage, on top of which I created an LVM disk.
I didn't know that I had to set issue_discards = 1
in lvm.conf in order to have my disks actually deleted when I run lvremove
.
I activated the option and it's working fine for new LVs, however I would like to reactivate the old disks using the metadata backups (I have all the archives) so I can delete them safely.
I know of this answer where they restore the disks through start size and offset, but I'm unsure if I can use it because I suspect that offset could have been reused in the meantime (maybe it's a stupid assumption given that the actual storage still had those sectors marked as occupied).
Is it possible to simply remap the LV in /dev/mapper using the id I find in the metadata backup?
lvm restore thin-provisioning device-mapper
add a comment |
I have a thin-provisioning storage, on top of which I created an LVM disk.
I didn't know that I had to set issue_discards = 1
in lvm.conf in order to have my disks actually deleted when I run lvremove
.
I activated the option and it's working fine for new LVs, however I would like to reactivate the old disks using the metadata backups (I have all the archives) so I can delete them safely.
I know of this answer where they restore the disks through start size and offset, but I'm unsure if I can use it because I suspect that offset could have been reused in the meantime (maybe it's a stupid assumption given that the actual storage still had those sectors marked as occupied).
Is it possible to simply remap the LV in /dev/mapper using the id I find in the metadata backup?
lvm restore thin-provisioning device-mapper
add a comment |
I have a thin-provisioning storage, on top of which I created an LVM disk.
I didn't know that I had to set issue_discards = 1
in lvm.conf in order to have my disks actually deleted when I run lvremove
.
I activated the option and it's working fine for new LVs, however I would like to reactivate the old disks using the metadata backups (I have all the archives) so I can delete them safely.
I know of this answer where they restore the disks through start size and offset, but I'm unsure if I can use it because I suspect that offset could have been reused in the meantime (maybe it's a stupid assumption given that the actual storage still had those sectors marked as occupied).
Is it possible to simply remap the LV in /dev/mapper using the id I find in the metadata backup?
lvm restore thin-provisioning device-mapper
I have a thin-provisioning storage, on top of which I created an LVM disk.
I didn't know that I had to set issue_discards = 1
in lvm.conf in order to have my disks actually deleted when I run lvremove
.
I activated the option and it's working fine for new LVs, however I would like to reactivate the old disks using the metadata backups (I have all the archives) so I can delete them safely.
I know of this answer where they restore the disks through start size and offset, but I'm unsure if I can use it because I suspect that offset could have been reused in the meantime (maybe it's a stupid assumption given that the actual storage still had those sectors marked as occupied).
Is it possible to simply remap the LV in /dev/mapper using the id I find in the metadata backup?
lvm restore thin-provisioning device-mapper
lvm restore thin-provisioning device-mapper
asked yesterday
godzillantegodzillante
165112
165112
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
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%2fserverfault.com%2fquestions%2f960913%2fhow-to-remap-deleted-lv-on-thin-provisioning-volume%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 Server Fault!
- 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%2fserverfault.com%2fquestions%2f960913%2fhow-to-remap-deleted-lv-on-thin-provisioning-volume%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