Possible anaconda bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perhaps I'm doing something wrong, but I've tried everything I can think of here, so any ideas would be much appreciated - here's the problem.

I'm kickstarting a machine with 4 SCSI disks in it. sda and sdb are regular SCSI disks on an aic79xx - sdc and sdd are both RAID arrays on 3ware Escalades.

I want to leave sdc and sdd alone completely, but anaconda seems to never want to do that. No matter what I do, I get an error message that it couldn't save my partition info to sdd or sdc. Here's what I've tried:

The relevant parts of the original ks.cfg looked like this:

#Clear the Master Boot Record
# zerombr yes
#Leave the 3ware disks alone
# clearpart --drives sda,sdb --initlabel
#Disk partitioning information
part /boot --fstype ext3 --size 200 --ondisk sda
part swap --size 1024 --ondisk sda
part raid.01 --size 8192 --grow --ondisk sda
part /boot.spare --fstype ext3 --size 200 --ondisk sdb
part swap --size 1024 --ondisk sdb
part raid.02 --size 8192 --grow --ondisk sdb
raid / --level=RAID1 --device=md0 --fstype ext3 raid.01 raid.02

Should've worked, I thought, but it didn't. Then I thought, maybe if I ask it to not partition any disks at all I'll get away with it. So I tried like this:

part /boot --fstype=ext3 --onpart=sda1
part /boot.spare --fstype=ext3 --onpart=sdb1
part swap --onpart=sda2
part swap --onpart=sdb2
part raid.01 --onpart=sda3
part raid.02 --onpart=sdb3
raid / --device=md0 --level=1 --fstype=ext3 raid.01 raid.02

and added the following to my %pre section:

sfdisk -uC /dev/sda << EOF
1,26,83,*
27,131,82
158,,fd
EOF

sfdisk -uC /dev/sdb << EOF
1,26,83,*
27,131,82
158,,fd
EOF

(which partitions the disks fine, BTW)

But still no luck.  In desperation, I even tried adding something like:

rmmod 3w-xxxx
rm /dev/sdc* /dev/sdd* /tmp/sdc* /tmp/sdd*
grep -v '^3w' /tmp/scsidisks >/tmp/scsidisks.new
mv /tmp/scsidisks.new /tmp/scsidisks

at the beginning of %pre - but of course, still no luck. /tmp/scsidisks just gets overwritten anyway.

So I can't seem to find any way to make it leave my sdc and sdd alone, and I'm out of ideas. Anyone got any pointers?

Thanks!
Mart



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux