SVM Creation


 
Thread Tools Search this Thread
Operating Systems Solaris SVM Creation
# 8  
Old 11-21-2011
I think you are confusing yourself... and me in the process. You have two slices: c0t0d0s4 and c0t1d0s4. Which of them contains data that you want to keep?
# 9  
Old 11-21-2011
Trying to simplify more :

Code:
/dev/md/dsk/d5          5G   3G    2G    70%    /usr1

before patching :
Code:
d5 -m d15 d25 1
d15 1 1 c0t0d0s4
d25 1 1 c0t1d0s4

After patching since I have detached the mirroring :

Code:
d5               m   20GB d15
    d15          s   20GB c0t0d0s4

:-here, check df -h ...so,all the data for /usr1 is in c0t0d0s4 despite the server is booted with c0t1d0 disk

Reemeber server is booted with c0t1d0..


Moreover the slice c0t0d0s4 will be having the broke apps configs too...
# 10  
Old 11-21-2011
It doesn't matter which slice the server is booted with. Just explain which one currently holds the data that you want to keep: c0t0d0s4(d5) or c0t1d0s4?
# 11  
Old 11-21-2011
I am sorry if I am being too annoying, but can you please tell here which disk will have all the data [of course I am taking into consideration /usr1 i.e.slice 4 of boththe disk only]from the day that I have patched if :

df -h has following entry :

Code:
/dev/md/dsk/d5          5G   3G    2G    70%    /usr1

and
metastat -p has

Code:
d5               m   20GB d15
    d15          s   20GB c0t0d0s4

# 12  
Old 11-21-2011
So let me get this straight. You detached mirrors and patched the server 40 days ago. For 40 days the server was running with patched version of the operation system, correct? Then today you found out that the applications are not really working properly with the patched system (after using it for 40 days) correct? So you booted second disk today, which contains the system as it was 40 days ago, right?
# 13  
Old 11-21-2011
You understood the scenario but not the time line....

The server was patched 40 days back and at the same timeI found out that my apps are not working and I booted with secondary disk the same day [40 days back]..

my d5 md device is currently a one-way mirror which has slice of the patched disk [c0t0d0]....

d5 is mounted on /usr1 [which should have been /dev/dsk/c0t1d0s4 mounted on /usr1, but I missed to update the vfstab file before booting into c0t1d0]..so for the past 40 days whatever changes that I have done will be ultimately written to c0t0d0s4 and not on c0t1d0s4 [as it is not a part of my mirror]...correct ?

Now I want to revert back my mirroring by making c0t1d0 [unpatched] as my primary disk and c0t0d0 [patched] as my mirrored disk.

Will that affect my data on /usr1 ?
# 14  
Old 11-21-2011
Quote:
Originally Posted by zigi_p5
so for the past 40 days whatever changes that I have done will be ultimately written to c0t0d0s4 and not on c0t1d0s4 [as it is not a part of my mirror]...correct ?
Yes. That is correct. If you have been using d5 (c0t0d0s4) as /usr1 during those 40 days, then all the changes are on that slice. To move that data to c0t1d0s4 you can safely use steps that I provided earlier (https://www.unix.com/302575411-post6.html).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

SVM ISSUE...

Dear All, I face some errors in SVM.Need help. Actually couple of days ago i got a call from one of the customer mentioning that one of the sub-mirror was in Need maintance state. So we replaced that disk. After Replacing the disk it comes back to "Okay" State. But the Error are... (3 Replies)
Discussion started by: sudhansu
3 Replies

2. Solaris

Fsck with SVM

Hello I want to ask that how to mount and run fsck in SVM disk.In my scenario if i have to disks c0t0d0 and c0t1d0 these two disks are in Mirroring (raid1) if i want to run fsck on the disks than below are the right steps? ok boot cdrom -s mount /dev/dsk/c0t0d0s0 /a cd /a fsck... (3 Replies)
Discussion started by: jhonnybravo
3 Replies

3. UNIX for Advanced & Expert Users

What is interlace value in SVM?

Hi All, I want to know what is the Interlace value in SVM and what is the need of this ? regards, prashant (1 Reply)
Discussion started by: prashant2507198
1 Replies

4. UNIX for Advanced & Expert Users

SVM

How to list out multiple Disk sets in SVM # metaset -s <disksetname> --- This will list out only one diskset but I need a list of disk sets configured for the node. Is there any command,please let me know ... Thanks in advance. (1 Reply)
Discussion started by: pramath
1 Replies

5. Solaris

Problem with SVM

HI, I added by error to a submirror some disks : metattach d53 c2t90d0s0 c2t90d1s0 ... instead of doing a stripe by disk (like that) : metattach d53 c2t90d0s0 metattach d53 c2t90d1s0 .. then, I did a growfs -M to expand FS and the size isn't correct. I tried to launch a... (1 Reply)
Discussion started by: phil.nakache
1 Replies

6. UNIX for Dummies Questions & Answers

SVM doubt

i have taken two separate disk A and B created 4 slices in each A b s4 s4 s5 s5 s6 s6 s7 s7 took slices s4 of A and slice s6 0f B ---created a meta device d0 took slices s4 of B and slice s6 0f A---created a meta device d1 created main mirror d2 using d0... (1 Reply)
Discussion started by: vivek_ng
1 Replies

7. Solaris

SVM question

I am trying to set up a new server. It has 8 HD's in it. I am using 2 for the system disk. IE set one up mirror to the other. I am using the other 6 as data disks. For those I want to concat 3 together, mirror to the other 3 (also concated together of course) and then make various soft... (7 Replies)
Discussion started by: NewSolarisAdmin
7 Replies

8. Solaris

SVM, mirroring

Really sorry for the long posting. But i would really want to clear all the doubts. I have 2 disk c0t0d0 & c0t1d0, i wanted to mirror c0t1d0 (mirror) to c0t0d0 (main). Creating state database replica: metadb -a -c3 -f c0t0d0s7 ... (3 Replies)
Discussion started by: beginningDBA
3 Replies

9. Solaris

Change the name in SVM

gurus, i have configured the LUN's in solaris 10.after labeled the disk,i have added the disk into one of the soft partition using metattach d0 c5t1000d10s6.actully before that i should confiure the powermt and than i should have add metattch d0 emcpowerc2.i forget to do that and increased... (0 Replies)
Discussion started by: rjay.com
0 Replies

10. Solaris

Removing Disk from SVM

Hi All, I have to remove the disk from SVM. Kindly guide me or suggest me some link where in I can steps to remove SVM from Solaris 10 .Also I have one metaset which require deletion. Thanks in anticipation! (10 Replies)
Discussion started by: kumarmani
10 Replies
Login or Register to Ask a Question