2015-10-08 06:52 AM - edited 2015-10-08 07:03 AM
we have just added two new shelve's onto the filer, and I can see disks under node shell by using "disk show -n".
Next step, I wanted to add them in existing aggrs. However, I am not able to see them on Cluster shell.
What is the command to make then SPARE ones, I guess, by assigning the ownership, which is the first step I think I need to do before I add them in an aggr.
Also, what would be the command to show me the model of the shelf, ex, 4246 or 2246, what would be command to list all disks in a particular shelf.
Thanks for sharing!
2015-10-08 07:10 AM
You need to assign disks using "storage disk assign". You can see them in cluster shell with "storage disk show -container-type unassigned". In principle you should be able to use "disk assign" in node shell as well.
2015-10-08 07:15 AM
Thanks for your prompt response.
Do I need or Can I specify what node should some "unassigned" ones go to?
Should I do this Either on Cluster shell Or Node shell or both?
2015-10-08 07:20 AM
You must specify to which node they will be assigned. In 7-Mode default is the node where you run command, but in C-Mode cluster shell you can sit anywhere. You need to only run it once, and being on C-Mode you should do it from cluster shell if this is possible.
2015-10-08 07:26 AM - edited 2015-10-08 07:33 AM
We have added two new shelf, say shelf-1 and shelf-2.
I wanted to assing all disks in shelf-1 to node-1. What would be options in using "storage disk assign". Is following a right command?
storage disk assign -disk 3b.22 -node node-1 # 3b.22 is the path of the shelf-1 as the result of "disk show -v" in node shell
Also, any command to show me the model of the shelf? another way to identify the shelf / disks.
2015-10-08 08:03 AM
In 8.3 I would expect something like 1.22 (<stack>.<shelf>). In any case, this is of course not correct. Did you read documentation? Assuming your system is actually using node names for whatever reason, this would be node1:3b.22.* for all disks in shelf 22. Or you can simply run storage disk assign -all if all disks should be assigned to the same node.
You can see shelf information using - surprise - "storage shelf show" command.