PVS output not showing drive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I had created physical volume earlier i.e. /backup, /ndasdb, /processor, /latro.



Don't know what exactly happened, but /ndasdb is not showing in any of this output result:



Pvdisplay, Vgdisplay, and lvdisplay. rest 3 are showing.



I can see the lun in multipath -ll (ndasdb is there)



I tried to recreate it with pvcreate /dev/mapper/ndasdb but its gives me this error:



WARNING: gfs2 signature detected on /dev/mapper/ndasdb at offset 65536. Wipe it? [y/n]: n
Aborted wiping of gfs2.
1 existing signature left on the device.


Is it true if I do yes it will delete my all data?
Is there anyway to bring my drive back without loosing any data?



lsb output










share|improve this question
























  • To understand how your disks have been set up, can you provide the output of lsblk?

    – Haxiel
    Jan 1 at 12:43











  • kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

    – Himanshu Dua
    Jan 2 at 9:33











  • Instead of using an external link, please edit your question to include the output from lsblk.

    – Haxiel
    Jan 2 at 9:36











  • i did it kindly check

    – Himanshu Dua
    Jan 3 at 8:06















1















I had created physical volume earlier i.e. /backup, /ndasdb, /processor, /latro.



Don't know what exactly happened, but /ndasdb is not showing in any of this output result:



Pvdisplay, Vgdisplay, and lvdisplay. rest 3 are showing.



I can see the lun in multipath -ll (ndasdb is there)



I tried to recreate it with pvcreate /dev/mapper/ndasdb but its gives me this error:



WARNING: gfs2 signature detected on /dev/mapper/ndasdb at offset 65536. Wipe it? [y/n]: n
Aborted wiping of gfs2.
1 existing signature left on the device.


Is it true if I do yes it will delete my all data?
Is there anyway to bring my drive back without loosing any data?



lsb output










share|improve this question
























  • To understand how your disks have been set up, can you provide the output of lsblk?

    – Haxiel
    Jan 1 at 12:43











  • kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

    – Himanshu Dua
    Jan 2 at 9:33











  • Instead of using an external link, please edit your question to include the output from lsblk.

    – Haxiel
    Jan 2 at 9:36











  • i did it kindly check

    – Himanshu Dua
    Jan 3 at 8:06













1












1








1








I had created physical volume earlier i.e. /backup, /ndasdb, /processor, /latro.



Don't know what exactly happened, but /ndasdb is not showing in any of this output result:



Pvdisplay, Vgdisplay, and lvdisplay. rest 3 are showing.



I can see the lun in multipath -ll (ndasdb is there)



I tried to recreate it with pvcreate /dev/mapper/ndasdb but its gives me this error:



WARNING: gfs2 signature detected on /dev/mapper/ndasdb at offset 65536. Wipe it? [y/n]: n
Aborted wiping of gfs2.
1 existing signature left on the device.


Is it true if I do yes it will delete my all data?
Is there anyway to bring my drive back without loosing any data?



lsb output










share|improve this question
















I had created physical volume earlier i.e. /backup, /ndasdb, /processor, /latro.



Don't know what exactly happened, but /ndasdb is not showing in any of this output result:



Pvdisplay, Vgdisplay, and lvdisplay. rest 3 are showing.



I can see the lun in multipath -ll (ndasdb is there)



I tried to recreate it with pvcreate /dev/mapper/ndasdb but its gives me this error:



WARNING: gfs2 signature detected on /dev/mapper/ndasdb at offset 65536. Wipe it? [y/n]: n
Aborted wiping of gfs2.
1 existing signature left on the device.


Is it true if I do yes it will delete my all data?
Is there anyway to bring my drive back without loosing any data?



lsb output







linux lvm storage cluster san






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 8:02







Himanshu Dua

















asked Dec 31 '18 at 20:38









Himanshu DuaHimanshu Dua

62




62












  • To understand how your disks have been set up, can you provide the output of lsblk?

    – Haxiel
    Jan 1 at 12:43











  • kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

    – Himanshu Dua
    Jan 2 at 9:33











  • Instead of using an external link, please edit your question to include the output from lsblk.

    – Haxiel
    Jan 2 at 9:36











  • i did it kindly check

    – Himanshu Dua
    Jan 3 at 8:06

















  • To understand how your disks have been set up, can you provide the output of lsblk?

    – Haxiel
    Jan 1 at 12:43











  • kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

    – Himanshu Dua
    Jan 2 at 9:33











  • Instead of using an external link, please edit your question to include the output from lsblk.

    – Haxiel
    Jan 2 at 9:36











  • i did it kindly check

    – Himanshu Dua
    Jan 3 at 8:06
















To understand how your disks have been set up, can you provide the output of lsblk?

– Haxiel
Jan 1 at 12:43





To understand how your disks have been set up, can you provide the output of lsblk?

– Haxiel
Jan 1 at 12:43













kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

– Himanshu Dua
Jan 2 at 9:33





kindly download the output result from this below linke dropbox.com/sh/wobgracp5gd5ie8/AACKoct3h3U3d31lTDtibXMca?dl=0

– Himanshu Dua
Jan 2 at 9:33













Instead of using an external link, please edit your question to include the output from lsblk.

– Haxiel
Jan 2 at 9:36





Instead of using an external link, please edit your question to include the output from lsblk.

– Haxiel
Jan 2 at 9:36













i did it kindly check

– Himanshu Dua
Jan 3 at 8:06





i did it kindly check

– Himanshu Dua
Jan 3 at 8:06










1 Answer
1






active

oldest

votes


















0















Is it true if do yes will delete my all data?




Yes, you are right because you will write LVM data inside the disk.




is there anyway to bring my drive back without loosing any data.




As pvcreate command detected a GFS2 filesystem intact in the disk and assuming it can be mounted, you can proceed as follows:



  1. Create a mount point and a backup folder:
    mkdir /mnt/mountpoint,backup

  2. Mount the disk:
    mount -t gfs2 /dev/mapper/mdasdb /mnt/mountpoint

  3. Copy the data in /mnt/mountpoint folder to /mnt/backup:
    cp -r /mnt/mountpoint/ /mnt/backup/

  4. Now your data should be in /mnt/backup folder.

I hope this helps.






share|improve this answer

























  • Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

    – Himanshu Dua
    Jan 1 at 9:05












  • if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

    – Himanshu Dua
    Jan 1 at 9:20












  • @HimanshuDua I have modified the answer. Waiting for your feedback.

    – Manuel Florian
    Jan 1 at 20:03











  • i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

    – Himanshu Dua
    Jan 2 at 7:40












  • It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

    – Manuel Florian
    Jan 2 at 12:01










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%2f491819%2fpvs-output-not-showing-drive%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















Is it true if do yes will delete my all data?




Yes, you are right because you will write LVM data inside the disk.




is there anyway to bring my drive back without loosing any data.




As pvcreate command detected a GFS2 filesystem intact in the disk and assuming it can be mounted, you can proceed as follows:



  1. Create a mount point and a backup folder:
    mkdir /mnt/mountpoint,backup

  2. Mount the disk:
    mount -t gfs2 /dev/mapper/mdasdb /mnt/mountpoint

  3. Copy the data in /mnt/mountpoint folder to /mnt/backup:
    cp -r /mnt/mountpoint/ /mnt/backup/

  4. Now your data should be in /mnt/backup folder.

I hope this helps.






share|improve this answer

























  • Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

    – Himanshu Dua
    Jan 1 at 9:05












  • if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

    – Himanshu Dua
    Jan 1 at 9:20












  • @HimanshuDua I have modified the answer. Waiting for your feedback.

    – Manuel Florian
    Jan 1 at 20:03











  • i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

    – Himanshu Dua
    Jan 2 at 7:40












  • It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

    – Manuel Florian
    Jan 2 at 12:01















0















Is it true if do yes will delete my all data?




Yes, you are right because you will write LVM data inside the disk.




is there anyway to bring my drive back without loosing any data.




As pvcreate command detected a GFS2 filesystem intact in the disk and assuming it can be mounted, you can proceed as follows:



  1. Create a mount point and a backup folder:
    mkdir /mnt/mountpoint,backup

  2. Mount the disk:
    mount -t gfs2 /dev/mapper/mdasdb /mnt/mountpoint

  3. Copy the data in /mnt/mountpoint folder to /mnt/backup:
    cp -r /mnt/mountpoint/ /mnt/backup/

  4. Now your data should be in /mnt/backup folder.

I hope this helps.






share|improve this answer

























  • Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

    – Himanshu Dua
    Jan 1 at 9:05












  • if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

    – Himanshu Dua
    Jan 1 at 9:20












  • @HimanshuDua I have modified the answer. Waiting for your feedback.

    – Manuel Florian
    Jan 1 at 20:03











  • i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

    – Himanshu Dua
    Jan 2 at 7:40












  • It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

    – Manuel Florian
    Jan 2 at 12:01













0












0








0








Is it true if do yes will delete my all data?




Yes, you are right because you will write LVM data inside the disk.




is there anyway to bring my drive back without loosing any data.




As pvcreate command detected a GFS2 filesystem intact in the disk and assuming it can be mounted, you can proceed as follows:



  1. Create a mount point and a backup folder:
    mkdir /mnt/mountpoint,backup

  2. Mount the disk:
    mount -t gfs2 /dev/mapper/mdasdb /mnt/mountpoint

  3. Copy the data in /mnt/mountpoint folder to /mnt/backup:
    cp -r /mnt/mountpoint/ /mnt/backup/

  4. Now your data should be in /mnt/backup folder.

I hope this helps.






share|improve this answer
















Is it true if do yes will delete my all data?




Yes, you are right because you will write LVM data inside the disk.




is there anyway to bring my drive back without loosing any data.




As pvcreate command detected a GFS2 filesystem intact in the disk and assuming it can be mounted, you can proceed as follows:



  1. Create a mount point and a backup folder:
    mkdir /mnt/mountpoint,backup

  2. Mount the disk:
    mount -t gfs2 /dev/mapper/mdasdb /mnt/mountpoint

  3. Copy the data in /mnt/mountpoint folder to /mnt/backup:
    cp -r /mnt/mountpoint/ /mnt/backup/

  4. Now your data should be in /mnt/backup folder.

I hope this helps.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 1 at 20:01

























answered Dec 31 '18 at 22:06









Manuel FlorianManuel Florian

364




364












  • Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

    – Himanshu Dua
    Jan 1 at 9:05












  • if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

    – Himanshu Dua
    Jan 1 at 9:20












  • @HimanshuDua I have modified the answer. Waiting for your feedback.

    – Manuel Florian
    Jan 1 at 20:03











  • i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

    – Himanshu Dua
    Jan 2 at 7:40












  • It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

    – Manuel Florian
    Jan 2 at 12:01

















  • Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

    – Himanshu Dua
    Jan 1 at 9:05












  • if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

    – Himanshu Dua
    Jan 1 at 9:20












  • @HimanshuDua I have modified the answer. Waiting for your feedback.

    – Manuel Florian
    Jan 1 at 20:03











  • i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

    – Himanshu Dua
    Jan 2 at 7:40












  • It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

    – Manuel Florian
    Jan 2 at 12:01
















Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

– Himanshu Dua
Jan 1 at 9:05






Hello thanks for reply, i could not understand well. please how will i mount it? what info are you asking to extract ? please i would be really greatful to you if could tell me the step by step process. thanks in advance.

– Himanshu Dua
Jan 1 at 9:05














if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

– Himanshu Dua
Jan 1 at 9:20






if i am getting you right i trid to mount with this, mount /dev/mapper/ndasdb /ndasdb. it says "mount: mount(2) failed: No such file or directory " please let me know how can i mount and take my info to a backup location.

– Himanshu Dua
Jan 1 at 9:20














@HimanshuDua I have modified the answer. Waiting for your feedback.

– Manuel Florian
Jan 1 at 20:03





@HimanshuDua I have modified the answer. Waiting for your feedback.

– Manuel Florian
Jan 1 at 20:03













i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

– Himanshu Dua
Jan 2 at 7:40






i tried do use this command.mount -t gfs2 /dev/mapper/ndasdb /mnt/ mount: mount(2) failed: No such file or directory. it giving me this error

– Himanshu Dua
Jan 2 at 7:40














It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

– Manuel Florian
Jan 2 at 12:01





It looks like /mnt folder doesn't exit. Did you run the Step1 successfully? Please provide the output of ls /mnt.

– Manuel Florian
Jan 2 at 12:01

















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%2f491819%2fpvs-output-not-showing-drive%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

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay