[HPADM] [SUMMARY] Step to Step to add new HDD on B2600 HP-UX 11.0 ?

From: Quy NGUYEN DAI (Quy.NguyenDai@gdtech.net)
Date: Thu Apr 24 2003 - 05:13:06 EDT


Hi all,
Thank you for all your replies. I have installed and configured correctly (i
thinks!) our new harddisks.

Thank you again for your help!
Here are replies:
===================
====================================================
Munuswamy, Balakumar (Balakumar)** CTR ** wrote:
====================================================
> hi,
>
> 1. login in as root.
>
> 2. #ioscan -fnC disk ( find the disk device file which u requires to
> configure it).
>
> 3. if u want to add it in the exsting VG follow the steps.
>
> 3.a. pvcreate -f /dev/rdsk/cxtxdx ( please replace the proper numbers in
> place of x which u got from ioscan).
>
> 3.b. vgextend /dev/vgname /dev/dsk/cxtxdx ( this extends the exsiting VG on
> the hard disk).
> ( but before doing it check the MAX PE per PV value and PE Size of the
> exsiting VG u want to increase using vgdisplay. (#vgdisplay /dev/vgxx)
> Multiply both the values Max PE per PV * PE size eg:- 2500 * 4 (default is
> 4) = 10 GB , so the maximum size of the hard disk i.e PV will be of 10 GB
> calculate and find it out whether ur VG supports 36 GB if it supports u can
> extend the VG otherwise u have to create the new VG)
>
> 3.c. vgdisplay -v /dev/vgname ( displays number of lvs , pvs in that vg).
>
> 3.d lvcreate -L 1000 /dev/vgname (creates filesystem of 1 GB )
>
>
> 4. to create new VG.
>
> 4.a. mkdir /dev/vg01
>
> 4.b. mknod /dev/vg01/group c 64 0x010000 ( please note :- 0x010000 is the
> minor number please check the previous vg minor number and make change in
> place of 1 ).
>
> 4.c. vgcreate /dev/vg01 /dev/dsk/cxtxdx ( new vg is created).
>
> 4.d. vgdisplay -v /dev/vg01
>
> 4.e. lvcreate -L 1000 /dev/vg01 ( creates the new file system).
>
> 5. newfs -F vxfs -o largefiles /dev/vg01/rlvol1 ( options is according to
> the requirements).
>
> 6. make the apporpriate entry in /etc/fstab.
>
> 7. create the mount point.
>
> 8. mount -a ( mounts the file system).
>
> rgds
>
> radhakrishnan
>

==========================
Jeff Cleverley wrote:
=========================
>
> Quy,
>
> My assumption is that the second disk will be a new file system and not a
mirror of
> the root disk. SAM is an easy way to do this if you're not familiar with the
> manual method. Below are manual steps if you want them.
>
> 1. Shut down the system (shutdown -hy 0) and power it off.
> 2. Add the disk to the internal carrier. Make sure the disk is jumpered to
an id
> other than 6. Ignore this if you are adding it to a pci card externally.
> 3. Power the system on. Interupt the boot and do a "sea" to search for disks.
> Make sure it sees the disk and that it is the address you think it is. The
system
> will find the disk during boot and create device files for it in /dev/rdsk and
> /dev/dsk.
>
> Run the following commands from the command line. The assumption of a c0t5d0
disk
> is made. Change it if it is a different address.
>
> 4. pvcreate /dev/rdsk/c0t5d0 (or new device address).
> 5. mkdir /dev/vg01
> 6. mknod /dev/vg01/group c 64 0x010000
> 7. vgcreate /dev/vg01 /dev/dsk/c0t5d0
>
> You are now ready to create a logical volume(s).
>
> 8. Do a "vgdisplay /dev/vg01" and look for "Total PE". This is how many xtents
> you can allocate.
> 9. lvcreate -l <number of extents> -n <logical volume name> /dev/vg01
> 10. newfs -F vxfs /dev/vg01/r<logical volume name>
> 11. mkdir /mnt/<mount point>
> 12. vi /etc/fstab and add something like this to mount it each time:
> /dev/vg01/<lvname> /mnt/<mount point> vxfs delaylog 0 2
> 13. Modify /etc/exports. You can probably use the same type of entry as / or
> other exported file systems.
>
> Jeff

Have a nice day!

Best regards,

-- 
Quy NGUYEN DAI
GDTech S.A.
Parc Scientifique du Sart-Tilman
Spatiopôle - Rue des Chasseurs-Ardennais
B-4031 Angleur, BELGIQUE
Tel: +32-(0)4-367.87.11
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:29 EDT