Forcing a disk rescan after %pre

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

 



Hi,

We are integrating some pre-install scripts. One of the things we have now is that in the %pre phase the HW RAID controller is tested for "Virtual disks" and if none are found it will create a RAID config depending on the number of disks found.

The problem is that even when we created the RAID, restarted the RAID driver and created the device node (fdisk -l shows the new disk). Anaconda does not know about the new disk, likely because the scan for disks happened before.

I found a file /tmp/scsidisks and also rewrite that file, but still Anaconda does not update its view of the system after the %pre.

Does someone know how we can make Anaconda understand that we created a disk in the %pre ?
--
--   dag wieers,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux