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
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 |
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 |
Answer / pavan
in creation of disks you don't have to specify -g with vxdg init
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
How to set passwd never expire for a user
what is a solaris toolkit
If super block corrupted how to recover
How to findout MAC addess as well as IP address of the host?
How to scan newly added disks to system?
How to Create a snapshot volume
Which command is used to backup and restore solaris file system?
If the system panic or system not booting
How to remove a disk group?
what is the back up software we r using in solaris 8,9,10
How to stop the VCS
If NIC card is failed how can troubleshoot it?