What is a layered volume? how to create it using vxmake?



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

Post New Answer

More Solaris AllOther Interview Questions

how can u schedule for snapshot

1 Answers   HCL,


How would you freeze a service group?

1 Answers  


In remote support environment not able to ping one solaris server .What are the necessary steps you will do ?

2 Answers   Siemens,


I have a hard disk. After inserting this what are the recommended steps to install it on your solaris

1 Answers   HCL,


what r the port numbers for HTTP and DNS

1 Answers   IBM,






What is the use of Sam utility in solaris

0 Answers   Accel,


what is port no for telnet?

12 Answers  


how can u view installed packages

3 Answers   IBM,


How do u know that,what patch can be applicable on the system?

0 Answers  


how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.

3 Answers   Bank Of America,


How to see open ports?

2 Answers   IATA, Locuz,


how to freeze nodes in vcs?tell me step by step?

3 Answers   Mphasis,


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)