The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trying to implement case ssunda6 Shell Programming and Scripting 3 03-23-2008 06:44 AM
Trying to implement case ssunda6 Shell Programming and Scripting 2 03-21-2008 06:55 AM
how to implement this kishore_jasthi Shell Programming and Scripting 2 02-22-2008 05:11 AM
how to implement timer Frank2004 AIX 2 06-09-2004 10:21 PM
how does va_arg implement ? chenhao_no1 High Level Programming 2 04-20-2003 07:29 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 12-15-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
Assuming these disk are wholly dedicated to the mirror:


Code:
zpool create data mirror c0d0 c0d1

That's it. You have now a /data filesystem whose content are mirrored on d0 and d1. ZFS is dead simple when compared to alternate RAID solutions.

By the way, mirroring means each disk is a backup of the other one. There is no specific data disk and backup disk like you describe.
  #2 (permalink)  
Old 12-15-2008
webster5u webster5u is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 17
it should be strip and mirroring. What i trying to do is create a logical volume, it is contain 2 disk. whatever i did in disk A it will mirror to disk B. Disk B it is locate in slice 2 of logical volume and other slice is used by disk A.
  #3 (permalink)  
Old 12-15-2008
kumarmani kumarmani is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 343
Sorry I couldn’t understand the above line.

As per my understanding all you need to do is create a metadb on both the disk. Take any of the unused slice , allocate space to that and create a 3 copy of meta db on the slice , some think like this

Quote:
#metadb –f –a –n 3 c0t0d0s7 c0t1d0s7
e.g. I am taking slice 7 for meta database

check the same with

Quote:
#metadb
For / ( root)

Quote:
# metainit -f d1 1 1 c0t0d0s0
# metainit d2 1 1 c0t1d0s0
# metainit d0 -m d1
# metaroot d0
# metattach d0 d2

Likewise you can create volume for rest of the partition

Once done change the /etc/vfstab entry to point the partition towards the different volumes

Do the required entry into the /etc/system for rootdev

Also you need set the rootdisk/rootmirror

Reboot the system

( please verify the above steps I am just giving you kind of direction, I mean how you can plan the entire activity)
  #4 (permalink)  
Old 12-15-2008
webster5u webster5u is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 17
thank for you kindly info. I should finish installation solaris and partition it into 8 slice (0-7) Then afterward run above commands in single user mode?

What's happen to my disk volume, it is show c0d0 and c0d1. Without 't' then i still create a logical volume? (i am running x86 platform in virtualbox)
  #5 (permalink)  
Old 12-16-2008
tien86 tien86 is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 41
Could anyone make sure for me:

database replicates are always occupy a whole slice? (cannot make a filesystem on that slice ?)

always need a database slice for each mirror hard disk?
  #6 (permalink)  
Old 12-16-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
Webster5u: there is no reason to be concerned about the missing target on your disks. It is just they are (virtual) IDE disks, not SCSI/SATA ones.

What I was suggesting (adding two new disks and implement ZFS on them) is a very simple and straightforward solution. I'm disappointed to see you seem to prefer the complex way (SVM).
  #7 (permalink)  
Old 12-16-2008
webster5u webster5u is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 17
Quote:
Originally Posted by tien86 View Post
Could anyone make sure for me:

database replicates are always occupy a whole slice? (cannot make a filesystem on that slice ?)

always need a database slice for each mirror hard disk?
i haven't setup the metadb yet. I think my installed solaris is not configure well, it is hostname disappear, cannot run "raidctl" cmd and etc. it is not a good start point for me.

Quote:
Originally Posted by jlliagre View Post
Webster5u: there is no reason to be concerned about the missing target on your disks. It is just they are (virtual) IDE disks, not SCSI/SATA ones.

What I was suggesting (adding two new disks and implement ZFS on them) is a very simple and straightforward solution. I'm disappointed to see you seem to prefer the complex way (SVM).
jlliagre, thank for your comment. it is really thank, i am currently assign into a project. i have to understand exactly how system administrator done to our company server. ZFS will be my alternative choice.

whatever, thank all of your.
Closed Thread

Bookmarks

Tags
mirror, raid, solaris, unix download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0