Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to identify if disk is attached to SAN and assist in migration.?

Solaris


Reply    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 08-29-2017   -   Original Discussion by kpatel786
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 10 December 2017, 12:02 AM EST
Posts: 1,098
Thanks: 31
Thanked 330 Times in 285 Posts
Identify the new luns attached to hypervisor (echo | format ).
Label the new luns and partition them per your choosing or requirements via format command.

First, you assign new luns to hypervisors virtual disk service (vds).
In your case that is primary-vds0

Code:
ldm add-vdsdev /dev/rdsk/.... <name>@primary-vds0

Check the current configuration of virtual machine :

Code:
ldm list -l <name of virtual machine, returned from ldm list, not primary>

Then, add the disk to virtual machine (ldom), where id is optional, it will choose next number available if not specified.

Code:
ldm add-vdisk [id=N] <name> <name>@primary-vds0 <name of virtual machine>

After that, login to that virtual machine via telnet from hypervisor or network, check dmesg for devices created at the time, and format output.
If you specified the ID of of new disk(s), those will be (probably) c1d<ID>s2 in the LDOM or the next available number.
Either c1, c2.. depending on the devices present during initial install.

Work is now being done inside the virtual machine, you must determine which volume manager is used (vx, zfs, ufs ?).
continue by documentation regarding that subject taking into consideration that this is a clustered environment.
Probably the disks will need to be added to other members of the cluster.

This is not a trivial task, so test it first in some test environment, if you are unsure of the outcome.

Hope that helps
Regards
Peasant.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Identify Hard Disk interface nash83 Hardware 1 09-07-2014 07:42 AM
Problem migrating disk attached to the same vg (lvm) Begnux SuSE 0 09-19-2013 05:05 AM
Swap space related issues, how to recognise the newly attached disk vamshigvk475 Solaris 2 01-04-2013 12:56 AM
Physically identify hard disk. sparcman Solaris 3 03-02-2010 08:54 AM
identify free disk spaces tads98 UNIX for Dummies Questions & Answers 3 03-01-2007 01:37 PM



All times are GMT -4. The time now is 11:04 AM.