Storage migration: zones and metasets


 
Thread Tools Search this Thread
Operating Systems Solaris Storage migration: zones and metasets
# 1  
Old 01-14-2013
Storage migration: zones and metasets

Hi all,

I'm in a situation which i need to understand the best way of doing a migration of storage involved in a zone.Elements involved are solaris 10 (Generic_144488-08), metasets. I need to provision more storage to the said non-global zone and not aware of the "best practices" from the Solaris side of it.
Having said more storage, these existing volumes from the storage end needs to change. Solaris will have new LUNs, yes i can have the existing allocation preserved and kept during the migration but has to go before releasing it to the owners. This can be treated as a storage migration.
Details of the zone and the metaset are as follows.

Code:
metastat -acp
d110             m   14GB d112 d111
    d112         s   14GB /dev/dsk/c4t20000011C6C7668Bd0s0
    d111         s   14GB /dev/dsk/c4t500000E011351110d0s0
d120             m   20GB d122 d121
    d122         s   20GB /dev/dsk/c4t20000011C6C7668Bd0s1
    d121         s   20GB /dev/dsk/c4t500000E011351110d0s1
d130             m   19GB d132 d131
    d132         s   19GB /dev/dsk/c4t20000011C6C7668Bd0s3
    d131         s   19GB /dev/dsk/c4t500000E011351110d0s3
d150             m   82GB d152 d151
    d152         s   82GB /dev/dsk/c4t20000011C6C7668Bd0s5
    d151         s   82GB /dev/dsk/c4t500000E011351110d0s5

zone1set/d225   p  7.0GB zone1set/d210
zone1set/d224   p  7.0GB zone1set/d210
zone1set/d223   p   30GB zone1set/d210
zone1set/d219   p  100GB zone1set/d210
zone1set/d218   p   10GB zone1set/d210
zone1set/d217   p  145GB zone1set/d210
zone1set/d216   p  193GB zone1set/d210
zone1set/d215   p   10GB zone1set/d210
zone1set/d214   p   30GB zone1set/d210
zone1set/d213   p   10GB zone1set/d210
    zone1set/d210 m  599GB zone1set/d211
        zone1set/d211 s  599GB /dev/dsk/c4t60B99000486E64366134576352666A79d0s0 /dev/dsk/c4t60B99000646654724C4A6A6863464954d0s0
zone1set/d200   m   49GB zone1set/d201
    zone1set/d201 s   49GB /dev/dsk/c4t60B99000486E64366134576352675A66d0s0

=================================== ZONE CONFIG ==========================================
 zonepath: /export/zones/zone1set
brand: native
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
fs:
        dir: /db2
        special: /dev/md/zone1set/dsk/d213
        raw: /dev/md/zone1set/rdsk/d213
        type: ufs
        options: []
fs:
        dir: /db2/CDN/log_archive
        special: /dev/md/zone1set/dsk/d214
        raw: /dev/md/zone1set/rdsk/d214
        type: ufs
        options: []
fs:
        dir: /db2/CDN/log_dir
        special: /dev/md/zone1set/dsk/d215
        raw: /dev/md/zone1set/rdsk/d215
        type: ufs
        options: []
fs:
        dir: /db2/CDN/sapdata1
        special: /dev/md/zone1set/dsk/d216
        raw: /dev/md/zone1set/rdsk/d216
        type: ufs
        options: []
fs:
        dir: /db2/CDN/sapdata2
        special: /dev/md/zone1set/dsk/d217
        raw: /dev/md/zone1set/rdsk/d217
        type: ufs
        options: []
fs:
        dir: /db2/CDN/saptemp
        special: /dev/md/zone1set/dsk/d218
        raw: /dev/md/zone1set/rdsk/d218
        type: ufs
        options: []
fs:
        dir: /db2backups
        special: /dev/md/zone1set/dsk/d219
        raw: /dev/md/zone1set/rdsk/d219
        type: ufs
        options: []
fs:
        dir: /interfaces
        special: /dev/md/zone1set/dsk/d223
        raw: /dev/md/zone1set/rdsk/d223
        type: ufs
        options: []
fs:
        dir: /sapmnt
        special: /dev/md/zone1set/dsk/d224
        raw: /dev/md/zone1set/rdsk/d224
        type: ufs
        options: []
fs:
        dir: /usr/sap
        special: /dev/md/zone1set/dsk/d225
        raw: /dev/md/zone1set/rdsk/d225
        type: ufs
        options: []
net:
        address: 10.4.88.211
        physical: ce0
        defrouter not specified

Pour in all your thoughts. Thanks for your time in advance.
Cheers
TIm from Mel

Last edited by Scott; 01-17-2013 at 01:28 AM.. Reason: Code tags, please...
# 2  
Old 01-16-2013
I'm not sure is this the best way, but I would use ufsdump and ufsrestore.
For example:
Code:
# ufsdump 0f - /dev/md/zone1set/dsk/d210 | ( cd /newlun_mountpoint; ufsrestore xvf -)

# 3  
Old 01-17-2013
Thanks for your reply. I was interested in migrating soft partitions to one-way mirrors in SVM. Has anyone got experience in something of that sort.
cheers

---------- Post updated at 09:25 AM ---------- Previous update was at 09:24 AM ----------

Quote:
Originally Posted by GP81
I'm not sure is this the best way, but I would use ufsdump and ufsrestore.
For example:
Code:
# ufsdump 0f - /dev/md/zone1set/dsk/d210 | ( cd /newlun_mountpoint; ufsrestore xvf -)

I have used :
Code:
find . -mount -depth -print| cpio -pdmu /new_fs

TA

Last edited by Scott; 01-22-2013 at 10:50 AM.. Reason: Code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

2. Hardware

Storage migration from VMAX to VNXHe

Hello, We are considering storage migration for RAC database servers(using ASM) from VMAX to VNX? Any good/bad pointers in this regards please. Best regards, Vishal (1 Reply)
Discussion started by: admin_db
1 Replies

3. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. Solaris

Storage Migration on Solaris server

Hi All, I need your help urgently. Below I have given the brief description of the Architecture and the Problem. The brief details of the architecture: We have 5 Containers(Non-Global Zones) running on one T5220 Box. The Global Zone is running Solaris 10. The Non-global Zones are... (6 Replies)
Discussion started by: kamaldeep1986
6 Replies

6. Solaris

Veritas Storage Question (Data Migration)

Using Solaris 10 with Veritas Storage Foundation running. I want to copy all contents from DISKA LUN1 to DISKB LUN2. What would be the command syntax to do this? (0 Replies)
Discussion started by: soupbone38
0 Replies
Login or Register to Ask a Question