Replace LUN with soft partitions

Thread Tools Search this Thread
Operating Systems Solaris Replace LUN with soft partitions
# 1  
Old 09-22-2011
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 [global] # metastat -c| egrep -i 900bec2d286
d504             p  159GB /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0
d503             p  8.0GB /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0
d502             p  8.0GB /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0

root@xxx:/etc/zones [global] # for i in d502 d503 d504
root@xxx > do
root@xxx > metastat -p $i
root@xxx > done
d502 -p /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0 -o 8193 -b 16777216 
d503 -p /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0 -o 16785410 -b 16777216 
d504 -p /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0 -o 33562627 -b 333447168

I need to replace /dev/dsk/c4t60060160B5301900BEC2D286D064DF11d0s0 by the new one without data loss.

Thanks for help

# 2  
Old 09-23-2011
If you have the option of adding a new lun first, then you can create identical soft partitions on the new lun and copy the complete data on to them, later you can clear the old soft partitions and remove the old lun.

If you don't have the above option, then you need to first take a backup of all the soft partitions [on to some other server etc.] and then you can replace the lun, create the sam soft partitions and copy the data back on them.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Soft link

can u help me out how change the hooked file below. VEUEMASTER.txt -> /sbvnj/kfls//VSUE_OBR_MAER.txt.201503230800 (4 Replies)
Discussion started by: ramkumar15
4 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

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

4. UNIX for Dummies Questions & Answers


Hi All, My colleague says . On some boxes we have /var/,/opt are inside root and on some they are not on root they are separately. So please any one explain me what actually the difference is. Thanks is Advance. (3 Replies)
Discussion started by: rama krishna
3 Replies

5. UNIX for Advanced & Expert Users


Hello masters, Actually, i am user of Ubuntu, but I want to use Debian too. I have a computer with a product key for w7 so i will use too, only for games... The structure I have thought is the next with 1TiB of capacity. Primary: 50 GB NTFS for W7 Extended: Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies

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

7. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

8. UNIX for Advanced & Expert Users


HI. i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance Meeh (2 Replies)
Discussion started by: souldier
2 Replies

9. UNIX for Dummies Questions & Answers

soft rebooting

When I do a hard reboot, the system recognizes both the ttya and the ttyb, but when I do a hard reboot, it only doesn't recognize the ttyb. Is there a way I can fix this??? Thanks!:confused: (5 Replies)
Discussion started by: nattie_h
5 Replies
Login or Register to Ask a Question