Mounting synology disks in ubuntu












1















I have some files on synology disk that I would like to recover with extundelete.
I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with lvm. I try to get the lvm going. I think it doesn't like the md2p1. I tried to mount md2p1, but it doesn't mount, so I thnik it's some garbage. How could I make that work that LVM would find the other device?



sudo lsblk -o name,uuid,mountpoint
NAME UUID MOUNTPOINT
sda
├─sda1 bb4b1f59-9349-4e59-cced-5de7ca715931
├─sda2 291dec99-01d5-7031-cced-5de7ca715931
├─sda5 46288321-39d3-353d-7014-c3a9333d1c33
│ └─md2 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2
│ └─md2p1 8da77aa4-43ff-4cd1-81f0-f311284e0b04
└─sda6 a7ff03a3-29c2-a100-ecdd-c31c151ca783
└─md3 Eu0fsK-Cu1W-3PCw-ZEV6-80fL-05rf-H0qlcE
sdb
├─sdb1 e29faa0c-a7b4-4851-a17d-75c20238edc2 /
├─sdb2 ce06f4bb-5f73-423b-9794-b94a1e47d4f8
└─sdb3 6089A7F658D702D4
sdc
└─sdc1 09d3c590-3a6a-4436-8718-7c14ab0e282b

sudo lvs
Couldn't find device with uuid 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2.
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
lv vg1000 -wi-----p 2,72t









share|improve this question














bumped to the homepage by Community 3 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I have some files on synology disk that I would like to recover with extundelete.
    I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with lvm. I try to get the lvm going. I think it doesn't like the md2p1. I tried to mount md2p1, but it doesn't mount, so I thnik it's some garbage. How could I make that work that LVM would find the other device?



    sudo lsblk -o name,uuid,mountpoint
    NAME UUID MOUNTPOINT
    sda
    ├─sda1 bb4b1f59-9349-4e59-cced-5de7ca715931
    ├─sda2 291dec99-01d5-7031-cced-5de7ca715931
    ├─sda5 46288321-39d3-353d-7014-c3a9333d1c33
    │ └─md2 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2
    │ └─md2p1 8da77aa4-43ff-4cd1-81f0-f311284e0b04
    └─sda6 a7ff03a3-29c2-a100-ecdd-c31c151ca783
    └─md3 Eu0fsK-Cu1W-3PCw-ZEV6-80fL-05rf-H0qlcE
    sdb
    ├─sdb1 e29faa0c-a7b4-4851-a17d-75c20238edc2 /
    ├─sdb2 ce06f4bb-5f73-423b-9794-b94a1e47d4f8
    └─sdb3 6089A7F658D702D4
    sdc
    └─sdc1 09d3c590-3a6a-4436-8718-7c14ab0e282b

    sudo lvs
    Couldn't find device with uuid 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2.
    LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
    lv vg1000 -wi-----p 2,72t









    share|improve this question














    bumped to the homepage by Community 3 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I have some files on synology disk that I would like to recover with extundelete.
      I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with lvm. I try to get the lvm going. I think it doesn't like the md2p1. I tried to mount md2p1, but it doesn't mount, so I thnik it's some garbage. How could I make that work that LVM would find the other device?



      sudo lsblk -o name,uuid,mountpoint
      NAME UUID MOUNTPOINT
      sda
      ├─sda1 bb4b1f59-9349-4e59-cced-5de7ca715931
      ├─sda2 291dec99-01d5-7031-cced-5de7ca715931
      ├─sda5 46288321-39d3-353d-7014-c3a9333d1c33
      │ └─md2 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2
      │ └─md2p1 8da77aa4-43ff-4cd1-81f0-f311284e0b04
      └─sda6 a7ff03a3-29c2-a100-ecdd-c31c151ca783
      └─md3 Eu0fsK-Cu1W-3PCw-ZEV6-80fL-05rf-H0qlcE
      sdb
      ├─sdb1 e29faa0c-a7b4-4851-a17d-75c20238edc2 /
      ├─sdb2 ce06f4bb-5f73-423b-9794-b94a1e47d4f8
      └─sdb3 6089A7F658D702D4
      sdc
      └─sdc1 09d3c590-3a6a-4436-8718-7c14ab0e282b

      sudo lvs
      Couldn't find device with uuid 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2.
      LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
      lv vg1000 -wi-----p 2,72t









      share|improve this question














      I have some files on synology disk that I would like to recover with extundelete.
      I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with lvm. I try to get the lvm going. I think it doesn't like the md2p1. I tried to mount md2p1, but it doesn't mount, so I thnik it's some garbage. How could I make that work that LVM would find the other device?



      sudo lsblk -o name,uuid,mountpoint
      NAME UUID MOUNTPOINT
      sda
      ├─sda1 bb4b1f59-9349-4e59-cced-5de7ca715931
      ├─sda2 291dec99-01d5-7031-cced-5de7ca715931
      ├─sda5 46288321-39d3-353d-7014-c3a9333d1c33
      │ └─md2 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2
      │ └─md2p1 8da77aa4-43ff-4cd1-81f0-f311284e0b04
      └─sda6 a7ff03a3-29c2-a100-ecdd-c31c151ca783
      └─md3 Eu0fsK-Cu1W-3PCw-ZEV6-80fL-05rf-H0qlcE
      sdb
      ├─sdb1 e29faa0c-a7b4-4851-a17d-75c20238edc2 /
      ├─sdb2 ce06f4bb-5f73-423b-9794-b94a1e47d4f8
      └─sdb3 6089A7F658D702D4
      sdc
      └─sdc1 09d3c590-3a6a-4436-8718-7c14ab0e282b

      sudo lvs
      Couldn't find device with uuid 8s9LfU-Egt2-sbtJ-1zkH-ewqb-LjRT-xZ2RC2.
      LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
      lv vg1000 -wi-----p 2,72t






      ubuntu mount lvm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 1 '14 at 9:05









      KaarelKaarel

      62




      62





      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 3 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I was once confronted by this problem, and what I've done is cross-compiled extundelete and installed it on the synology.



          Another way may be to use kpartx so your system will recognize the correct device name.



          I remember synology used to assemble RAID parts using mdadm, not LVM directly (it may have changed since). If you use LVM directly and modify the filesystem, you may have to reconstruct the RAID.






          share|improve this answer

























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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f170801%2fmounting-synology-disks-in-ubuntu%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









            0














            I was once confronted by this problem, and what I've done is cross-compiled extundelete and installed it on the synology.



            Another way may be to use kpartx so your system will recognize the correct device name.



            I remember synology used to assemble RAID parts using mdadm, not LVM directly (it may have changed since). If you use LVM directly and modify the filesystem, you may have to reconstruct the RAID.






            share|improve this answer






























              0














              I was once confronted by this problem, and what I've done is cross-compiled extundelete and installed it on the synology.



              Another way may be to use kpartx so your system will recognize the correct device name.



              I remember synology used to assemble RAID parts using mdadm, not LVM directly (it may have changed since). If you use LVM directly and modify the filesystem, you may have to reconstruct the RAID.






              share|improve this answer




























                0












                0








                0







                I was once confronted by this problem, and what I've done is cross-compiled extundelete and installed it on the synology.



                Another way may be to use kpartx so your system will recognize the correct device name.



                I remember synology used to assemble RAID parts using mdadm, not LVM directly (it may have changed since). If you use LVM directly and modify the filesystem, you may have to reconstruct the RAID.






                share|improve this answer















                I was once confronted by this problem, and what I've done is cross-compiled extundelete and installed it on the synology.



                Another way may be to use kpartx so your system will recognize the correct device name.



                I remember synology used to assemble RAID parts using mdadm, not LVM directly (it may have changed since). If you use LVM directly and modify the filesystem, you may have to reconstruct the RAID.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 31 '16 at 20:11









                depquid

                2,79011331




                2,79011331










                answered Aug 31 '16 at 19:43









                dominixdominix

                8318




                8318






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f170801%2fmounting-synology-disks-in-ubuntu%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

                    CARDNET

                    Boot-repair Failure: Unable to locate package grub-common:i386

                    濃尾地震