How can you create mount points in solaris?

Answers were Sorted based on User's Feedback



How can you create mount points in solaris?..

Answer / parne

step 1 :
newfs /dev/rdsk/cxtxdxsx
to make the file system
step:2
mount /dev/dsk/cxtxdxsx /mount point

to make this mount point permanent add entry in
the /etc/vfstab

Is This Answer Correct ?    63 Yes 5 No

How can you create mount points in solaris?..

Answer / p.r.l.prasanna

mkdir <directory name>
mount <filesystem> <directory name>

Is This Answer Correct ?    24 Yes 11 No

How can you create mount points in solaris?..

Answer / gnanavel sekar

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

Is This Answer Correct ?    12 Yes 1 No

How can you create mount points in solaris?..

Answer / keyzion

Creating a mount point appropriate for use with the mount
command to mount a filesystem, oracle, etc.
A mount point in Solaris is simply a directory. To create
the mount point /mnt/oracle, use the following command as
superuser:
System A:
#mkdir /mnt/oracle
if yoi want to sahre this file system, so that it can be
mounted via NFS
run
#share /mnt/oracle;
system B
#mkdir /oracle
#mount systemsA:/mnt/oracle /oracle

check on system A, nfsd running using ps - ef | grep nfs;
if not start nfs daemon

Is This Answer Correct ?    18 Yes 8 No

How can you create mount points in solaris?..

Answer / $3nth!l kum@r.s,

Creating mount point on UFS FS.
ex..
1.newfs /dev/rdsk/c0t0d0s7
2.mkdir /createUFS
3.mount -F ufs -o
rw,laregefiles /dev/dsk/c0t0d0s7 /createUFS(if your
mountpoint size above 2GB you have to use the option
laregefiles..)
4.vi /etc/vfstab(for making Permanent mountpoint)

Creating mount point on VXFS FS
ex...
1.mkfs /dev/vx/rdsk/newdg/vol1
2.mkdir /createUFS
3.mount -F vxfs -o rw,
laregefiles /dev/vx/dsk/newdg/vol1 /createUFS(if your
mountpoint size above 2GB you have to use the option
laregefiles..)
4.vi /etc/vfstab(for making Permanent mountpoint)

Is This Answer Correct ?    12 Yes 2 No

How can you create mount points in solaris?..

Answer / prabhakar reddy

-> Frist of all creat the filesystem then format the file
system with newfs or mkfs.Finally mount the file system with
mount command.To make this mount point permanent add entry in
the /etc/vfstab.


Syntax::#mount <device name> <mount point>

Is This Answer Correct ?    18 Yes 9 No

How can you create mount points in solaris?..

Answer / basha phatan

It is very easy .
Frist create a mount point ie # mkdir /mpoint
#mount /dev/dsk/c0t0t0s0 /mpoint
#df -k (for checking perpose)
To keep permanently go to /etc/vfstab and keep there

Is This Answer Correct ?    10 Yes 4 No

How can you create mount points in solaris?..

Answer / jagan mohan

IN TO CREATE MOUNT POINT, FIRST U HAVE TO CREATE A PARTION
USING FORMAT COMMAND AND FROM THE AVAILABLE UNASSIGNED
SLICES U HAVE TO CREATE EXAMPLE ON c0t0d0s4 and then create
the filesystem with newfs /dev/rdsk/c0t0d0s4 and after that
create any directory u like to mount and after that using
mount /dev/dsk/c0t0d0s4 /created mount point

Is This Answer Correct ?    6 Yes 4 No

How can you create mount points in solaris?..

Answer / danasekaran r

Create on directory
mkdir /dana
Apply mount command through the directory
Syntax:- mount <file system path> <mount point dir name>
Eg:-
mount <file system path> /dana
confirm it :
df -k it will show there.


Dear Danasekaran R

Is This Answer Correct ?    1 Yes 1 No

How can you create mount points in solaris?..

Answer / manas behera

step1.create new file systems thru newfs
step2.mount the file system thru mountfs

Is This Answer Correct ?    17 Yes 21 No

Post New Answer

More Solaris Commands Interview Questions

how many zones can we create?

11 Answers   HSBC,


How to find the boot path in solaris

4 Answers  


what is the command to know about pkg information

7 Answers  


Difference between LDOM and Domain?

2 Answers   IBM,


Explain about Vxrecover?

3 Answers   EDS,






After creating user account successfully it shows 64 blocks.what for these 64 blocks are used and what information is stored in this blocks?

5 Answers  


please post step by step installation of packages from the EIS cd..

0 Answers   Wipro,


What are configuration files and to configure it in VCS

2 Answers  


how to find NIC card type. is there any command to display the card type when it not plumbed.

4 Answers   Thomson Reuters,


how to add the more than one number of pkg at a time in solaris

2 Answers  


What command can be used in running a background process?

2 Answers  


How to scan newly added disks to system?

9 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)