Lines Matching refs:disks
102 "[disks] | [volumes]",
340 * Shows info about physical disks.
426 * Shows info about volumes/disks.
444 if (strcmp(argv[0], "disks") == 0)
476 * Go to the disks section if that was specified.
479 goto disks;
482 * Common code to show only info about volumes and disks
506 disks:
508 * show info about all disks connected to the raid controller,
753 * by using a bit field for the disks.
768 * Find out how many disks are free and how much size we
789 errx(EXIT_FAILURE, "specified disks number is higher than "
790 "available free disks");
796 errx(EXIT_FAILURE, "No free disks available");
803 "is larger than available on free disks");
809 case 1: /* RAID 1 requires two disks and size is total / 2 */
811 errx(EXIT_FAILURE, "2 disks are required at least for "
814 /* RAID 1+0 requires three disks at least */
821 "is larger than available on free disks");
827 case 3: /* RAID 3/5 requires three disks and size is total - 1 disk */
830 errx(EXIT_FAILURE, "3 disks are required at least for "
836 "is larger than available on free disks");
842 case 6: /* RAID 6 requires four disks and size is total - 2 disks */
844 errx(EXIT_FAILURE, "4 disks are required at least for "
851 "is larger than available on free disks");