Operating System - HP-UX
1748195 Members
4217 Online
108759 Solutions
New Discussion юеВ

Re: A 1tb mount point need to be create from dmx 3000

 
Viney Kumar
Regular Advisor

A 1tb mount point need to be create from dmx 3000

hi All,

I am new in storage. I have to create a mount point of 1tb from dmx 3000 to supredome 32 way partition.



Thanks
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: A 1tb mount point need to be create from dmx 3000

You'll need to consult your storage administrator. The space and it's configuration on the DMX needs to be defined, then LUNs created and presented to your partition. If you have a path manager such as PowerPath, you'll need to discover the new LUNs. Once the path manager has been configured, you'll need to run ioscan and insf -e to create the device files. You'll need to identify the new device files (sort the list by time as in: ls -lrt /dev/dsk) and run pvcreate to put an LVM header on the LUNs. Finally, you'll need to create a volume group, add the LUNs to the group, then use lvcreate to make the 1 TB volume. Run newfs to create the directory structure, add the mountpoint information to /etc/fstab and then mount the new volume.

If none of this makes any sense, you probably need a consultant to help you with the tasks and there are several different technologies (EMC, Brocade, partitions, LVM utilities) involved.


Bill Hassell, sysadmin
Viney Kumar
Regular Advisor

Re: A 1tb mount point need to be create from dmx 3000

Hi Bill ,
Thanks for your reply...........

But i knew it. storadge is already configured and zone is also there in san. Probelm is that i need to free some lun from my another hp server (lv, vg and unmapping done) to discover it on my superdome server.
Bill Hassell
Honored Contributor

Re: A 1tb mount point need to be create from dmx 3000

On the other server, you must remove the LUN from the volume group (lvreduce, vgreduce), then use rmsf -H to remove the device files and the kernel's knowledge of the LUN.

The the SAN must be changed to remove the LUN from the other server and present the LUN to your superdome partition. At that point, the instructions above will get the LUN operational.


Bill Hassell, sysadmin
Sajid Iqubal
New Member

Re: A 1tb mount point need to be create from dmx 3000

Hi Viney,
Check the step to allocate LUN from DMX to Superdome.

To view Fiber (HBA) statistics On HPUX
# ioscan -fnkC fc
# fcmsutil /dev/td0
Vendor ID is = 0x00103c
Device ID is = 0x001028
TL Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x000006
Previous Topology = UNINITIALIZED
Local N_Port_id is = 0x000000
Local Loop_id is = 126
N_Port Node World Wide Name = 10000000cxxxxxxx
N_Port Port World Wide Name = 10000000cxxxxxxx
Driver state = AWAITING_LINK_UP
Hardware Path is = 0/12/0/0
Number of Assisted IOs = 0
Number of Active Login Sessions = 0
Dino Present on Card = NO
Maximum Frame Size = 960
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon TL/TS/XL2 Driver B.11.11.12 PATCH_11.11 (PHSS_31326) /ux/kern/kisu/TL/src/common/wsio/td_glue.c: Sep 5 2005, 10:14:40



===============================================================================================
LUN Allocation Steps from DMX..

you can allocate LUN through SYMCLI & ECC

STEPS Through SYMCLI

1.View the UNCONFIGURED space on the symm(DMX)
symconfigure -sid xxxx list -freespace -units MB

2. Create_2-way_[sid]_req[EMC request DB #].txt
create dev count=xx, size=17480, emulation=FBA, config=2-way-mir, disk_group=x;

#symconfigure -sid XXX -f /tmp/filname.txt preview -v
#symconfigure -sid XXX -f /tmp/filname.txt prepare -v
#symconfigure -sid XXX -f /tmp/filname.txt commit


3 form meta_[sid]_req[EMC request DB #].txt

form meta from dev xxx config=striped, stripe_size=1920;
add dev yyy:zzz to meta xxx;

#symconfigure -sid XXX -f /tmp/filname.txt preview -v
#symconfigure -sid XXX -f /tmp/filname.txt prepare -v
#symconfigure -sid XXX -f /tmp/filname.txt commit



4.List of available devices that are created but not assigned to the front end FA├в s.
#symdev -sid xxx list -noport -nobcv

5.Find the next VBUS TID LUN to required FA (For Ex: - dir 9a -p 1)
#symcfg -sid XXX list -address -available -fa 08A -p 1
Director Device Name Attr Address
---------------------- ----------------------------- ---- --------------
Ident Symbolic Port Sym Physical VBUS TID LUN
------ -------- ---- ---- ----------------------- ---- --- ---

256D Not Visible (M) 4 01 006
2575 Not Visible (M) 4 01 007
- AVAILABLE 4 03 001 *


(*): The VBUS, TID, LUN address values represent a gap in the
address assignments or are the next available address in
the run

You can use next VBUS TID LUN - AVAILABLE 4 03 001 *

vbus=4
target=03
lun=001


6.Create a file:- /tmp/filname.txt

map dev yyy to dir 09A:1 vbus=4,target=03,lun=001;
map dev zzz to dir 09A:1 vbus=4,target=03,lun=002;


#symconfigure -sid XXX -f /tmp/filname.txt preview -v
#symconfigure -sid XXX -f /tmp/filname.txt prepare -v
#symconfigure -sid XXX -f /tmp/filname.txt commit



8. Adding LUN Masking (assigning LUNs to host HBA├в s.
#symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x add devs xxx,xxx,xxx

===============================================================================
HPUX Host Side

# ioscan -fnC disk
LEGALDB:/> insf
insf: Installing special files for sdisk instance 777 address 8/0/5/1/0.1.16.0.4.3.1
insf: Installing special files for sdisk instance 778 address 8/0/5/1/0.1.16.0.4.3.2
insf: Installing special files for sdisk instance 779 address 8/0/13/1/0.1.16.0.4.3.1
insf: Installing special files for sdisk instance 780 address 8/0/13/1/0.1.16.0.4.3.2
# syminq |grep -i 1FE5
/dev/rdsk/c70t3d1 M(8) EMC SYMMETRIX 5771 xxx1FE5008
/dev/rdsk/c71t3d1 M(8) EMC SYMMETRIX 5771 xxx1FE5008


VG Creation Steps

# pvcreate -t 90 /dev/rdsk/c70t3d1
# pvcreate -t 90 /dev/rdsk/c71t3d1
# mknod /dev/vg_data1_3000/group c 64 0x290000
# vgcreate -p 50 -s 32 vg_data1_3000 /dev/dsk/c70t3d1
# vgextend vg_data1_3000 /dev/dsk/c71t3d1
# lvcreate -r N -i 5 -I 128 -L [LV SIZE] -n lvname
# mkfs -F vxfs -o largefiles /dev/vg_data1_3000/rlvname
# mkdir [mount point]
# mount /dev/vg_data1_3000/lvname /mountpoint







Sajid Iqubal
New Member

Re: A 1tb mount point need to be create from dmx 3000

Step To UNMAP the LUN
1.unmount the mount point.
2.Remove the LV
3.Remove the VG


4. unmapdev_[sid]_req[EMC request DB #].txt
unmap dev xxx from dir all:all;

#symconfigure -sid XXX -f /tmp/filname.txt preview -v
#symconfigure -sid XXX -f /tmp/filname.txt prepare -v
#symconfigure -sid XXX -f /tmp/filname.txt commit

5, Removing LUN Masking (unassigning LUNs from host HBA├в s)��
symmask -sid xxxx -wwn 10000000cxxxxxxx -dir xx -p x remove devs xxx,xxx

now you can map & mask same LUN on another server.