#!/bin/ksh

echodo ()
{
 echo $*
 $*
}

echodo lvcreate -i 32 -I 32  -L 4096 -n lv_wls_system  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 13312 -n lv_wls_sysaux  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 81920 -n lv_wls_temp  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 204800 -n lv_wls_undo2 /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 2048 -n lv_wls_controlfile  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 10240 -n lv_wls_stats  /dev/vg_eva1234_data

echodo lvcreate -i 32 -I 32  -L 460800 -n lv_wls_c_custinv  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 256000 -n lv_wls_c_cust  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 17408 -n lv_wls_c_parts  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 3072 -n lv_wls_c_supp  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 3072 -n lv_wls_c_site  /dev/vg_eva1234_data

echodo lvcreate -i 32 -I 32  -L 15360 -n lv_wls_m_bom  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 30720 -n lv_wls_m_inv  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 30720 -n lv_wls_m_inv_idx /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 12288 -n lv_wls_m_lo  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 65536 -n lv_wls_m_parts  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 55296 -n lv_wls_m_wo  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 55296 -n lv_wls_m_wo_idx  /dev/vg_eva1234_data

echodo lvcreate -i 32 -I 32  -L 12288 -n lv_wls_o_item  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 102400 -n lv_wls_o_ordl  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 49152 -n lv_wls_o_ords  /dev/vg_eva1234_data

echodo lvcreate -i 32 -I 32  -L 28672 -n lv_wls_s_comp  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 49152 -n lv_wls_s_po  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 61440 -n lv_wls_s_sc  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 3072 -n lv_wls_s_site  /dev/vg_eva1234_data
echodo lvcreate -i 32 -I 32  -L 3072 -n lv_wls_s_supp  /dev/vg_eva1234_data

echodo lvcreate -i 32 -I 32  -L 3072 -n lv_wls_u_seq  /dev/vg_eva1234_data

echodo lvcreate -i 28 -I 32  -L 410368 -n lv_wls_slog1_lrg  /dev/vg_eva1234_log2
echodo lvcreate -i 28 -I 32  -L 410368 -n lv_wls_slog2_lrg  /dev/vg_eva1234_log2
echodo lvcreate -i 28 -I 32  -L 410368 -n lv_wls_slog3_lrg  /dev/vg_eva1234_log2
echodo lvcreate -i 28 -I 32  -L 410368 -n lv_wls_slog4_lrg  /dev/vg_eva1234_log2

echodo chown oracle:dba /dev/vg_eva1234_data/rlv_wls*
echodo chown oracle:dba /dev/vg_eva1234_log2/rlv_wls*
