What is a layered volume? how to create it using vxmake?
Answer / deepak kumar
stripe- mirror
concat - mirror are layered volumes and
## First make subdisks
vxmake -g sybdg sd sybdg32-15 sybdg32,14607200,1365376
vxmake -g sybdg sd sybdg36-19 sybdg36,21389040,1365376
vxmake -g sybdg sd sybdg53-19 sybdg53,25483768,1365376
vxmake -g sybdg sd sybdg54-17 sybdg54,22355000,1365376
vxmake -g sybdg sd sybdg55-25 sybdg55,1767000,1365376
vxmake -g sybdg sd sybdg56-30 sybdg56,27216512,1365376##
Now make the plexes
vxmake -g sybdg plex datadev93-SV00A sd=sybdg32-15
vxmake -g sybdg plex datadev93-SV01A sd=sybdg36-19
vxmake -g sybdg plex datadev93-SV02A sd=sybdg53-19
vxmake -g sybdg plex datadev93-SV00B sd=sybdg54-17
vxmake -g sybdg plex datadev93-SV01B sd=sybdg55-25
vxmake -g sybdg plex datadev93-SV02B sd=sybdg56-30
## Now create sub volumes containing the plexes.
vxmake -g sybdg vol datadev93-SV00 plex=datadev93-
SV00A,datadev93-SV00B use_type=gen
vxmake -g sybdg vol datadev93-SV01 plex=datadev93-
SV01A,datadev93-SV01B use_type=gen
vxmake -g sybdg vol datadev93-SV02 plex=datadev93-
SV02A,datadev93-SV02B use_type=gen##
Let them be subvolumes
vxedit -g sybdg set layered=on datadev93-SV00 datadev93-
SV01 datadev93-SV02
## Activate!
vxvol -g sybdg init active datadev93-SV00
vxvol -g sybdg init active datadev93-SV01
vxvol -g sybdg init active datadev93-SV02
## Turn into subdisks so we can add them all to another plex
vxmake -g sybdg sd datadev93-SD00 datadev93-SV00,0,1365376
vxmake -g sybdg sd datadev93-SD01 datadev93-SV01,0,1365376
vxmake -g sybdg sd datadev93-SD02 datadev93-SV02,0,1365376
## Now create a new plex with all subvolumes in
vxmake -g sybdg plex datadev93-A sd=datadev93-
SD00,datadev93-SD01,datadev93-SD02 layout=stripe
st_width=128
## Now make the main volume
vxmake -g sybdg vol datadev93 plex=datadev93-A
use_type=genvxvol -g sybdg init active datadev93
#vxedit -g sybdg set user=sybase group=dba datadev93
Is This Answer Correct ? | 3 Yes | 4 No |
how can u schedule for snapshot
How would you freeze a service group?
In remote support environment not able to ping one solaris server .What are the necessary steps you will do ?
I have a hard disk. After inserting this what are the recommended steps to install it on your solaris
what r the port numbers for HTTP and DNS
What is the use of Sam utility in solaris
what is port no for telnet?
how can u view installed packages
How do u know that,what patch can be applicable on the system?
how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.
How to see open ports?
how to freeze nodes in vcs?tell me step by step?