Firstly, if you only have the one spare disk, you shouldn't (can't?) create a LUN on it alone. That would defeat the purpose of having the array, because you would lose redundancy. You want multiple disks in difference enclosures to be part of the LUN.
Anyway here's the steps. I recommend you have a browse through the FC60 users guide before doing anything.
- Determine the disks that will be used on the LUN and find their ID's. You can view the disks with "amdsp -d
"
- Determine what RAID level you will use
- Determine the LUN number. It should be 1 greater than the current largest LUN number on the system. Use "amdsp -l " to view the existing LUNs.
- Create (bind) the LUN with the "amcfg -L" command. Refer to the man page for more details - you will need to specify the primary controller, LUN number, disk ids and RAID level.
- Run ioscan -f so that HPUX picks up the new LUNs
- Run insf -e -H to add the device files. Also run an insf for the alternate hardware path.
You can now pvcreate the primary LUN device and then vgextend it and the alternate LUN device into a volume group.
Regards,
Steve