On a system with the following disk layout:
Disk /dev/sda: 2000.4 GB, 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
Disk label type: dos
Disk identifier: 0x83dae9c4
Device Boot Start End Blocks Id System
/dev/sda4 2048 3907029167 1953513560 5 Extended
/dev/sda5 4096 4198399 2097152 fd Linux raid autodetect
/dev/sda6 4200448 3907029167 1951414360 fd Linux raid autodetect
Disk /dev/sdb: 2000.4 GB, 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
Disk label type: dos
Disk identifier: 0x88b817cf
Device Boot Start End Blocks Id System
/dev/sdb4 2048 3907029167 1953513560 5 Extended
/dev/sdb5 4096 4198399 2097152 fd Linux raid autodetect
/dev/sdb6 4200448 3907029167 1951414360 fd Linux raid autodetect
PV VG Fmt Attr PSize PFree
/dev/md1 vg0 lvm2 a-- 1.82t 1.63t
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
opt vg0 -wi-a---- 60.00g
root vg0 -wi-a---- 60.00g
src vg0 -wi-d---- 60.00g
swap vg0 -wi-a---- 16.00g
I'm trying to kickstart a Fedora-19 system with the following partitioning:
part raid.0a --onpart=sda5 --noformat
part raid.0b --onpart=sdb5 --noformat
raid /boot --fstype=ext4 --level=1 --device=md0 raid.0a raid.0b
part raid.1a --onpart=sda6 --noformat
part raid.1b --onpart=sdb6 --noformat
raid pv.0 --level=1 --device=md1 raid.1a raid.1b
volgroup vg0 --noformat pv.0
logvol / --vgname=vg0 --useexisting --name=root --fstype=ext4
logvol swap --vgname=vg0 --useexisting --name=swap
logvol /opt --vgname=vg0 --useexisting --name=opt --fstype=ext4
But it fails miserably with:
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 789, in create
raise DeviceCreateError(str(e), self.name)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 272, in execute
self.device.create()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
action.execute()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 310, in doIt
self.devicetree.processActions()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, in turnOnFilesystems
storage.doIt()
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 140, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
threading.Thread.run(self, *args, **kwargs)
DeviceCreateError: ('mdcreate failed for /dev/md/1: running mdadm --create /dev/md/1 --run --level=1 --raid-devices=2 --metadata=default --bitmap=internal /dev/sda6 /dev/sdb6 failed', '1')
Any help is appreciated.
/Anders
--
Anders Blomdell Email: anders.blomdell@xxxxxxxxxxxxxx
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list