Hi, OS: Ubuntu Server 12.04.5/RAID1 (Ubuntu Software RAID) After setting up RAID1 and partitioning/formatting 2 ekstra harddrives, I suddenly noticed this warning: Disk /dev/md1 doesn't contain a valid partition table What is this? Why does this warning appear? OS is installed on a ext4 partition and works just fine, so I'm not really sure what think about this Here's some information: Code: # fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x000a01de Device Boot Start End Blocks Id System /dev/sdb1 2048 1953520064 976759008+ 83 Linux Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00066956 Device Boot Start End Blocks Id System /dev/sda1 2048 1953520064 976759008+ 83 Linux Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x0003b949 Device Boot Start End Blocks Id System /dev/sdc1 2048 3905535 1951744 fd Linux raid autodetect /dev/sdc2 * 3905536 3907028991 1951561728 fd Linux raid autodetect Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x0001a342 Device Boot Start End Blocks Id System /dev/sdd1 2048 3905535 1951744 fd Linux raid autodetect /dev/sdd2 * 3905536 3907028991 1951561728 fd Linux raid autodetect Disk /dev/md0: 1997 MB, 1997471744 bytes 2 heads, 4 sectors/track, 487664 cylinders, total 3901312 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/md1: 1998.3 GB, 1998264795136 bytes 2 heads, 4 sectors/track, 487857616 cylinders, total 3902860928 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/md1 doesn't contain a valid partition table .
Hi Srijan, After reading the whole post I don't think, that this can't be it. I did my own ToDo and followed it to the letter two times. First time using smaller drives (for the RAID) and no problem occured. It has to be related to drivesize or something completely different. I'm not sure what to do. I know I made partitions and I created a "swap" on the first "MD" and "EXT4" filesystem on the other "MD". Problem/warning occured on a clean installation. And it's Ubuntu Software RAID. It might behave different than a hardware RAID. Anyway, I can't see the solution in the post/thread Code: # cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sdd2[1] sdc2[0] 1951430464 blocks super 1.2 [2/2] [UU] md0 : active raid1 sdc1[0] sdd1[1] 1950656 blocks super 1.2 [2/2] [UU] unused devices: <none> Code: # mdadm -D /dev/md0 /dev/md0: Version : 1.2 Creation Time : Thu Sep 11 18:02:01 2014 Raid Level : raid1 Array Size : 1950656 (1905.26 MiB 1997.47 MB) Used Dev Size : 1950656 (1905.26 MiB 1997.47 MB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Sat Sep 13 05:30:28 2014 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : whitley:0 (local to host whitley) UUID : 3b140885:c51adadc:2a254c37:07d07dfe Events : 17 Number Major Minor RaidDevice State 0 8 33 0 active sync /dev/sdc1 1 8 49 1 active sync /dev/sdd1 Code: # mdadm -D /dev/md1 /dev/md1: Version : 1.2 Creation Time : Thu Sep 11 18:03:46 2014 Raid Level : raid1 Array Size : 1951430464 (1861.03 GiB 1998.26 GB) Used Dev Size : 1951430464 (1861.03 GiB 1998.26 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Sep 25 08:42:22 2014 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Name : whitley:1 (local to host whitley) UUID : b400ee33:6ebb4f32:18bde492:62934e66 Events : 79 Number Major Minor RaidDevice State 0 8 34 0 active sync /dev/sdc2 1 8 50 1 active sync /dev/sdd2 Another thing is, that I haven't understod the whole showing partition issue, using UUID or /dev/* . But here's "fstab". using a combination. Code: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/md1 during installation UUID=e1c18cc4-dd50-4ceb-b5ca-1b2f6e843302 / ext4 errors=remount-ro 0 1 # swap was on /dev/md0 during installation UUID=66761273-d381-47fd-ba8a-9f6b4b41c6b2 none swap sw 0 0 /dev/sda1 /media/backupdisk1 ntfs defaults,uid=1000,rw 0 0 /dev/sdd1 /media/backupdisk2 ext4 rw,user,exec 0 0 And: Code: # mdadm -E /dev/sdc1 /dev/sdc1: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : 3b140885:c51adadc:2a254c37:07d07dfe Name : whitley:0 (local to host whitley) Creation Time : Thu Sep 11 18:02:01 2014 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB) Array Size : 1950656 (1905.26 MiB 1997.47 MB) Used Dev Size : 3901312 (1905.26 MiB 1997.47 MB) Data Offset : 2048 sectors Super Offset : 8 sectors State : clean Device UUID : cfc1ac9c:da5182bc:a1244995:fc7adf2d Update Time : Sat Sep 13 05:30:28 2014 Checksum : b4708e37 - correct Events : 17 Device Role : Active device 0 Array State : AA ('A' == active, '.' == missing) # mdadm -E /dev/sdd1 /dev/sdd1: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : 3b140885:c51adadc:2a254c37:07d07dfe Name : whitley:0 (local to host whitley) Creation Time : Thu Sep 11 18:02:01 2014 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB) Array Size : 1950656 (1905.26 MiB 1997.47 MB) Used Dev Size : 3901312 (1905.26 MiB 1997.47 MB) Data Offset : 2048 sectors Super Offset : 8 sectors State : clean Device UUID : f533f6ed:2c2b05c0:745a018a:5d56a5df Update Time : Sat Sep 13 05:30:28 2014 Checksum : afbaeae5 - correct Events : 17 Device Role : Active device 1 Array State : AA ('A' == active, '.' == missing) Code: # mdadm -E /dev/sdc2 /dev/sdc2: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : b400ee33:6ebb4f32:18bde492:62934e66 Name : whitley:1 (local to host whitley) Creation Time : Thu Sep 11 18:03:46 2014 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 3902861312 (1861.03 GiB 1998.26 GB) Array Size : 1951430464 (1861.03 GiB 1998.26 GB) Used Dev Size : 3902860928 (1861.03 GiB 1998.26 GB) Data Offset : 262144 sectors Super Offset : 8 sectors State : clean Device UUID : e6353303:6ee81fe3:376694ef:0c448ec5 Update Time : Thu Sep 25 10:17:42 2014 Checksum : cc3268ee - correct Events : 79 Device Role : Active device 0 Array State : AA ('A' == active, '.' == missing) # mdadm -E /dev/sdd2 /dev/sdd2: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : b400ee33:6ebb4f32:18bde492:62934e66 Name : whitley:1 (local to host whitley) Creation Time : Thu Sep 11 18:03:46 2014 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 3902861312 (1861.03 GiB 1998.26 GB) Array Size : 1951430464 (1861.03 GiB 1998.26 GB) Used Dev Size : 3902860928 (1861.03 GiB 1998.26 GB) Data Offset : 262144 sectors Super Offset : 8 sectors State : clean Device UUID : d99969e0:98ade3d9:c369a15b:7706c2bc Update Time : Thu Sep 25 10:17:42 2014 Checksum : 36d5804 - correct Events : 79 Device Role : Active device 1 Array State : AA ('A' == active, '.' == missing) Code: # blkid /dev/sdb1: UUID="8696fa40-c4df-4fdc-9f97-b361fc5ce09a" TYPE="ext4" /dev/sdc1: UUID="3b140885-c51a-dadc-2a25-4c3707d07dfe" UUID_SUB="cfc1ac9c-da51-82bc-a124-4995fc7adf2d" LABEL="whitley:0" TYPE="linux_raid_member" /dev/sdc2: UUID="b400ee33-6ebb-4f32-18bd-e49262934e66" UUID_SUB="e6353303-6ee8-1fe3-3766-94ef0c448ec5" LABEL="whitley:1" TYPE="linux_raid_member" /dev/sdd1: UUID="3b140885-c51a-dadc-2a25-4c3707d07dfe" UUID_SUB="f533f6ed-2c2b-05c0-745a-018a5d56a5df" LABEL="whitley:0" TYPE="linux_raid_member" /dev/sdd2: UUID="b400ee33-6ebb-4f32-18bd-e49262934e66" UUID_SUB="d99969e0-98ad-e3d9-c369-a15b7706c2bc" LABEL="whitley:1" TYPE="linux_raid_member" /dev/md0: UUID="66761273-d381-47fd-ba8a-9f6b4b41c6b2" TYPE="swap" /dev/md1: UUID="e1c18cc4-dd50-4ceb-b5ca-1b2f6e843302" TYPE="ext4"