Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-29-2011, 06:38 PM
|
#1
|
|
Senior Member
Registered: May 2007
Distribution: RHEL, CentOS
Posts: 1,232
Rep:
|
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).
|
|
|
|
01-29-2011, 11:52 PM
|
#2
|
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
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.
|
02-01-2011, 12:42 PM
|
#3
|
|
Senior Member
Registered: May 2007
Distribution: RHEL, CentOS
Posts: 1,232
Original Poster
Rep:
|
Quote:
Originally Posted by mesiol
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:37 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|