diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index 26877be7..33cc0bb2 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -1394,8 +1394,12 @@ static int create_diskmap(sigar_t *sigar) while ((ptr = fgets(buffer, sizeof(buffer), fp))) { FILE *lfp; char cmd[256], disk[56]; - char *s = strchr(ptr, ' '); - if (s) { + char *s; + + if (strstr(ptr, " None")) { + continue; /* no volume group */ + } + if ((s = strchr(ptr, ' '))) { *s = '\0'; } strcpy(disk, ptr);