Bringing LUNs into OS and under VxVM control to create file systems

This entry was posted in Linux and tagged , on June 17, 2012, by

This is the procedure to add a LUN once assigned by the Storage Administrator.

1. Once the LUNs have been assigned by the storage admin

a. Edit /kernel/drv/lpf.conf  and the WWNN of the LUNs

b. Edit /kernel/drv/sd.conf and add c#t#d# of the LUNs

2. Run

# drvconfig  or

# devfsadm

3. Check whether the LUNs are in with

# format < /dev/null

4. Once you see the new LUNs, run

# format

Label the drives

5. To build Veritas Volume Manager configuration, run

# vxdctl enable

6. To create a disk group called oradg of the LUNs, let us say the LUNs  is c1t70d0, then

#vxdg init oradg oradg01=c1t70d0

7. To add another disk to the disk group

#vxdg -g oradg adddisk oradg02=c1t80d0

8. To create a volume of 200G out of the 2 disks assuming that the disks are 143GB each

#vxassist -g oradg -b make oravol 200g oradg01 oradg02

9. To create a file system on the volume oravol

#mkfs -F vxfs -o largefiles /dev/vx/rdsk/oradg/oravol

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2009 ©Aceadmins. All rights reserved.