ONTAP Hardware

how to reassign disks

CCOLEMAN_
119,066 Views

Hello,

 

I have added a DS4243 with 24 1TB drives to my FAS2040.

 

It looks like the disks on my new shelf have already been assigned before. Anytime I try to do a disk_removeownership or disk_unassign it says this can only be done in maintenance mode?

 

How can I unassign and reassign the disks with out taking the filer down? (I only have one controller)

 

Thanks!

1 ACCEPTED SOLUTION

RodrigoNascimento
119,001 Views

Hello,

Try this:

Identify the actual sysid owner:

> disk show

Remove the ownership using disk assign:

> disk assign <disk_id> -o unowned -s <sysid>

Regards,

Nascimento

NetApp - Enjoy it!

View solution in original post

27 REPLIES 27

mlroberts99
9,026 Views

It looks as though you have no spare disks in raid group 0, would you be able to copy the output of 'sysconfig -r'?

rmontavonsa
9,017 Views

Of course, you can find the result of the command here:

Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active, pool0)
    RAID group /aggr0/plex0/rg0 (normal)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                                               )    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- -------------                                                                                                                               -    --------------
      dparity   0c.00.1         0c    0   1   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      parity    0c.00.3         0c    0   3   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.5         0c    0   5   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.0         0c    0   0   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.7         0c    0   7   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.8         0c    0   8   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.10        0c    0   10  SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.6         0c    0   6   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0c.00.4         0c    0   4   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
      data      0d.01.9         0d    1   9   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  274845/562884296


Pool1 spare disks

RAID Disk       Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                                               )    Phys (MB/blks)
---------       ------          ------------- ---- ---- ---- ----- -------------                                                                                                                               -    --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare           0d.01.18        0d    1   18  SA:A   1  SAS  15000 272000/557056                                                                                                                               000  274845/562884296
spare           0d.01.5         0d    1   5   SA:A   1  SAS  15000 272000/557056                                                                                                                               000  280104/573653840

Pool0 spare disks

RAID Disk       Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                                               )    Phys (MB/blks)
---------       ------          ------------- ---- ---- ---- ----- -------------                                                                                                                               -    --------------
Spare disks for block or zoned checksum traditional volumes or aggregates
spare           0c.00.9         0c    0   9   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
spare           0c.00.11        0c    0   11  SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840

Partner disks

RAID Disk       Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                                               )    Phys (MB/blks)
---------       ------          ------------- ---- ---- ---- ----- -------------                                                                                                                               -    --------------
partner         0d.01.6         0d    1   6   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0c.00.2         0c    0   2   SA:A   0  SAS  15000 272000/557056                                                                                                                               000  280104/573653840
partner         0d.01.21        0d    1   21  SA:A   0  SAS  15000 272000/557056                                                                                                                               000  274845/562884296
partner         0d.01.19        0d    1   19  SA:A   0  SAS  15000 0/0                                                                                                                                              274845/562884296
partner         0d.01.0         0d    1   0   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.10        0d    1   10  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.20        0d    1   20  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.4         0d    1   4   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.13        0d    1   13  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.17        0d    1   17  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.12        0d    1   12  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.8         0d    1   8   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.3         0d    1   3   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.11        0d    1   11  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.2         0d    1   2   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.7         0d    1   7   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.14        0d    1   14  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.1         0d    1   1   SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.22        0d    1   22  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.15        0d    1   15  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.16        0d    1   16  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840
partner         0d.01.23        0d    1   23  SA:A   0  SAS  15000 0/0                                                                                                                                              280104/573653840

 

mlroberts99
9,006 Views

That's great,

 

To me, it looks like the below disk should not be assigned to the partner node but the node you took the 'sysconfig -r' from.

 

partner         0c.00.2         0c    0   2   SA:A   0  SAS  15000 272000/557056

 

Try removing the ownership and assigning it again,

 

rmontavonsa
9,000 Views

Ok, thank you for your answer !!!

 

Im not sur if i have all understand. I don't know what's a partner disk.

 

With the command sysconfig -r, we can see the disk is used. if i remove the ownership of this disk. I don't loose data ?

 

Sorry if my question is stupid, but it's the first time i work on a netapp system.

 

And if i remove the ownership of this disk, do you know what's the command line for assigning it again this partner disk ?

mlroberts99
8,925 Views

A partner disk is a disk that is owned by the partner node in the HA pair. Im not too sure, it all depends on the the partner node, would you be able to run a 'sysconfig -r' on the other controller too?

 

 

rmontavonsa
8,914 Views

of course, here you have the result of the command sysconfig -r on the other controller

> sysconfig -r
Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active, pool0)
    RAID group /aggr0/plex0/rg0 (normal)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                             )    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- -------------                                                                                                             -    --------------
      dparity   0d.01.22        0d    1   22  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      parity    0d.01.1         0d    1   1   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.2         0d    1   2   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.3         0d    1   3   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.4         0d    1   4   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.6         0d    1   6   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.0         0d    1   0   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.7         0d    1   7   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.8         0d    1   8   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.21        0d    1   21  SA:B   0  SAS  15000 272000/557056                                                                                                             000  274845/562884296
      data      0d.01.20        0d    1   20  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.11        0d    1   11  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.12        0d    1   12  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.13        0d    1   13  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.14        0d    1   14  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.15        0d    1   15  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.16        0d    1   16  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.17        0d    1   17  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0c.00.2         0c    0   2   SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.10        0d    1   10  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.23        0d    1   23  SA:B   0  SAS  15000 272000/557056                                                                                                             000  280104/573653840
      data      0d.01.19        0d    1   19  SA:B   0  SAS  15000 272000/557056                                                                                                             000  274845/562884296


Pool1 spare disks (empty)

Pool0 spare disks (empty)

Partner disks

RAID Disk       Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks                                                                                                             )    Phys (MB/blks)
---------       ------          ------------- ---- ---- ---- ----- -------------                                                                                                             -    --------------
partner         0d.01.18        0d    1   18  SA:B   1  SAS  15000 272000/557056                                                                                                             000  274845/562884296
partner         0d.01.5         0d    1   5   SA:B   1  SAS  15000 272000/557056                                                                                                             000  280104/573653840
partner         0d.01.9         0d    1   9   SA:B   0  SAS  15000 272000/557056                                                                                                             000  274845/562884296
partner         0c.00.3         0c    0   3   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.4         0c    0   4   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.0         0c    0   0   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.7         0c    0   7   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.11        0c    0   11  SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.9         0c    0   9   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.6         0c    0   6   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.10        0c    0   10  SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.8         0c    0   8   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.1         0c    0   1   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840
partner         0c.00.5         0c    0   5   SA:B   0  SAS  15000 0/0                                                                                                                            280104/573653840

rmontavonsa
8,910 Views

Ok i have see the problem. We can see on the other controller pool0 and pool1 was empty. I have remove owner disk and reasign it from the other controller.

But i don't understand why i don't see the same pool0 and pool1 on the twoo controller. Now the status controller is "normal".

 

Public