LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-29-2011, 06:38 PM   #1
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,267

Rep: Reputation: 99
Question Creating Subdisks in Veritas Volume Manager


Hi All,

I am new to Veritas Volume Manager (VxVM). I have just installed VxVM 5.0 in Solaris 10 x86 system.

I am having difficulties creating subdisks of desired size in VM Disks of Veritas.

This is what I have done till now,
Code:
bash-3.00# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:none       -            -            online invalid
c2t1d0s2     auto:none       -            -            online invalid
c2t2d0s2     auto:none       -            -            online invalid
c2t3d0s2     auto:none       -            -            online invalid
bash-3.00#
bash-3.00# vxdisksetup -i c2t0d0 format=cdsdisk publen=2086656 privlen=2048
bash-3.00# vxdg init dg1 disk01=c2t0d0s2
bash-3.00#  vxdg -g dg1 free
DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
disk01       c2t0d0s2     c2t0d0       0         2086656   -
  -
Now, I have 2086656 sectors in public region of VM Disk disk01.

This 2086656 sectors are equal to 1018 MB (2086656 / 2 / 1024).

How can I create 3 subdisks (disk01-01, disk01-02 and disk01-03) in it, say of size 339 MB each roughly ?

339 MBs are equal to 694272 sectors. (339 * 2 * 1024).
 
Old 01-29-2011, 11:52 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

i think this will help:
Code:
Syntax:
vxmake sd subdisk diskname,offset,length

Plex one:
vxmake -g dg1 sd disk01-01 disk01,0,339m
You can check offset for next subdisk using vxprint.
 
1 members found this post helpful.
Old 02-01-2011, 12:42 PM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,267

Original Poster
Rep: Reputation: 99
Quote:
Originally Posted by mesiol View Post
Hi,

i think this will help:
Code:
Syntax:
vxmake sd subdisk diskname,offset,length

Plex one:
vxmake -g dg1 sd disk01-01 disk01,0,339m
You can check offset for next subdisk using vxprint.
Thanks a lot Mesiol works perfectly. Sorry for the late reply, I was too busy with things around.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Veritas Volume Manager / Cluster software ? mail4vijay Linux - General 4 01-18-2011 08:25 AM
Veritas Volume Manager for Red Hat vikas027 Linux - Software 4 11-26-2010 11:05 PM
Veritas volume manager arunkalathi Linux - Enterprise 8 06-24-2010 01:33 PM
Veritas Volume manager encapsulation UltraSoul Solaris / OpenSolaris 4 12-11-2008 08:43 PM
Trying to install Veritas volume manager on Centos bbolin Linux - Software 5 07-24-2006 06:40 AM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration