Feature #999

add_storage.py fails to add raid

Added by thekingofspain over 1 year ago. Updated 5 months ago.

Status:New Start date:12/31/2015
Priority:Low Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-

Description

add_storage.py seems to fail on adding software mdadm raids:

Could not find a UUID for device: /dev/<device>1

my new raid is /dev/md1 however I have an existing mounted raid that is /dev/md0

#add_storage.py --no_destruction
------------------------------------------------------------
Scan for Disks

--------------------------------------------------------
Ignoring - Disk has been previously skipped:
model: TOSHIBA DT01ACA300
location: /dev/sdd
size: 3000592982016

--------------------------------------------------------
Ignoring - Disk has been previously skipped:
model: Hitachi HDS723015BLA642
location: /dev/sdc
size: 1500301910016
--------------------------------------------------------
Ignoring - Disk has been previously skipped:
model: TOSHIBA DT01ACA300
location: /dev/sda
size: 3000592982016
--------------------------------------------------------
Ignoring - Disk has been previously skipped and is mounted:
model: Software RAID raid1
location: /dev/md0
size: 1500300722176
--------------------------------------------------------
Found New Disk:
model: Software RAID raid1
location: /dev/md1
size: 3000458739712
  • Preserving existing contents on the disk. **
    This disk will NOT be partitioned or formatted.
Enable this disk for storage (Y/N)?:y
Software RAID raid1 will be added to your system!
--------------------------------------------------------
Ignoring - Disk has been previously skipped:
model: TOSHIBA DT01ACA200
location: /dev/sde
size: 2000398934016
--------------------------------------------------------
Ignoring - Disk has been previously skipped and is mounted:
model: KINGSTON SV100S264G
location: /dev/sdb
size: 64023257088

Scan Finished
------------------------------------------------------------

Will add 1 disk(s) to your system.

****************************************************

MythTV Storage Groups are used for artwork, database backups,
music, streaming, TV recordings, and videos.

The content on these storage groups will
only be available while the system is online.
Enabling MythTV Storage Groups will create the directories
on the disk(s) and add the paths to the MythTV database.
Enable MythTV Storage Groups (Y/N)?:y
  • Will add MythTV Storage Groups!

Ready to add additional storage!

  • These disk(s) will NOT be partitioned and formatted. **
    SoftwareRAIDraid1_d903e438:455ca63a:1bccd759:59b0f488

Press Y to add disk(s), any other key to cancel:Y
-----
Disk: SoftwareRAIDraid1_d903e438:455ca63a:1bccd759:59b0f488
Could not find a UUID for device: /dev/md11

#mdadm -D --scan
ARRAY /dev/md/mythtvQuad:0 metadata=1.2 name=mythtvQuad:0 UUID=e9674e12:a891594b:39404e66:ecf488b6
ARRAY /dev/md1 metadata=1.2 name=mythtvquad:1 UUID=d903e438:455ca63a:1bccd759:59b0f488

  1. fdisk -l

Disk /dev/sde: 1.8 TiB, 2000398934016 bytes, 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
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 1843200000 1843197953 878.9G fd Linux raid autodetect

Disk /dev/sdc: 1.4 TiB, 1500301910016 bytes, 2930277168 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
Disklabel type: dos
Disk identifier: 0x13e6cd49

Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 1843200000 1843197953 878.9G fd Linux raid autodetect

Disk /dev/sdb: 59.6 GiB, 64023257088 bytes, 125045424 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
Disklabel type: gpt
Disk identifier: 0B65423B-E76A-4DFC-8D39-07267E552CEC

Device Start End Sectors Size Type
/dev/sdb1 2048 9766911 9764864 4.7G EFI System
/dev/sdb2 9766912 25370623 15603712 7.5G Microsoft basic data
/dev/sdb3 25370624 25371093 470 235K Microsoft basic data
/dev/sdb4 25372672 25376767 4096 2M BIOS boot
/dev/sdb5 25378816 31238143 5859328 2.8G Microsoft basic data
/dev/sdb6 31240192 39053311 7813120 3.7G Microsoft basic data
/dev/sdb7 39055360 125042687 85987328 41G Microsoft basic data

Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 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 /dev/sdd: 2.7 TiB, 3000592982016 bytes, 5860533168 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 /dev/md0: 1.4 TiB, 1500300722176 bytes, 2930274848 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 /dev/md1: 2.7 TiB, 3000458739712 bytes, 5860270976 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

History

Updated by brfransen 5 months ago

  • Tracker changed from Bug to Feature

Also available in: Atom PDF