Dynamically building on spare device / boot device.

AndrewJohnson at HBOSplc.com AndrewJohnson at HBOSplc.com
Fri Aug 27 14:10:59 UTC 2010


Hi, 
 
I'm trying to identify the best approach to dynamically identify whether
a client has a spare disk to build Logical Volumes against or whether I
need to deploy them onto the rootdisk. At present i've built the post
script that deliveries  the following:
 
Validate Volume Groups,
If no additional Volume Groups available Built on RootVG
Validate Available Space and Add LV's
 
However I'm wondering on how to accuratly identify which disk is free
and what approach should be taken to build a VG on it with removing  the
wrong disk, i'm new to this so any help would be greatly appreciated,
i've tried a couple of %pre scripts but assuming rootvg is always going
to be on sda isn't always true.
 
Kind Regards
 
Andy

 
-----------------------------------------------------------------------------------------------------

Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500.


Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: 0870 600 5000  


Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone: 0131 225 4555.
Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452 372372.


Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and Cheltenham & Gloucester plc are authorised and regulated by the Financial Services Authority. 
Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc. 
HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 218813. Telephone: 0870 600 5000


Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 95000. Telephone: 0131 225 4555


This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it  (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments.


Telephone calls may be monitored or recorded.
 
==============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20100827/033783ee/attachment.htm>


More information about the Kickstart-list mailing list