Thursday, January 20, 2011

Virtual Provisioning with Solutions Enabler

Virtual Provisioning with Solutions Enabler

source: http://www.emcstorageinfo.com


Configuring and viewing data devices and pools:

Data Devices are devices with datadev attribute. Only Data Devices can be part of Thin Pool. Devices with different protection scheme can be supported for use in Thin Pools. It is depending on specific Enginuity level. All devices with the datadev attribute are used for exclusively for populating Thin Pools.

Create command file (Thin.txt) with following syntax:

create dev count=10, config=2-Way-Mir, attribute=datadev, emulation=FBA, size=4602;

# symconfigure -sid 44 -file thin.txt commit –v –nop

A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000190101244
{
create dev count=10, size=4602, emulation=FBA,
config=2-Way Mir, mvs_ssid=0000, attribute=datadev;
}
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Submitting configuration changes..........................Submitted
…..
…..
…..
Step 125 of 173 steps.....................................Executing.
Step 130 of 173 steps.....................................Executing.
Local: COMMIT............................................Done.
Terminating the configuration change session..............Done.

The configuration change session has successfully completed.

# symdev list -sid 44 -datadev

Symmetrix ID: 000190101244
Device Name Directors Device
--------------------------- ------------- -------------------------------------
Sym Physical SA :P DA :IT Config Attribute Sts Cap(MB)
--------------------------- ------------- -------------------------------------
10C4 Not Visible ???:? 01A:C4 2-Way Mir N/A (DT) RW 4314
10C5 Not Visible ???:? 16C:D4 2-Way Mir N/A (DT) RW 4314
10C6 Not Visible ???:? 15B:D4 2-Way Mir N/A (DT) RW 4314
10C7 Not Visible ???:? 02D:C4 2-Way Mir N/A (DT) RW 4314
10C8 Not Visible ???:? 16A:D4 2-Way Mir N/A (DT) RW 4314
10C9 Not Visible ???:? 01C:C4 2-Way Mir N/A (DT) RW 4314
10CA Not Visible ???:? 16B:C4 2-Way Mir N/A (DT) RW 4314


Thin Pool can be created using symconfigure command and without adding data devices:

# symconfigure -sid 44 -cmd "create pool Storage type=thin;" commit –nop

Once pool is created, data devices can be added to the pool and enabled

Thursday, January 13, 2011

List all the external locks held in the box & how to release

List all the external locks held in the box & how to release:

# symcfg -sid 15 list -lockn all
Symmetrix ID: 000192601234
S Y M M E T R I X L O C K S
Lock Lock Lock Time SymmID Attachment Status Number Usage Held (Sec)
000192601234 Local Locked 15 Config Change 9311

To Release the lock 15 held on array 1234 .

symcfg -sid 1234 -lockn 15 release -force

Thursday, December 30, 2010

How to revert setting device attributes

The syntax is

set device SymDevName[:SymDevName]
[emulation=EmulationType]
[attribute=[NO] device_attr];

i.e
set dev 0D44 attribute= NO SCSI3_PERSIST_RESERV;

Wednesday, December 15, 2010

Netapp Snapshot: quick guide

Netapp Snapshot: quick guide

Netapp Snapshot technology helps in creating point-in-time copies of file systems, which you can use to protect data—from a single file to a complete disaster recovery solution. You can create a Snapshot copies in less than a second, regardless of volume size or level of activity on your NetApp system. Currently there is a limit of 255 snapshots per volume. Read more at Netapp Tech library.

Here is a quick overview of the netapp snapshot management commands.

To list a snapshots on a netapp storage volume

filer2> snap list vol79
Volume vol79
working...

%/used %/total date name
---------- ---------- ------------ --------
0% ( 0%) 0% ( 0%) Nov 12 22:00 hourly.0
0% ( 0%) 0% ( 0%) Nov 12 21:00 hourly.1
0% ( 0%) 0% ( 0%) Nov 12 00:00 nightly.0
0% ( 0%) 0% ( 0%) Nov 11 00:00 nightly.1
0% ( 0%) 0% ( 0%) Nov 10 00:00 weekly.0
0% ( 0%) 0% ( 0%) Nov 09 00:00 nightly.2
0% ( 0%) 0% ( 0%) Nov 08 00:00 nightly.3
0% ( 0%) 0% ( 0%) Nov 07 00:00 nightly.4
0% ( 0%) 0% ( 0%) Nov 03 00:00 weekly.1
filer2>


To create a manual snapshot

filer2> snap create vol79 test123

filer2> snap list vol79
Volume vol79
working...

%/used %/total date name
---------- ---------- ------------ --------
0% ( 0%) 0% ( 0%) Nov 12 22:09 test123
0% ( 0%) 0% ( 0%) Nov 12 22:00 hourly.0
0% ( 0%) 0% ( 0%) Nov 12 21:00 hourly.1
0% ( 0%) 0% ( 0%) Nov 12 00:00 nightly.0
0% ( 0%) 0% ( 0%) Nov 11 00:00 nightly.1
0% ( 0%) 0% ( 0%) Nov 10 00:00 weekly.0
0% ( 0%) 0% ( 0%) Nov 09 00:00 nightly.2
0% ( 0%) 0% ( 0%) Nov 08 00:00 nightly.3
0% ( 0%) 0% ( 0%) Nov 07 00:00 nightly.4
0% ( 0%) 0% ( 0%) Nov 03 00:00 weekly.1
filer2>


Print the snapshot schedules for a volume (hourly, nightly, weekly snapshot)

filer2> snap sched vol79
Volume vol79: 2 5 2
filer2>

Change snapshot schedules

filer2> snap sched vol79 2 4 3
filer2> snap sched vol79
Volume vol79: 2 4 3
filer2>

Show snapshot reserve space ( the space allotted to store snapshot in volume )

filer2> snap reserve vol79
Volume vol79: current snapshot reserve is 0% or 0 k-bytes.
filer2> df -h vol79
Filesystem total used avail capacity Mounted on
/vol/vol79/ 300GB 229GB 70GB 77% /vol/vol79/
/vol/vol79/.snapshot 0MB 65MB 0MB ---% /vol/vol79/.snapshot

Change snaphot reserve space

filer2> snap reserve vol79 5
filer2> df -h vol79
Filesystem total used avail capacity Mounted on
/vol/vol79/ 285GB 229GB 55GB 81% /vol/vol79/
/vol/vol79/.snapshot 15GB 66MB 14GB 0% /vol/vol79/.snapshot
filer2>

To delete a snapshot

filer2> snap delete vol79 test123
filer2>

Saturday, November 13, 2010

How to verify FA port connections

root /opt/emc/SYMCLI/V6.5.2/bin: symcfg -fa all list -port -sid 67

Symmetrix ID: 000290xxxxx67

S Y M M E T R I X D I R E C T O R P O R T S


Director Port Status Connection Status
Ident Type Status P0 P1 P2 P3 P0 P1 P2 P3

FA-3A FibreChannel Online ON ON N/A N/A X X - -
FA-4A FibreChannel Online ON ON N/A N/A X X - -
FA-7A FibreChannel Online ON ON N/A N/A X X - -
FA-8A FibreChannel Online ON ON N/A N/A - X - -
FA-9A FibreChannel Online ON ON N/A N/A X X - -
FA-10A FibreChannel Online ON ON N/A N/A X X - -
FA-13A FibreChannel Online ON ON N/A N/A X X - -
FA-14A FibreChannel Online ON ON N/A N/A X X - -
FA-3B FibreChannel Online ON ON N/A N/A X - - -
FA-4B FibreChannel Online ON ON N/A N/A X - - -
FA-7B FibreChannel Online ON ON N/A N/A X - - -
FA-8B FibreChannel Online ON ON N/A N/A X - - -
FA-9B FibreChannel Online ON ON N/A N/A X - - -
FA-10B FibreChannel Online ON ON N/A N/A X - - -
FA-13B FibreChannel Online ON ON N/A N/A X - - -
FA-14B FibreChannel Online ON ON N/A N/A X - - -
FA-3C FibreChannel Online ON ON N/A N/A X - - -
FA-4C FibreChannel Online ON ON N/A N/A X - - -
FA-7C FibreChannel Online ON ON N/A N/A X - - -
FA-8C FibreChannel Online ON ON N/A N/A X - - -
FA-9C FibreChannel Online ON ON N/A N/A X - - -
FA-10C FibreChannel Online ON ON N/A N/A X - - -
FA-13C FibreChannel Online ON ON N/A N/A X - - -
FA-14C FibreChannel Online ON ON N/A N/A X - - -
FA-3D FibreChannel Online ON ON N/A N/A - - - -
FA-4D FibreChannel Online ON ON N/A N/A - - - -
FA-7D FibreChannel Online ON ON N/A N/A - - - -
FA-8D FibreChannel Online ON ON N/A N/A - - - -
FA-9D FibreChannel Online ON ON N/A N/A - - - -
FA-10D FibreChannel Online ON ON N/A N/A - - - -
FA-13D FibreChannel Online ON ON N/A N/A - - - -
FA-14D FibreChannel Online ON ON N/A N/A - - - -

Legend for Connection Status:

(X) : Fibre Port is Connected to a Fibre Port (HBA, Switch or RF Director)
(-) : Fibre Port is Not Connected.

Thursday, September 23, 2010

How to check any failing disk on symm box

# ./symdisk -sid 94 -failed list

Symmetrix ID : 000190104xx4

No devices were found

Symmetrix ID : 000190104xx4
Timestamp of Status Data : 09/23/2010 18:48:

How to check any failing disk on symm box

# ./symdisk -sid 94 -failed list

Symmetrix ID : 000190104xx4

No devices were found

Symmetrix ID : 000190104xx4
Timestamp of Status Data : 09/23/2010 18:48: