func stopRaidDevice()

in pkg/raid/raid.go [201:206]


func stopRaidDevice(device string) error {
	if output, err := runMdadm("--stop", device); err != nil {
		return fmt.Errorf("Could not stop %s (%v): %s", device, err, output)
	}
	return nil
}