I want to create a 30Gb of size in three different disks
10Gb,5Gb and 15Gb respectively in VxVm , how can we create
it kindly explain step by step procedure.

Answers were Sorted based on User's Feedback



I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , ..

Answer / arulkumar

Ex: Three different disks.
c0t0d0 -- 10Gb
c0t1d0 -- 5Gb
c0t2d0 -- 15Gb

#vxdctl enable
#vxdisksetup -i c0t0d0
#vxdisksetup -i c0t1d0
#vxdisksetup -i c0t2d0

Create a disk group.

#vxdg init -g <dgname> vxdiskname=c0t0d0
#vxdisk -g <dgname> adddisks vxdiskname=c0t1d0
vxdiskname=c0t2d0
#vxdg list -- Now we can see the newely created dg is
created to 30Gb

To see the maximum size of the volume;
#vxassist -g <dgname> maxsize

#vxassist -g <dgname> make <volume-name> <size-30G>
if it is ufs,
#newfs /dev/vx/rdsk/dgname/volume-name

#mount /dev/vx/dsk/dgname/volume-name /mount-point



Is This Answer Correct ?    7 Yes 1 No

I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , ..

Answer / natraj

Ans: Ex: Three different disks.
c0t0d0 -- 10 GB
c0t1d0 -- 5 GB
c0t2d0 -- 15 GB

#vxdctl enable
#/etc/vx/bin/vxdisksetup -i c0t0d0
#/etc/vx/bin/vxdisksetup -i c0t1d0
#/etc/vx/bin/vxdisksetup -i c0t2d0

Create a disk group.

#vxdg init <dgname> disk01=c0t0d0
#vxdg -g <dgname> adddisk disk02=c0t1d0
#vxdg –g <dgname> adddisk disk03=c0t2d0
#vxdg list -- Now we can see the newly created dg that is
30 GB

To see the maximum size of the volume;
#vxassist -g <dgname> maxsize layout=layouttype

#vxassist -g <dgname> make <volume-name> <size-30G>
If it is vxfs,
#mkfs –F vxfs /dev/vx/rdsk/dgname/volume-name

#mount –F vxfs /dev/vx/dsk/dgname/volume-name /mount-point

Is This Answer Correct ?    2 Yes 0 No

I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , ..

Answer / pavan

in creation of disks you don't have to specify -g with vxdg init

Is This Answer Correct ?    1 Yes 0 No

I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , ..

Answer / natraj

c0t0d0 -- 10 GB
c0t1d0 -- 5 GB
c0t2d0 -- 15 GB

#vxdctl enable
#/etc/vx/bin/vxdisksetup -i c0t0d0
#/etc/vx/bin/vxdisksetup -i c0t1d0
#/etc/vx/bin/vxdisksetup -i c0t2d0

Create a disk group.

#vxdg init <dgname> disk01=c0t0d0
#vxdg -g <dgname> adddisk disk02=c0t1d0
#vxdg –g <dgname> adddisk disk02=c0t1d0
#vxdg list -- Now we can see the newly created dg that is
30 GB

To see the maximum size of the volume;
#vxassist -g <dgname> maxsize

#vxassist -g <dgname> make <volume-name> <size-30G>
If it is vxfs,
#mkfs –F vxfs /dev/vx/rdsk/dgname/volume-name

#mount –F vxfs /dev/vx/dsk/dgname/volume-name /mount-point

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

How to change rsc ip in sun V490?

4 Answers   Wipro,


Where the ip address will be stored

4 Answers  


In VERITAS How to recover the mirror disk with data. How to bring the existing data disk into VERITAS volume manger control.

2 Answers  


What is shrinking and how to shrink a volume?

2 Answers  


Which command to lock the user Account?

3 Answers  






What is difference between g G while creating useradd?

1 Answers  


How to check the communication between 2 nodes?

5 Answers  


How to add a tape deck on Sun Solaris version 10

2 Answers  


What is the protocol supported by NFS

2 Answers  


What are the options available in Solaris Security setting.?

1 Answers   Accenture,


How can u find a file which is logged in last week?

0 Answers  


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  


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)