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













0















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?










share|improve this question


























    0















    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?










    share|improve this question
























      0












      0








      0








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      godzillantegodzillante

      165112




      165112




















          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
          );



          );













          draft saved

          draft discarded


















          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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company