Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How do we get the (former) owner of a failed disk from 8.3 or higher?
2015-08-27
03:08 PM
2,133 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After upgrading some of our filers to 8.3, the scripts we use to monitor failed disks stopped working. Looking into this a bit further, I determined that the {'attributes-list'}{'storage-disk-info'}{'disk-name'} parameter format has been changed. In previous versions the api would return '<node-owner>:<disk_id>' but now only returns '<disk_id>'.
The problem with this is, that if the disk is failed, {'attributes-list'}{'storage-disk-info'}{'disk-ownership-info'} does not include any data for 'home-node-name' or 'owner-node-name'. As far as I can tell, there is no way to identify who is (was) the owning node of the failed disk.
Thanks in advance.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have a few options, if you are running a Linux system try disk show -v | egrep -v "xxxx|yyyy" (xxxx = controller A disk serial number, yyyy = contoller B disk serial number) or put the output from the disk show -v to a file and delete out the valid disk serial numbers, what is left you find what you need or just eye ball it.
