Lines Matching refs:volume
45 MPT_TABLE(top, volume);
75 warnx("name: volume and name required");
93 warnc(error, "Invalid volume: %s", av[1]);
100 warn("Failed to fetch volume names");
108 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n",
116 warn("Failed to set volume name");
138 warnx("volume status: %s", ac > 2 ? "extra arguments" :
139 "volume required");
152 warnc(error, "Invalid volume: %s", av[1]);
160 warnc(error, "Fetching volume status failed");
192 MPT_COMMAND(volume, status, volume_status);
197 CONFIG_PAGE_RAID_VOL_0 *volume;
204 warnx("volume cache: %s", ac > 3 ? "extra arguments" :
213 warnx("volume cache: invalid flag, must be 'enable' or 'disable'\n");
226 warnc(error, "Invalid volume: %s", av[1]);
230 volume = mpt_vol_info(fd, VolumeBus, VolumeID, NULL);
231 if (volume == NULL)
234 Settings = volume->VolumeSettings.Settings;
243 warnx("volume cache unchanged");
248 volume->VolumeSettings.Settings = NewSettings;
250 VolumeBus, VolumeID, 0, *(U32 *)&volume->VolumeSettings, NULL, 0,
253 warnc(error, "volume cache change failed");
258 MPT_COMMAND(volume, cache, volume_cache);