Re: Forcing a disk rescan after %pre

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

 



	Dag, I think that I was able to detect MD devices created after %pre
(on VT2), so would be an option to create an MD device over your newly
created sda ?

	Regards
	Pablo


El jue, 02-10-2008 a las 13:13 +0200, Dag Wieers escribió:
> On Thu, 2 Oct 2008, Paul Malinowski wrote:
> 
> > Try to use partprobe to re-read available disks/partitions. I'm not 
> > sure is it available when %pre script runs, but anaconda does that 
> > somehow during the partitioning section so I guess it's possible. In the 
> > worst case scenario I would add reboot at the end of creation of raid 
> > config in the %pre script - so that it would reboot if change in config 
> > occured. I know that its rather a nasty hack, not a proper solution, but 
> > please keep in mind that anaconda has some limits.
> 
> The reboot is what I am planning to do, but I prefer to look first at a 
> better option instead of settling for this because I don't know better :-)
> 
> I fear that anaconda's data-structure is not updated and the scan for 
> disks has already happened before the %pre. Because after my RAID scripts 
> has run, I do have /dev/sda available to the system, but anaconda behaves 
> as if there were no disks found.
> 
-- 

Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx)
RHCE/RHCSP/RHCSS Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
Directores: Michael Cunningham, Charlie Peters y David Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 Madrid, Spain


Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

_______________________________________________
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