#4334 /fdisk/ and /mount/ missing Disk (/dev/mmcblk0) on raspberry pi

1.660
closed-fixed
nobody
5
2 days ago
2013-12-17
Christian
No

Hi,

on my pi (raspbian) the root is on device /dev/mmcblk0p2.
The disk is /dev/mmcblk0 as display by fdisk -l.

Disk /dev/mmcblk0: 64.4 GB, 64440238080 bytes
4 heads, 16 sectors/track, 1966560 cylinders, total 125859840 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: 0x0002c262

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            8192      122879       57344    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          122880    16900095     8388608   83  Linux
/dev/mmcblk0p3        56997888    57870335      436224   83  Linux

But this disk is not shown by module "Partitions on Local Disks" (/fdisk/).
The module "Disk and Network Filesystems" (/mount/) displays the root mount point "/" as "Other device" /dev/mmcblk0p2 but not as "Disk".

How to fix this?

Tia
Christian

Discussion

  • Jamie Cameron
    Jamie Cameron
    2013-12-17

    What does the /proc/partitions file contain on your system?

     
    • Christian
      Christian
      2013-12-18

      cat /proc/partitions

      major minor  #blocks  name
      
       179        0   62929920 mmcblk0
       179        1      57344 mmcblk0p1
       179        2    8388608 mmcblk0p2
       179        3     436224 mmcblk0p3
         8        0   61440000 sda
         8        1   15358976 sda1
         8        2   15358976 sda2
         8        3   15358976 sda3
         8        4   15362048 sda4
       254        0    2097152 dm-0
       254        1    2097152 dm-1
       254        2    1048576 dm-2
       254        3    2097152 dm-3
       254        4    2097152 dm-4
       254        5    2097152 dm-5
       254        6    3145728 dm-6
       254        7    3145728 dm-7
       254        8    3145728 dm-8
       254        9    4194304 dm-9
      

      Christian

       
  • Jamie Cameron
    Jamie Cameron
    2013-12-18

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2013-12-18

    Thanks - I will add support for SD / MMC "disks" in the next Webmin release.

     
  • Christian
    Christian
    2013-12-19

    I have to thank you, you are faster than light