Wednesday, November 14, 2012

Changing the Disk Ownership from one Netapp filer to another filer


Procedure to change the ownership of disk between the two controllers.

Below command will show you all the disks in filer and which controller is owned these disks

FBTFAS2040A> disk show
DISK OWNER
———— ————-
0c.00.4 FBTFAS2040A
0c.00.9 FBTFAS2040B
0c.00.2 FBTFAS2040A
0c.00.3 FBTFAS2040B
0c.00.11 FBTFAS2040A
0c.00.1 FBTFAS2040B
0c.00.12 FBTFAS2040A
0c.00.6 FBTFAS2040A
0c.00.19 FBTFAS2040B
0c.00.20 FBTFAS2040B

In this picture you can see 0c.00.19 disk is currently assigned to FAS2040B ( controller2). I want to move this disk in to FAS2040A (Controller1)

FBTFAS2040B> disk assign 0c.00.19 -s unowned -f

This will remove disk ownership from controller2

FBTFAS2040A> disk show
DISK OWNER
———— ————-
0c.00.4 FBTFAS2040A
0c.00.9 FBTFAS2040B
0c.00.2 FBTFAS2040A
0c.00.3 FBTFAS2040B
0c.00.11 FBTFAS2040A
0c.00.1 FBTFAS2040B
0c.00.12 FBTFAS2040A
0c.00.6 FBTFAS2040A
0c.00.20 FBTFAS2040B


NOTE: Currently 1 disks are unowned. Use ‘disk show -n’ for additional information.
Here we can see that disk 16 is not there in list and it is un owned.

FBTFAS2040A> disk show -n
DISK OWNER POOL SERIAL NUMBER
———— ————- —– ————-
0c.00.19 Not Owned NONE 3SL0N4JZ00009044DC1R

Now i am going to assign this disk in to controller1 ( FBTFAS2040A)

FBTFAS2040A> disk assign 0c.00.19 -o FBTFAS2040A

Sun Jul 31 18:28:26 AST [FBTFAS2040A: diskown.changingOwner:info]: changing ownership for disk 0c.00.16 from unowned (ID -1) to FBTFAS2040A.

Now we can see this 0c.00.19 disk is in FBTFAS2040A (Controller1) and it will be the spare disk in controller1

FBTFAS2040A> disk show
DISK OWNER
———— ————-
0c.00.4 FBTFAS2040A
0c.00.19 FBTFAS2040A
0c.00.9 FBTFAS2040B
0c.00.2 FBTFAS2040A
0c.00.3 FBTFAS2040B
0c.00.11 FBTFAS2040A
0c.00.1 FBTFAS2040B
0c.00.12 FBTFAS2040A
0c.00.6 FBTFAS2040A

No comments:

Post a Comment