Skip to main content

How can you create mount points in solaris?

Steps:
=======
1, Take the Basic System information and Reboot the
system to recognize the new LUN
2, After the Rebooting the system check for new LUN or
run qlreconfig command and devfsadm
 # /opt/QLogic_Corporation/drvutil/qla2300/qlreconfig
 -d qla2300
3, Once the new Disk comes under OS control label the
disk using format menu
4, Check the disk visible in veritas control as invalid
5, Bring the disk into veritas control
 # vxdctl enable
6, Verify the new LUN information as Online in veritas
( In this stage it shows online invalid )
 # vxdisk -o alldgs list
7, Initialize the new LUNs in Veritas control
 # /etc/vx/bin/vxdisksetup -i c2t20d114
format=cdsdisk
 8, Again verify the New LUN information in
Veritas ( Now it shows as online status )
 # vxdisk -o alldgs list

FOR Example: BDMRP database
9, Create new DG called bdmrpdg using new LUN (206GB)
 # vxdg init bdmrpdg bdmrpdg_01=c2t20d114
 # vxdg -g bdmrpdg adddisk bdmrpdg_02=c#t#d#
10, Create New Volume for under new DG bdmrpdg
1, # vxassist -g bdmrpdg make vol01 10g
11, Create the File systems on new volumes
 # /usr/lib/fs/vxfs/mkfs -F
vxfs /dev/vx/rdsk/bdmrpdg/vol01
12, Check the new volumes status
 # vxprint -g bdmrpdg -ht
13, Create new directory for Mount points
 # cd /DB04
 # mkdir -p BDMRP/ORACLE/admin

14, Check the mount point
 # mount -F
vxfs /dev/vx/dsk/bdmrpdg/vol01 /DB04/BDMRP/ORACLE/admin

15, Umount the Mount point
 # umount /DB04/BDMRP/ORACLE/admin

16, take the backup and Update the /etc/vfstab file and
mount it again with the mount point
 /dev/vx/dsk/bdmrpdg/vol01 /dev/vx/rdsk/bdmrpdg/vol01
 /DB04/BDMRP/ORACLE/admin vxfs 3 yes -

 # mount /DB04/BDMRP/ORACLE/admin

17, Change the ownership to oracle:dba

Comments

Popular posts from this blog

Command for finding process using too much CPU

Command for finding process using too much CPU   Try doing this : top - b - n1 - c   And if you want the process that takes the most %CPU times : top - b - n1 - c | awk '/PID *USER/{print;getline;print}' or top - b - n1 - c | grep - A 2 '^$'       Or using a few other utils you could do: ps aux | sort - rk 3 , 3 | head - n 5   Change the value of head to get the number of processes you want to see.

User account Lock/Unlock / Disable and enable

User account Lock/Unlock / Disable and enable Ex - Username - testing Lock command =---------- passwd -l testing or usermod -L testing unlock command ================= passwd -u testing or usermod -U testing Disable and Enable ==================== The following will lock an account Code: passwd -l testing You could also change the users shell to /bin/false if you don't want them to log in Code: usermod -s /bin/false testing Enable the account usermod -s /bin/bash tesing