Showing posts with label netapp. Show all posts
Showing posts with label netapp. Show all posts

Monday, December 15, 2008

Issues mounting NDMP Backed Up Luns

A coworker of mine cracked the case on this one with a bit of help from NetApp, but I thought I'd share as it was a strange little issue.  First off, what is an NDMP backup?

NDMP stands for Network Data Management Protocol, and was actually pioneered by Network Appliance (NetApp) in association with Intelliguard.  The purpose was to backup various platforms and provide interoperability.  Fast forward back to our current predicament..  

The current predicament is that someone uses Veritas to backup and restore.  They want to be able to restore from this, and have it correctly mount such that a they can recover data in Exchange.  The problem is that the restored lun won't mount in Snapdrive or otherwise.  Initially NetApp merely told us that the lun had to be in the root of the share rather than in a folder.. no problem.  Veritas must restore to a folder, but we can move it after the fact to the root. 

We then try to mount the lun, but it doesn't work.  It instead tells us that it is already mounted. 







The trick that my compatriot discovered was that it requires you to change the name as well by doing the following via command line:

lun move /vol/Volume1/restore.lun /vol/Volume1/restorenew.lun

He was then able to mount the lun.  Go team.

Monday, September 15, 2008

NetApp / Storevault Command Dump

I noticed I had a list of some quick helpful commands for NetApp and Storevault filers.

How to Configure a Filer back to Factory
---------------------------------------------
1) Connect to the filers management port via a serial cable and log in
2) Command: priv set advanced
3) Command: halt -c factory
4) This will shut down filer and leave you at a command prompt.
5) Command: boot_ontap
6) Press ctrl-c for special boot menu when prompted during boot
7) Select option 4a to create a flexible root volume and zero all the owned disks on the filer


Quick Commands 
----------------------------------------
Filer Factory
-----------------
1) Connect to the filers management port via a serial cable and log in
2) Command: priv set advanced
3) Command: halt -c factory
4) This will shut down filer and leave you at a command prompt.
5) Command: boot_ontap
6) Press ctrl-c for special boot menu when prompted during boot
7) Select option 4a to create a flexible root volume and zero all the owned disks on the filer


STOREVAULT NETAPP COMMANDS 
=================================
Create Volume:
vol create DPMBackups aggr0 90g

Create a CIFS Share:
cifs shares -add DPMBackups$ /vol/DPMBackups

Resize the Volume:
vol size DPMBackups 44g

Create a LUN
lun create -s 34g -t windows /vol/DPMBackups/lun1

Create an ISCSI group:
igroup create -i -t windows DPM04 iqn.1991-05.com.microsoft:el-mbx-04.azaleos.net

Map the LUN to an igroup:
lun map /vol/DPMBackups/lun1 EX-MBX-01

Configure an Interface:
ifconfig -a  **To check
ifconfig e0b 192.168.1.209 netmask 255.255.255.0 broadcast 192.168.1.255 up

Resize a LUN:
lun resize /vol/Archive/archive.lun 1900g