Re: Use entire disk as PV.

Josh Snyder <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Hi Andy,

Have you tried something like:

part pv.01 --size=1 --grow --ondisk=sdb

Thanks,

~ Josh Snyder
UNIX Admin & Caché DBA
SSM Health Care


On Thu, Apr 28, 2011 at 7:54 AM, Speagle, Andy <[email protected]> wrote:
> Hi Team,
>
>
>
> I’m trying to setup the partitioning section of my kickstarts in such a way
> that rather than partitioning a disk and using /dev/sdX1 as the PV for my
> root VG, that I can instead use the entire disk.
>
>
>
> The reason for doing this would be to make PV resizing a bit easier for
> virtual machines.  Otherwise, I must muck around with the partition table
> and blah blah … not a show-stopper, but potentially dangerous for junior
> admins.
>
>
>
> I suspect that the functionality just isn’t there… but does anyone know the
> magic syntax to get it to use the entire drive (aka. /dev/sdb) as a PV
> during kickstart?
>
>
>
> Thanks,
>
>
>
> Andy Speagle
>
> System & Storage Administrator
>
> UCATS - Wichita State University
>
>
>
> P: 316.978.3869
>
> C: 316.617.2431
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.