LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2012, 06:44 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Svm-raid-1


Hi guys,

I just questions regarding mirroring in solaris currently i have 2 disk c0t0d0 & c0t2d0(new). the partition layout of c0t0d0 is:

Quote:
Part Tag Flag Cylinders Size Blocks
0 root wm 67 - 917 6.52GB (851/0/0) 13671315
1 swap wu 1 - 51 400.06MB (51/0/0) 819315
2 backup wm 0 - 2084 15.97GB (2085/0/0) 33495525
3 reserved wm 52 - 58 54.91MB (7/0/0) 112455
4 reserved wm 59 - 66 62.75MB (8/0/0) 128520
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 home wm 918 - 2084 8.94GB (1167/0/0) 18747855
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
if i am going to mirror both root & home what would be the partition layout of my 2nd disk? should it be the same with my 1st disk?
 
Old 03-12-2012, 03:08 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 248Reputation: 248Reputation: 248
Greetingz!

The partition layout doesn't have to be *identical*, however the sizes of each slice need to be the exact same amount of blocks.
Also, do you *never* plan on mirroring the other partitions? (P.S: "Quote" tags suck for code, use [code] tags)

Most people would want to use the same slice-numbers just to avoid confusion (nothing like 'accidentally' resync'ing the wrong metadevices to earn a smoke break in the morning!)

Quick-n-Easy Copy-The-Whole-Partition-Table-Over-To-The-New-Disk
Code:
prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t2d0s2
EDIT: By the way, you're going to need a tiny slice to store your metadb's. I'd suggest 32mb, and 3 metadb copies. You'll need that slice unmirrored, and on both disks.

Last edited by xeleema; 03-12-2012 at 03:10 PM.
 
Old 03-15-2012, 08:09 AM   #3
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Thanks a lot xeleema that helps
 
Old 03-15-2012, 03:31 PM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 248Reputation: 248Reputation: 248
Quote:
Originally Posted by SBN View Post
Thanks a lot xeleema that helps
No problem. I love DiskSuite/Solaris Volume Manager questions. I've seen enough weird setups over the years that it gets pretty hard to stump me.
 
  


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
SVM - metadb and 4 disks ? czezz Solaris / OpenSolaris 4 01-30-2014 11:03 AM
[SOLVED] SVM - Concatenation of 2 mirrors czezz Solaris / OpenSolaris 3 01-23-2011 04:01 PM
fsck a SVM RAID 0??? L1nuxn00b703 Solaris / OpenSolaris 1 03-02-2010 05:43 AM
SVM RAID1 issue on Solris 10 UltraSoul Solaris / OpenSolaris 2 07-04-2007 08:38 AM
Removing an SVM mirror sKiBa Solaris / OpenSolaris 1 08-11-2006 12:45 PM


All times are GMT -5. The time now is 11:12 AM.

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