Replacement of metadevice with soft partitions


 
Thread Tools Search this Thread
Operating Systems Solaris Replacement of metadevice with soft partitions
# 1  
Old 04-08-2011
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:
Code:
d103             p  1.0GB d100
d102             p  2.0GB d100
d101             p  1.0GB d100
    d100         s  5.0GB /dev/dsk/c4t60060160B5301900823008A7AA61E011d0s0

I need to replace underlying device c4t60060160B5301900823008A7AA61E011d0s0 by c4t60060160B5301900823008A7AA61E011d0s0.
If I tried
Code:
root@xxx:/ [global] # metareplace -e d100 c4t60060160B5301900326EA70B0061E011d0s0
metareplace: xxx: d100: unknown metadevice type

Next My idea was to create mirror built from soft partitions, but this is not possible, because they are placed on metadevice and not directly on slice, so I cant encapsulate them into next metadevice for mirroring.
Do have somebody any idea, how to deal with this??


THX

Stan
# 2  
Old 04-12-2011
No, but I am not a fan of chopping up disks, so I would go for a sym-link to a dir, and usage monitoring.
# 3  
Old 04-13-2011
"metareplace -e" needs the metadevice to be of type mirror or raid. Since d100 is only a concat/stripe you are out of luck.

If you replace a device with no redundancy, you loose (or have already lost) all data on it. So just clear the metadevices d101, d102, d103 and d100 and then recreate them on the replacement disk. Hope, you have a current backup of your data!
# 4  
Old 04-15-2011
Quote:
Originally Posted by hergp
"metareplace -e" needs the metadevice to be of type mirror or raid. Since d100 is only a concat/stripe you are out of luck.

If you replace a device with no redundancy, you loose (or have already lost) all data on it. So just clear the metadevices d101, d102, d103 and d100 and then recreate them on the replacement disk. Hope, you have a current backup of your data!
This is just for migration purposes, unfortunately what I have to do is time-wasting copy of data from old storage to the new.
Thanks for your effort.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. Solaris

Metadevice Too Small To Attach

Hi All, I am having trouble with my metadevices and I hope someone can help. when i try to attach my submirror i get the following error: root@xxxx>metattach d31 d21 metattach: tbair1: d21: submirror too small to attach root@xxxx> However, There is a submirror on the other disk which is... (3 Replies)
Discussion started by: A-Train
3 Replies

3. 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

4. Solaris

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... (6 Replies)
Discussion started by: unahb1
6 Replies

5. Solaris

metadevice submirrors 0 and 1 not consistent

At a new job, I've inherited a handful of Solaris 10 SunFire V240 servers. I noticed that the metadevices are not consistent, in a way that I've not seen before.... internal mirrored disks: metadevice d60 has c1t0d0s6 as submirror 0 (d61) and c1t1d0s6 as submirror 1 (d62) metadevice... (1 Reply)
Discussion started by: Max Power
1 Replies

6. Solaris

metadevice problem

hi all i am very new to solaris...i am trying configure raid 0 in my ultrascsi box which is having 6 sun36GB hard disks. I have created 4 state database replicas in the following slices /dev/dsk/c1t1d0s7 /dev/dsk/c1t2d0s7 /dev/dsk/c1t3d0s7 and /dev/dsk/c1t4d0s7. i could not use any other... (7 Replies)
Discussion started by: kingston
7 Replies

7. Solaris

Unable to mount Metadevice

Hi, I am running Solaris 8 on a V880 which has recently crashed. It has got a fibre connection to a StorageTrek array containing my database info. Since the crash I have been unable to mount the 2 metadevices which correspond to /spool & /apps - these FS's contain my db info and theredore I... (20 Replies)
Discussion started by: Duffs
20 Replies

8. Shell Programming and Scripting

Negate alerting for particular metadevice.

Hi All... I have a script that checks for any problems(particularly looks for 'Needs Maintenance') with metadevices and alerts accordingly. This was not configured to alert for a particular metadevice. Now i want to negate alerting for a particular metadevice(say d40). Is this possible? I am... (6 Replies)
Discussion started by: reddybs
6 Replies

9. Solaris

increase metadevice size

Hi, I am having two metadevices d50 and d100 which are used to created soft partitions as and when required. d50 and d100 are metadevices formed on different disks. d50 -- disks 0 & 1 d100 -- disks 2 & 3 I have a soft partition d70 os 50 GB on d50. Now there is no free space on d50. ... (1 Reply)
Discussion started by: sag71155
1 Replies
Login or Register to Ask a Question