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

          RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos