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 configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever

1 Answers   IBM,


i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy of data in anoher harddisk so that i should be able boot from new harddisk, how do yo do this? is it called as cloning?

4 Answers   Symphony,


When would you want to reconfigure the kernel and how would you do it?

1 Answers  


Whats the boot process of VxVM?

1 Answers   Wipro,


which is best os in UNIX flavors Solaris or HP-UX or IBM –AIX or Linux

8 Answers   IBM,






without keyboard detection is booting process continue or not?

3 Answers  


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

1 Answers   HCL,


how u will recover the disk group

2 Answers   IBM,


how to configure default router..?

3 Answers  


If you mistype a password, how do you clear it out to retype the password again?

11 Answers   Genpact, WNS,


NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?

4 Answers  


explain Jumpstat configuration..?

2 Answers   Accenture,


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)