SVM Soft partitions in a metaset- how to migrate ?


 
Thread Tools Search this Thread
Operating Systems Solaris SVM Soft partitions in a metaset- how to migrate ?
# 1  
Old 08-25-2010
SVM Soft partitions in a metaset- how to migrate ?

Hi Friends,
I need your assistance, could someone assist....
Scenario:- Solaris 10, with zones and mounted file systems, using SAN.
SVM with metasets on it configured soft partitions on the meta device.
These soft partitions are mounted and file systems are being accessed.
We are now trying to migrate/mirror these disks onto new one.
I was able to add a new disk into existing metaset, but couldnt perform any mirrors, sub mirrors out of the existing soft partitions. any pointers plzzz.
# 2  
Old 08-25-2010
post you configuration... metaset and metastat output of the devices you need help on.
# 3  
Old 08-25-2010
Thanks a lot for quick and prompt response.Please find the precise output, please let me know if you need any other information...


I have added disk in red color... ending D3Dd0s0 to the existing metaset and created metadevice by name d200 on it. rest was already existing.


Code:
# metastat  -s testset -c

testset/d107 p  962MB testset/d100

testset/d105 p  3.0GB testset/d100

testset/d101 p   25GB testset/d100

    testset/d100 s   50GB /dev/dsk/c4t60060E801525230000012523000024A3d0s0

testset/d200 s   50GB /dev/dsk/c4t60060E800571BA00000071BA00002D3Dd0s0

 

# metastat  -s testset

 

testset/d200: Concat/Stripe

    Size: 106283520 blocks (50 GB)

    Stripe 0:

        Device                                             Start Block  Dbase   Reloc

        /dev/dsk/c4t60060E800571BA00000071BA00002D3Dd0s0          0     No      Yes

 

testset/d107: Soft Partition

    Device: testset/d100

    State: Okay

    Size: 1970176 blocks (962 MB)

        Extent              Start Block              Block count

             0                 58720352                  1970176

 

testset/d100: Concat/Stripe

    Size: 106283520 blocks (50 GB)

    Stripe 0:

        Device                                             Start Block  Dbase        State Reloc Hot Spare

        /dev/dsk/c4t60060E801525230000012523000024A3d0s0          0     No            Okay   Yes

 

testset/d105: Soft Partition

    Device: testset/d100

    State: Okay

    Size: 6291456 blocks (3.0 GB)

        Extent              Start Block              Block count

             0                 52428864                  6291456

 

testset/d101: Soft Partition

    Device: testset/d100

    State: Okay

    Size: 52428800 blocks (25 GB)

        Extent              Start Block              Block count

             0                       32                 52428800

 

Device Relocation Information:

Device                                           Reloc  Device ID

/dev/dsk/c4t60060E800571BA00000071BA00002D3Dd0   Yes    id1,ssd@n60060e800571ba00000071ba00002d3d

/dev/dsk/c4t60060E801525230000012523000024A3d0   Yes    id1,ssd@n60060e801525230000012523000024a3

 

# metaset -s testset

 

Set name = testset, Set number = 3

 

Host                Owner

  host1         Yes (auto)

 

Drive                                            Dbase

 

/dev/dsk/c4t60060E801525230000012523000024A3d0   Yes

 

/dev/dsk/c4t60060E800571BA00000071BA00002D3Dd0   Yes


Last edited by Scott; 08-25-2010 at 01:01 PM.. Reason: Added code tags
# 4  
Old 08-25-2010
in this configuration you can not add a submirror because there is no mirror configured... when I create a diskset I allways use a oneway mirror (a mirror with only one submirror) configuration. with this config I can allways add a second submirror to duplicate my data.
# 5  
Old 08-25-2010
thanks a lot dukenuke for prompt response. In this case what;s the best way to migrate the data ?? rsync ? tar/cpio ?? also the filesystems are mounted and in use constantly.

Last edited by DukeNuke2; 08-26-2010 at 10:06 AM..
# 6  
Old 08-26-2010
in your case a downtime (no access to the filesystems) is needed. i've good results with ufsdump/ufsrestore to duplicate filesystems. have a look at the manpage of ufsrestore for a good example of the command.
# 7  
Old 08-26-2010
Thanks a lot for timely assistance.

Last edited by DukeNuke2; 08-26-2010 at 10:06 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

SVM RAID5: Can an app access raw partitions?

I am using Solaris 9 (Sparc based) with Sybase and a proprietary DB application that works with Sybase. In the past we have not used SVM or any RAID config. The DBs were configured such that each DB had its own partition. Now I would like to setup a new machine with the DBs on a RAID5 config... (1 Reply)
Discussion started by: DavidC_SysEngr
1 Replies

2. UNIX for Advanced & Expert Users

live upgrade with raid0 soft partitions

Hi, I have this mirrored system with soft-partitions. I have a difficulty determining the lucreate cmd in this env. #metastat -p d0 -m d10 d20 1 d10 1 1 c1t2d0s0 d20 1 1 c1t3d0s0 d1 -m d11 d21 1 d11 1 1 c1t2d0s5 d21 1 1 c1t3d0s5 d100 -p d1 -o 58720384 -b 8388608 d200 -p d1 -o... (1 Reply)
Discussion started by: chaandana
1 Replies

3. Solaris

Metaset repartitioning

Dear all, This metaset stuff drive me crazy. The story begin with the Solaris 8 upgrade.... We have a pair of Solaris 8 with Sun Cluster 3.1, to prevent a long downtime, the Live Upgrade was chosen. As metadb cannot use LU to upgrade directly, we remove the diskset before upgrade, and put it... (0 Replies)
Discussion started by: donaldfoo
0 Replies

4. Solaris

Replace LUN with soft partitions

Hi all, can somebody provide me with advice if is possible to replace physical LUN, with soft partitions (located directly on LUN, not on metadevice) by the new one. Current state looks like this: root@xxx:/etc/zones # metastat -c| egrep -i 900bec2d286 d504 p 159GB... (1 Reply)
Discussion started by: brusell
1 Replies

5. Solaris

Replacement of metadevice with soft partitions

Hi guys, currently I'm working on one problem. I have Sol10 box where I need to replace old storage for the new one with minimal downtime. Layout of metadevice looks like this: d103 p 1.0GB d100 d102 p 2.0GB d100 d101 p 1.0GB d100 d100 s ... (3 Replies)
Discussion started by: brusell
3 Replies

6. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

7. Solaris

Replacing a hard disk (SVM) with a soft partition?

The following is the summarry:- 1) Four disks in server ie (c1t0d0. c1t1d0, c1t2d0, c1t3d0). c1t2d0 is the disk to be replaced. c1t0d0 and c1t2d0 are mirrors. c1t1d0 and c1t3d0 are mirrors. Metadb to be deleted is in c1t2d0s7 a) Mirror d35 has 2 submirrors d38 and d39 d38 is a stripe... (0 Replies)
Discussion started by: aji1729
0 Replies

8. Solaris

Facing Problem with metaset in SVM

hi all, i am using solaris 5.10 on sun blade 150 and i am trying to configure diskset in sun volume manager. When i fire the following command, it says some rpc related error. bash-3.00# metaset -s kingston -a -h u15_9 metaset: u15_9: metad client create: RPC: Program not registered how to... (4 Replies)
Discussion started by: kingston
4 Replies

9. Solaris

Sun Cluster-Metaset problem

Hi Guys i have two servers which are n cluster prd1 and prd2.. I already have a metaset configured in it..My job was to create a 1.8 tb LUN in my storage which is having Hardware raid5 pre-configured..i Created 1.8 tb with raid 5 in my storage and it got detected in both t servers prd1... (4 Replies)
Discussion started by: madanmeer
4 Replies
Login or Register to Ask a Question