Best practices for partitioning hdds?

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

 



	Hi
	I'm trying to setup a ks profile which must work for both new and
"used" hard drives.

	The idea is to have one layout that could be deployed on
"non-compliant" disks, and to keep the one existing on "compliant" ones.

	My way to workarround this could be:

	Examine sfdisk -l /dev/firstharddrive
	If part order and types are "compliant", then keep them, and write
a /tmp/partinfo with "--onpart".

	This second option could arise problems I've encountered (not
tested on RHEL/CentOS 5.1) regarding having an already defined VG with
LV's I don't want anymore as I'm reinstalling. (Which I could bypass
zeroing the LVM partition)

	If not, write a new layout to /tmp/partinfo and include it.

	Have you dealt with this in the past? something you could provide
about what to do and what to avoid?

	Regards
	Pablo



-- 
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
                  --
Postulado de Boling sobre la Ley de Murphy:

Si se encuentra bien, no se preocupe. Se le pasará

_______________________________________________
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