This command requires the enclosure to be in the managed state.
Manage the enclosure by using the management GUI or by running the chenclosure -managed yes command. Then, retry the original command.