How to create a new volume



How to create a new volume..

Answer / sbrahman75

Detect new disks

#devfsadm

#vxdiskadm - select option 1 to add new disks (Initialize
new disks and add it to disk group appdg )

# vxassist –g appdg make snetprd01 55g (create volume in
appdg as snetprd01)

#mkfs –F vxfs –o largefiles /dev/vx/rdsk/appdg/snetprd01
(creating file system for the volumes snetprd01)

# cd / (creating directories for snetprd01 )


#mkdir snetprd01

#chown oracle /snetprd01 (change the ownership to oracle for
snetprd01 directories )

#vi /etc/vfstab

#mount /snetprd01

#df –k

#mount –p

#vxdisk list

##vxprint –g appdg

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

Hello Everyone, One of our servers is showing a strange issue, let me paste the output Code: root # uptime 4:37pm 3 users, load average: 0.00, 0.04, 0.04 Its been running since months but you can see after time there isn't any output like up 191 days(s). Even the who command with b and r option isn't giving any output. Code: root # who -b root # root # who -r root # the date command displays correct output. I am not sure but is it because someone has played with utmpx and wtmpx files, is reboot the only solution we have. Can anyone help us since we don't intend to reboot the server for such a reason and also no one has complained till yet.

1 Answers  


Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.

2 Answers  


I would like to create users and the users account should be locked after 3 login attempts. How to create ? And where these locked information has been stored. Environment : NIS and if LDAP also

4 Answers   CTS,


How we configure the veritas cluster server for solaris? what r the proceure we have to take configuration

1 Answers   IBM,


Command to find the VCS status

3 Answers  






What is nslookup

2 Answers  


how to configure ethernet card.

4 Answers  


How to remove the root mirror

2 Answers  


How many controllers in 3510 storage.

1 Answers  


How to enable and disable the dtlogin

1 Answers  


What is default permission of /etc/passwd , /etc/shadow files

7 Answers   Accel Frontline,


Explain shrinking the disk

2 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)