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

what is SMF service? And what it does in Solaris 10

2 Answers   IBM,


how to increase file system in root disk mirroring with out detach the mirror?

1 Answers  


what is the use of /etc/path-to-inst file..?

4 Answers  


Suppose if u want to reconfigure the kernel then how ur going to do?

3 Answers  


how to copy the disk image

1 Answers  






How to repalce a failed disk?

3 Answers   Satyam,


How can you check that a particular volume is mirrored?

5 Answers   CGI,


What is the config file in DNS?

2 Answers  


how many servers are maintaining and what is your 'user base' in the organization?------friends please tell me in what way the answer should be?

1 Answers   emc2,


what is major number and what is minor number..?

3 Answers   Wipro,


what are the deamon for nfs server

5 Answers   IBM, Micron Electricals,


If My Server is Suddenly Down what are the reasons? Tell me Exact time of Ping?

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)