Webmin fdisk, raid manager, smart status don't see all disks on my server. Server got 4 disks but webmin modules see only first disk
$ cat /proc/partitions
major minor #blocks name
8 0 488386584 sda
8 1 4000153 sda1
8 2 484383847 sda2
8 16 488386584 sdb
8 17 4000153 sdb1
8 18 484383847 sdb2
8 32 245117376 sdc
8 33 979933 sdc1
8 34 244131772 sdc2
8 48 245117376 sdd
8 49 979933 sdd1
8 50 244131772 sdd2
9 0 244131648 md0
Webmin see only sda
Debian Lenny 5.0
4 SATA disks
What does the "fdisk -l" command output on your system? That is what Webmin uses to find which disks exist ..
$ sudo fdisk -l
Disk /dev/sda: 259 MB, 259080192 bytes
255 heads, 63 sectors/track, 31 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1c0bde30
Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 83 Linux
Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x77ab77ab
Device Boot Start End Blocks Id System
/dev/sdb1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdb2 487 30515 241207942+ fd Linux raid autodetect
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78147815
Device Boot Start End Blocks Id System
/dev/sdc1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdc2 487 30515 241207942+ fd Linux raid autodetect
Disk /dev/sdd: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00044b1f
Device Boot Start End Blocks Id System
/dev/sdd1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdd2 487 30401 240292237+ fd Linux raid autodetect
Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x78147816
Device Boot Start End Blocks Id System
/dev/sde1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sde2 487 30515 241207942+ fd Linux raid autodetect
Disk /dev/md0: 738.1 GB, 738177515520 bytes
2 heads, 4 sectors/track, 180219120 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Sorry! Previous comment isn't from right system... Stand by.
$ sudo fdisk -l
Disk /dev/sda: 500 GB, 500105249280 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 498 4000153 82 Linux swap
/dev/sda2 * 499 60801 484375815 fd Lnx RAID auto
Disk /dev/sdb: 500 GB, 500105249280 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 498 4000153 83 Linux
/dev/sdb2 * 499 60801 484375815 fd Lnx RAID auto
Disk /dev/sdc: 250 GB, 250994419200 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 122 979933 82 Linux swap
/dev/sdc2 * 123 30515 244123740 fd Lnx RAID auto
Disk /dev/sdd: 250 GB, 250994419200 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 122 979933 82 Linux swap
/dev/sdd2 * 123 30515 244123740 fd Lnx RAID auto
Error: /dev/vroot0: unrecognised disk label
Error: /dev/vroot1: unrecognised disk label
Error: /dev/vroot2: unrecognised disk label
Error: /dev/vroot3: unrecognised disk label
Error: /dev/vroot4: unrecognised disk label
Error: /dev/vroot5: unrecognised disk label
Error: /dev/vroot6: unrecognised disk label
Error: /dev/vroot7: unrecognised disk label
Warning: Unable to open /dev/fd0 read-write (Systém souborů je pouze pro čtení). /dev/fd0 has been opened read-only.
Error: /dev/fd0: unrecognised disk label
Disk /dev/md0: 249 GB, 249982709760 bytes
255 heads, 63 sectors/track, 30392 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/md1: 496 GB, 496000834560 bytes
255 heads, 63 sectors/track, 60302 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/md1p1 1 60303 484383816 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
Odd, that output looks fine to me. Which Webmin version are you running there?
Webmin 1.510
As I know, many old version Webmin has same bug on this machine and some other. I supporting other machines with no problem with more disks. Interesting, isn't it? ;-)
Wierd .. I think I'd have to actually login to a problem system myself to debug this further, as Webmin is showing the disks just fine on all my test machines.
Hello,
I also have a problem of webmin not showing all disk drives in the Edit Disk Partitions module. I only see information of system disk /dev/sda but 3 other drives (/dev/sdb /dev/sdc /dev/sdd) are not visible. Output of my "fdisk -l" is:
server:~# fdisk -l
Disk /dev/sda: 750 GB, 750153761280 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 83 Linux
/dev/sda2 32 91201 732314992 8e Linux LVM
Disk /dev/sdb: 1500 GB, 1500299297280 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 fd Lnx RAID auto
Disk /dev/sdc: 1500 GB, 1500299297280 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 182401 1465136001 fd Lnx RAID auto
Disk /dev/sdd: 1500 GB, 1500299297280 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 182401 1465136001 fd Lnx RAID auto
Disk /dev/mapper/server-home: 736 GB, 736721879040 bytes
255 heads, 63 sectors/track, 89568 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/server-home1 1 89569 719462961 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
Disk /dev/mapper/server-swap_1: 6 GB, 6168960000 bytes
255 heads, 63 sectors/track, 750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/server-swap_1p1 1 751 6032376 82 Linux Swap / Solaris
Warning: Partition 1 does not end on cylinder boundary.
Disk /dev/mapper/server-root: 6 GB, 6991488000 bytes
255 heads, 63 sectors/track, 850 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/server-root1 1 851 6835626 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
Also SMART Drive Status module shows only SATA Device A.
I'm running on Debian 6.0 Squeeze and webmin version 1.550.
Could you help me with the problem.
Borut.
Borut - what does /proc/partitions contain on your system?
jcameron
output is:
server:~# cat /proc/partitions
major minor #blocks name
8 0 732574584 sda
8 1 248976 sda1
8 2 732323025 sda2
8 16 1465138584 sdb
8 17 1465136001 sdb1
8 32 1465138584 sdc
8 33 1465136001 sdc1
8 48 1465138584 sdd
8 49 1465136001 sdd1
254 0 6832128 dm-0
254 1 6029312 dm-1
254 2 719458304 dm-2
I would really appreciate any help.
Borut.
One thing you should try is using Webmin development version 1.552, from http://www.webmin.com/devel.html . This includes some changes to the way the Partitions on Local Disks module works that may fix this issue ..
jcameron,
I installed 1.552 webmin but unfortunately the problem is still present.
Only first drive is shown.
Borut.
Do you have the parted command installed on your system? If not you should install it .. Webmin will use it instead of fdisk if available.
jcameron,
Thank you! Installing parted solved the problem and webmin now using parted shows all drives. Also SMART Drive Status module now shows all drives.
regards,
Borut.
Great! This fix will be in Webmin 1.560. Unfortunately the old fdisk cannot cope with some new partition table formats ..