Partition Not Showing up in /dev












12















I recently unmounted a 4TB hard drive from one computer in order to access the files directly from another computer. It seemed like there were no problems with the unmounting process. When connecting the hard drive to the other computer, the hard drive is recognized in "/dev" as sdb, but the partition "sdb1" is not appearing, therefore I cannot mount it. If I run



fdisk -l /dev/sdb


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT


The sdb1 partition shows up. Since this is a 4TB partition, I also ran the command



parted /dev/sdb

GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ASMT 2105 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags


Then typed "print". In this case, the sdb1 partition does NOT show up.



Why is there a mismatch of information here? Does this mean that the partition has been deleted? Is there any way to possibly recover this partition and mount it?



Thank you very much in advance










share|improve this question

























  • There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

    – Eric Leschinski
    Apr 27 '17 at 1:42
















12















I recently unmounted a 4TB hard drive from one computer in order to access the files directly from another computer. It seemed like there were no problems with the unmounting process. When connecting the hard drive to the other computer, the hard drive is recognized in "/dev" as sdb, but the partition "sdb1" is not appearing, therefore I cannot mount it. If I run



fdisk -l /dev/sdb


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT


The sdb1 partition shows up. Since this is a 4TB partition, I also ran the command



parted /dev/sdb

GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ASMT 2105 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags


Then typed "print". In this case, the sdb1 partition does NOT show up.



Why is there a mismatch of information here? Does this mean that the partition has been deleted? Is there any way to possibly recover this partition and mount it?



Thank you very much in advance










share|improve this question

























  • There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

    – Eric Leschinski
    Apr 27 '17 at 1:42














12












12








12


1






I recently unmounted a 4TB hard drive from one computer in order to access the files directly from another computer. It seemed like there were no problems with the unmounting process. When connecting the hard drive to the other computer, the hard drive is recognized in "/dev" as sdb, but the partition "sdb1" is not appearing, therefore I cannot mount it. If I run



fdisk -l /dev/sdb


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT


The sdb1 partition shows up. Since this is a 4TB partition, I also ran the command



parted /dev/sdb

GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ASMT 2105 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags


Then typed "print". In this case, the sdb1 partition does NOT show up.



Why is there a mismatch of information here? Does this mean that the partition has been deleted? Is there any way to possibly recover this partition and mount it?



Thank you very much in advance










share|improve this question
















I recently unmounted a 4TB hard drive from one computer in order to access the files directly from another computer. It seemed like there were no problems with the unmounting process. When connecting the hard drive to the other computer, the hard drive is recognized in "/dev" as sdb, but the partition "sdb1" is not appearing, therefore I cannot mount it. If I run



fdisk -l /dev/sdb


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT


The sdb1 partition shows up. Since this is a 4TB partition, I also ran the command



parted /dev/sdb

GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ASMT 2105 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags


Then typed "print". In this case, the sdb1 partition does NOT show up.



Why is there a mismatch of information here? Does this mean that the partition has been deleted? Is there any way to possibly recover this partition and mount it?



Thank you very much in advance







linux gparted fdisk dev






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '13 at 18:19







rmsrms1987

















asked Nov 14 '13 at 22:30









rmsrms1987rmsrms1987

71115




71115













  • There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

    – Eric Leschinski
    Apr 27 '17 at 1:42



















  • There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

    – Eric Leschinski
    Apr 27 '17 at 1:42

















There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

– Eric Leschinski
Apr 27 '17 at 1:42





There are three reasons why that /dev/sdb1 line doesn't appear but the /dev/sdb does. 1. because there is no partition table on that disk on account that it wasn't created. 2. Partition table is damaged or 3. the partition table houses a primary filesystem that this computer can't recognize on account that libraries for it aren't installed. Remedy: You can run diagnostics on the partition table by using the fdisk /dev/sdb and typing 'p' for more info. If the partition is there, and not damaged, and you have libraries to parse and read, that line should appear.

– Eric Leschinski
Apr 27 '17 at 1:42










4 Answers
4






active

oldest

votes


















13














Run the command partprobe to make the computer rescan the disk for partitions.






share|improve this answer
























  • Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

    – rmsrms1987
    Nov 15 '13 at 1:30











  • What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

    – Lawrence
    Nov 15 '13 at 1:56











  • @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

    – MariusMatutiae
    Nov 15 '13 at 8:44













  • I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

    – rmsrms1987
    Nov 15 '13 at 14:38








  • 1





    I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

    – rmsrms1987
    Nov 15 '13 at 18:20



















2














I don't know if this is still an up to date problem, but I had the same issue with one of my harddrives. I used testdisk and told it to analyze the disk. It found the missing partition and updated the disks partition table. Then I ran the command partprobe and the partition showed up in /dev/ fully functional.






share|improve this answer
























  • This looks like a duplicate of another answer.

    – bwDraco
    Jan 24 '15 at 16:43



















1














This is likely not your issue, but I had an issue with similar symptoms that was caused by there being a RAID superblock on the drive.



Now, granted, I wanted to wipe everything on my drive anyway, so this is not recommended if that is not the case for you. Butmdadm --zero-superblock /dev/sdb did the trick for me in my case.






share|improve this answer































    0














    No one had talked about booting from a modern LiveCD / LiveUSB that supports GPT?



    Just try to boot the computer with a Live distro of any modern Linux, also give a try with the GParted live disk, SystemRescueCD, etc.



    It could be that the computer you used do not have compatibility with GPT and/or <2TiB disks, also could be the SATA controller not supporting >2TiB disk (i saw some on my hands, some on motherboards, some on USB enclosures)... and your is 4TiB, that is also worst, some controllers only support upto Three TiB, but not 4TiB or more per disk.



    Why you see the main partition when use fdisk -l? You are most probably seeing the 'protective' MBR partition that protects the GPT partition/s; that is stored on the very first sector of the disk... most SATA controllers that have problems with disck >2TiB and also some that only has problems with >3TiB can see the first 2TiB/3TiB of the disk, and so they see the MBR (first sector) correctly, but not the GPT, since GPT sotres data after the MBR and at the very end of the disk.



    Try to ensure both things: You have GPT compativility (use gfisdk instead fo fdisk to check) and have a SATA controller not limited to only <2TiB neither one limited to <3TiB.



    Best way to check it: Boot from any LiveLinux, like GParted, SystemRescueCD, etc. and try to list partitions (with fdisk), modern fdisk -l can list GPT partitions.



    P.D.: MBR fields structure limits usable zone to first 2TiB, because of fields length (MBR was designed with that limitation).






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      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%2fsuperuser.com%2fquestions%2f676093%2fpartition-not-showing-up-in-dev%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      13














      Run the command partprobe to make the computer rescan the disk for partitions.






      share|improve this answer
























      • Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

        – rmsrms1987
        Nov 15 '13 at 1:30











      • What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

        – Lawrence
        Nov 15 '13 at 1:56











      • @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

        – MariusMatutiae
        Nov 15 '13 at 8:44













      • I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

        – rmsrms1987
        Nov 15 '13 at 14:38








      • 1





        I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

        – rmsrms1987
        Nov 15 '13 at 18:20
















      13














      Run the command partprobe to make the computer rescan the disk for partitions.






      share|improve this answer
























      • Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

        – rmsrms1987
        Nov 15 '13 at 1:30











      • What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

        – Lawrence
        Nov 15 '13 at 1:56











      • @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

        – MariusMatutiae
        Nov 15 '13 at 8:44













      • I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

        – rmsrms1987
        Nov 15 '13 at 14:38








      • 1





        I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

        – rmsrms1987
        Nov 15 '13 at 18:20














      13












      13








      13







      Run the command partprobe to make the computer rescan the disk for partitions.






      share|improve this answer













      Run the command partprobe to make the computer rescan the disk for partitions.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 15 '13 at 1:05









      LawrenceLawrence

      3,107813




      3,107813













      • Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

        – rmsrms1987
        Nov 15 '13 at 1:30











      • What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

        – Lawrence
        Nov 15 '13 at 1:56











      • @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

        – MariusMatutiae
        Nov 15 '13 at 8:44













      • I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

        – rmsrms1987
        Nov 15 '13 at 14:38








      • 1





        I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

        – rmsrms1987
        Nov 15 '13 at 18:20



















      • Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

        – rmsrms1987
        Nov 15 '13 at 1:30











      • What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

        – Lawrence
        Nov 15 '13 at 1:56











      • @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

        – MariusMatutiae
        Nov 15 '13 at 8:44













      • I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

        – rmsrms1987
        Nov 15 '13 at 14:38








      • 1





        I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

        – rmsrms1987
        Nov 15 '13 at 18:20

















      Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

      – rmsrms1987
      Nov 15 '13 at 1:30





      Thanks for the response. I tried running that command, along with just restarting the entire computer with no success.

      – rmsrms1987
      Nov 15 '13 at 1:30













      What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

      – Lawrence
      Nov 15 '13 at 1:56





      What's the output of fdisk -l /dev/sdb ? Also what's the output of dmesg ?

      – Lawrence
      Nov 15 '13 at 1:56













      @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

      – MariusMatutiae
      Nov 15 '13 at 8:44







      @rmsrms1987 This is odd... You are using fdisk on a 4TiB partition, and it seems to work fine. However this article ibm.com/developerworks/linux/library/l-gpt/index.html explains that partitions larger than 2 TiB cannot be handled by MBR (only by GPT), and that fdisk cannot handle GPT. This seems to imply you have a MBR on your disk. Could you please give us the output of fdisk -l /dev/sdb ? TY

      – MariusMatutiae
      Nov 15 '13 at 8:44















      I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

      – rmsrms1987
      Nov 15 '13 at 14:38







      I believe the partition was created with GNU Parted since it is more than 2TBs, but nothing is being output when I try to access through this method. For some reason, sdb1 only appears when using fdisk.

      – rmsrms1987
      Nov 15 '13 at 14:38






      1




      1





      I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

      – rmsrms1987
      Nov 15 '13 at 18:20





      I have edited my original post to show a more detailed output of the fdisk and parted outputs. Thank you again for helping me with this issue.

      – rmsrms1987
      Nov 15 '13 at 18:20













      2














      I don't know if this is still an up to date problem, but I had the same issue with one of my harddrives. I used testdisk and told it to analyze the disk. It found the missing partition and updated the disks partition table. Then I ran the command partprobe and the partition showed up in /dev/ fully functional.






      share|improve this answer
























      • This looks like a duplicate of another answer.

        – bwDraco
        Jan 24 '15 at 16:43
















      2














      I don't know if this is still an up to date problem, but I had the same issue with one of my harddrives. I used testdisk and told it to analyze the disk. It found the missing partition and updated the disks partition table. Then I ran the command partprobe and the partition showed up in /dev/ fully functional.






      share|improve this answer
























      • This looks like a duplicate of another answer.

        – bwDraco
        Jan 24 '15 at 16:43














      2












      2








      2







      I don't know if this is still an up to date problem, but I had the same issue with one of my harddrives. I used testdisk and told it to analyze the disk. It found the missing partition and updated the disks partition table. Then I ran the command partprobe and the partition showed up in /dev/ fully functional.






      share|improve this answer













      I don't know if this is still an up to date problem, but I had the same issue with one of my harddrives. I used testdisk and told it to analyze the disk. It found the missing partition and updated the disks partition table. Then I ran the command partprobe and the partition showed up in /dev/ fully functional.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 24 '15 at 16:30









      drags4ckdrags4ck

      211




      211













      • This looks like a duplicate of another answer.

        – bwDraco
        Jan 24 '15 at 16:43



















      • This looks like a duplicate of another answer.

        – bwDraco
        Jan 24 '15 at 16:43

















      This looks like a duplicate of another answer.

      – bwDraco
      Jan 24 '15 at 16:43





      This looks like a duplicate of another answer.

      – bwDraco
      Jan 24 '15 at 16:43











      1














      This is likely not your issue, but I had an issue with similar symptoms that was caused by there being a RAID superblock on the drive.



      Now, granted, I wanted to wipe everything on my drive anyway, so this is not recommended if that is not the case for you. Butmdadm --zero-superblock /dev/sdb did the trick for me in my case.






      share|improve this answer




























        1














        This is likely not your issue, but I had an issue with similar symptoms that was caused by there being a RAID superblock on the drive.



        Now, granted, I wanted to wipe everything on my drive anyway, so this is not recommended if that is not the case for you. Butmdadm --zero-superblock /dev/sdb did the trick for me in my case.






        share|improve this answer


























          1












          1








          1







          This is likely not your issue, but I had an issue with similar symptoms that was caused by there being a RAID superblock on the drive.



          Now, granted, I wanted to wipe everything on my drive anyway, so this is not recommended if that is not the case for you. Butmdadm --zero-superblock /dev/sdb did the trick for me in my case.






          share|improve this answer













          This is likely not your issue, but I had an issue with similar symptoms that was caused by there being a RAID superblock on the drive.



          Now, granted, I wanted to wipe everything on my drive anyway, so this is not recommended if that is not the case for you. Butmdadm --zero-superblock /dev/sdb did the trick for me in my case.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 10 '18 at 18:31









          WhittlesJrWhittlesJr

          112




          112























              0














              No one had talked about booting from a modern LiveCD / LiveUSB that supports GPT?



              Just try to boot the computer with a Live distro of any modern Linux, also give a try with the GParted live disk, SystemRescueCD, etc.



              It could be that the computer you used do not have compatibility with GPT and/or <2TiB disks, also could be the SATA controller not supporting >2TiB disk (i saw some on my hands, some on motherboards, some on USB enclosures)... and your is 4TiB, that is also worst, some controllers only support upto Three TiB, but not 4TiB or more per disk.



              Why you see the main partition when use fdisk -l? You are most probably seeing the 'protective' MBR partition that protects the GPT partition/s; that is stored on the very first sector of the disk... most SATA controllers that have problems with disck >2TiB and also some that only has problems with >3TiB can see the first 2TiB/3TiB of the disk, and so they see the MBR (first sector) correctly, but not the GPT, since GPT sotres data after the MBR and at the very end of the disk.



              Try to ensure both things: You have GPT compativility (use gfisdk instead fo fdisk to check) and have a SATA controller not limited to only <2TiB neither one limited to <3TiB.



              Best way to check it: Boot from any LiveLinux, like GParted, SystemRescueCD, etc. and try to list partitions (with fdisk), modern fdisk -l can list GPT partitions.



              P.D.: MBR fields structure limits usable zone to first 2TiB, because of fields length (MBR was designed with that limitation).






              share|improve this answer




























                0














                No one had talked about booting from a modern LiveCD / LiveUSB that supports GPT?



                Just try to boot the computer with a Live distro of any modern Linux, also give a try with the GParted live disk, SystemRescueCD, etc.



                It could be that the computer you used do not have compatibility with GPT and/or <2TiB disks, also could be the SATA controller not supporting >2TiB disk (i saw some on my hands, some on motherboards, some on USB enclosures)... and your is 4TiB, that is also worst, some controllers only support upto Three TiB, but not 4TiB or more per disk.



                Why you see the main partition when use fdisk -l? You are most probably seeing the 'protective' MBR partition that protects the GPT partition/s; that is stored on the very first sector of the disk... most SATA controllers that have problems with disck >2TiB and also some that only has problems with >3TiB can see the first 2TiB/3TiB of the disk, and so they see the MBR (first sector) correctly, but not the GPT, since GPT sotres data after the MBR and at the very end of the disk.



                Try to ensure both things: You have GPT compativility (use gfisdk instead fo fdisk to check) and have a SATA controller not limited to only <2TiB neither one limited to <3TiB.



                Best way to check it: Boot from any LiveLinux, like GParted, SystemRescueCD, etc. and try to list partitions (with fdisk), modern fdisk -l can list GPT partitions.



                P.D.: MBR fields structure limits usable zone to first 2TiB, because of fields length (MBR was designed with that limitation).






                share|improve this answer


























                  0












                  0








                  0







                  No one had talked about booting from a modern LiveCD / LiveUSB that supports GPT?



                  Just try to boot the computer with a Live distro of any modern Linux, also give a try with the GParted live disk, SystemRescueCD, etc.



                  It could be that the computer you used do not have compatibility with GPT and/or <2TiB disks, also could be the SATA controller not supporting >2TiB disk (i saw some on my hands, some on motherboards, some on USB enclosures)... and your is 4TiB, that is also worst, some controllers only support upto Three TiB, but not 4TiB or more per disk.



                  Why you see the main partition when use fdisk -l? You are most probably seeing the 'protective' MBR partition that protects the GPT partition/s; that is stored on the very first sector of the disk... most SATA controllers that have problems with disck >2TiB and also some that only has problems with >3TiB can see the first 2TiB/3TiB of the disk, and so they see the MBR (first sector) correctly, but not the GPT, since GPT sotres data after the MBR and at the very end of the disk.



                  Try to ensure both things: You have GPT compativility (use gfisdk instead fo fdisk to check) and have a SATA controller not limited to only <2TiB neither one limited to <3TiB.



                  Best way to check it: Boot from any LiveLinux, like GParted, SystemRescueCD, etc. and try to list partitions (with fdisk), modern fdisk -l can list GPT partitions.



                  P.D.: MBR fields structure limits usable zone to first 2TiB, because of fields length (MBR was designed with that limitation).






                  share|improve this answer













                  No one had talked about booting from a modern LiveCD / LiveUSB that supports GPT?



                  Just try to boot the computer with a Live distro of any modern Linux, also give a try with the GParted live disk, SystemRescueCD, etc.



                  It could be that the computer you used do not have compatibility with GPT and/or <2TiB disks, also could be the SATA controller not supporting >2TiB disk (i saw some on my hands, some on motherboards, some on USB enclosures)... and your is 4TiB, that is also worst, some controllers only support upto Three TiB, but not 4TiB or more per disk.



                  Why you see the main partition when use fdisk -l? You are most probably seeing the 'protective' MBR partition that protects the GPT partition/s; that is stored on the very first sector of the disk... most SATA controllers that have problems with disck >2TiB and also some that only has problems with >3TiB can see the first 2TiB/3TiB of the disk, and so they see the MBR (first sector) correctly, but not the GPT, since GPT sotres data after the MBR and at the very end of the disk.



                  Try to ensure both things: You have GPT compativility (use gfisdk instead fo fdisk to check) and have a SATA controller not limited to only <2TiB neither one limited to <3TiB.



                  Best way to check it: Boot from any LiveLinux, like GParted, SystemRescueCD, etc. and try to list partitions (with fdisk), modern fdisk -l can list GPT partitions.



                  P.D.: MBR fields structure limits usable zone to first 2TiB, because of fields length (MBR was designed with that limitation).







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 10 at 14:16









                  ClaudioClaudio

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • 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%2fsuperuser.com%2fquestions%2f676093%2fpartition-not-showing-up-in-dev%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

                      Mouse cursor on multiple screens with different PPI

                      Agildo Ribeiro

                      Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”