Wednesday, 14 September 2016

how can I change disk ownership from one controller to another



SUBSCRIBE

DUANESTRYDER

how can I change disk ownership from one controller to another


Hello,
We have an HA pair of 3170s, and right now there is an inbalance with the owned spare disks. How can I unassign from one filer and then assign to another?
Thanks,
md

RICEGAMER

Re: how can I change disk ownership from one controller to another

======================
WARNING!!!   Reassigning disks that have data on them can cause data loss.  Make sure you're not reassigning the wrong disks.
======================
From the top of my head there are 2 types of disk ownership: hardware and software disk ownership.  If there's software ownership you can run the command listed in the link below to reassign disks.
Essentially you can use the disk command to reassign disk ownership.  This might require you to run the priv set advanced command to get access to this command.  Below are a few syntaxes you can use.
disk show -v    this command shows all disks on both controller heads and the current owner
disk show -n   this command would show all unassigned disks (wouldn't apply to you at this time)
disk assign -s unowned DISK_NAME    you'd need to run this command from the command line of the filer you'd like to remove ownership from first.
To put it simply you can first go to the command line of the filer that has the disks you'd want to remove.  Run thesysconfig -r command to show all disks for the system you're on.  Identify the disk name;   examples would be like 0a.71   or    0b.14.3
Then run the disk assign -s unowned 0b.14.3 command for the disk you've identified.   Confirm the disk has been unowned by running the disk show -n command which should then show the disk as a spare.
Once that's done; login to the filer you'd like to assign the disk to and run the disk assign DISK_NAME  for the disk you'd like to assign.   Example:  disk assign 0b.14.3
You can then verify if the disk has been assigned to the filer you're logged into by running the sysconfig -r command (it should show up in the spare section)
Details can be found in the Technical Report below
======================
WARNING!!!   Reassigning disks that have data on them can cause data loss.  Make sure you're not reassigning the wrong disks.
======================

show status of disk ownership ?




show status of disk ownership ?

by   on ‎2009-11-23 10:53 PM - edited on ‎2014-09-26 12:52 PM by  Community Manager 
We plan to use backend-multipathing on an 3020 local cluster. the cluster is active since more than a year.
Before we do that, we want to be sure, that software-ownership is on.
I look for a command to show this ?
Have anybody an idee ?

Thanks !

Regards
Peter


You can run this command with the following options

disk show [ -o <ownername> | -s <sysid> | -n | -v | -a]
    
Used to display information about the ownership  of the  disks.   Available  only on systems with software-based disk  ownership.
-o  lists  all  disks owned  by  the filer with the name <ownername>.

-s lists all disks owned by the filer with the  serialnumber <sysid>.

-n lists all unassigned disks.

-v lists all disks.

-a lists all assigned disks.

Regards,
Kvinay

COMMENTS

scottgelb
 
run the command "disk show -v" ... if it doesn't work then you don't have software disk ownership.  If it does work you will see output with the disk ownership.

kvinay
kvinay Former NetApp Employee 
You can run this command with the following options
disk show [ -o <ownername> | -s <sysid> | -n | -v | -a]
     
Used to display information about the ownership  of the  disks.   Available  only on systems with software-based disk  ownership. 
-o  lists  all  disks owned  by  the filer with the name <ownername>.
-s lists all disks owned by the filer with the  serialnumber <sysid>.
-n lists all unassigned disks.
-v lists all disks.
-a lists all assigned disks.

VARUNCHAUHAN
 
Hi ,
The FAS 3000 series can use either hardware based or software based ownership. To determine run the storage show command , at the end of the output look
for SANOWN disabled that means system is using h\w based ownership otherwise sytem is using software based ownership.
To convert from h\w to s\w .. boot into maintenance mode & run disk upgrade_ownership
Run disk show , disk assign command to manage disks.

bstaggs
 Member 
what if the disk commands are not working at all? How can I reload the binary file to the correct location to enable the disk show -n or other commands?

WARNING!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary.All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.
In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:
  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner
Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.