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


Thread Tools Search this Thread Display Modes
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: 24 May 2018, 12:55 AM EDT
Posts: 1,177
Thanks: 32
Thanked 356 Times in 307 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

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

Check the current configuration of virtual machine :

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.

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
Sponsored Links

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 06:42 AM
Problem migrating disk attached to the same vg (lvm) Begnux SuSE 0 09-19-2013 04:05 AM
Swap space related issues, how to recognise the newly attached disk vamshigvk475 Solaris 2 01-03-2013 11:56 PM
Physically identify hard disk. sparcman Solaris 3 03-02-2010 07:54 AM
identify free disk spaces tads98 UNIX for Dummies Questions & Answers 3 03-01-2007 12:37 PM

All times are GMT -4. The time now is 02:20 AM.