diff --git a/HISTORY b/HISTORY index 0fada611..439e907a 100644 --- a/HISTORY +++ b/HISTORY @@ -46,6 +46,8 @@ SnapRAID HISTORY `-a` command line argument used to retrieve SMART attributes with a customized set of arguments, enabling better support for RAID controllers and USB enclosures. + * Added support for specifying case-insensitive SMART attribute names + (instead of only numeric IDs) in the `smartignore` configuration option. 14.10 2026/08 ============= diff --git a/cmdline/app.h b/cmdline/app.h index 39e319d4..c0e8cc25 100644 --- a/cmdline/app.h +++ b/cmdline/app.h @@ -274,6 +274,14 @@ extern int exit_sync_needed; */ #define SMART_MAX 128 +/** + * Smart ignore structure. + */ +struct smartignore_struct { + int attr_index; /**< 0 if not set */ + char attr_name[SMART_MAX]; /**< Empty if not set */ +}; + /** * Value for unassigned SMART attribute. */ @@ -315,7 +323,7 @@ struct devinfo_struct { char mount[PATH_MAX]; /**< Mount point or other contained directory. */ char smartctl[SMART_MAX]; /**< Custom option for smartctl. Empty means auto. */ char smartctl_info[SMART_MAX]; /* Info options for smartctl. Empty means -a. */ - int smartignore[SMART_IGNORE_MAX]; /**< Attribues to ignore */ + struct smartignore_struct smartignore[SMART_IGNORE_MAX]; /**< Attributes to ignore */ char file[PATH_MAX]; /**< File device. */ #ifdef _WIN32 char wfile[PATH_MAX]; /**< File device in Windows format. Like \\.\PhysicalDriveX, or \\?\Volume{X}. */ diff --git a/cmdline/device.c b/cmdline/device.c index 2e66088b..82487be1 100644 --- a/cmdline/device.c +++ b/cmdline/device.c @@ -533,14 +533,37 @@ static void state_info_log(devinfo_t* devinfo) log_tag("attr:%s:%s:rotationrate:%" PRIu64 "\n", devinfo->file, devinfo->name, devinfo->info[INFO_ROTATION_RATE]); } -static void state_smart_ignore(struct snapraid_state* state, devinfo_t* devinfo) +void state_smart_ignore(struct snapraid_state* state, devinfo_t* devinfo) { + int i, j; + /* clear attributes to ignore */ - for (int i = 0; i < SMART_IGNORE_MAX; ++i) { - if (state->smartignore[i] < 256) - devinfo->smart[state->smartignore[i]].raw = SMART_UNASSIGNED; - if (devinfo->smartignore[i] < 256) - devinfo->smart[devinfo->smartignore[i]].raw = SMART_UNASSIGNED; + for (i = 0; i < SMART_IGNORE_MAX; ++i) { + /* global ignore */ + if (state->smartignore[i].attr_index > 0 && state->smartignore[i].attr_index < 256) { + devinfo->smart[state->smartignore[i].attr_index].raw = SMART_UNASSIGNED; + } + if (state->smartignore[i].attr_name[0] != 0) { + for (j = 0; j < SMART_COUNT; ++j) { + if (devinfo->smart[j].name[0] != 0 + && strcasecmp(devinfo->smart[j].name, state->smartignore[i].attr_name) == 0) { + devinfo->smart[j].raw = SMART_UNASSIGNED; + } + } + } + + /* devinfo ignore */ + if (devinfo->smartignore[i].attr_index > 0 && devinfo->smartignore[i].attr_index < 256) { + devinfo->smart[devinfo->smartignore[i].attr_index].raw = SMART_UNASSIGNED; + } + if (devinfo->smartignore[i].attr_name[0] != 0) { + for (j = 0; j < SMART_COUNT; ++j) { + if (devinfo->smart[j].name[0] != 0 + && strcasecmp(devinfo->smart[j].name, devinfo->smartignore[i].attr_name) == 0) { + devinfo->smart[j].raw = SMART_UNASSIGNED; + } + } + } } } diff --git a/cmdline/elem.c b/cmdline/elem.c index 0255fdda..9e19471f 100644 --- a/cmdline/elem.c +++ b/cmdline/elem.c @@ -844,8 +844,10 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev disk->smartctl[0] = 0; disk->smartctl_info[0] = 0; - for (i = 0; i < SMART_IGNORE_MAX; ++i) - disk->smartignore[i] = 0; + for (i = 0; i < SMART_IGNORE_MAX; ++i) { + disk->smartignore[i].attr_index = 0; + disk->smartignore[i].attr_name[0] = 0; + } disk->fstype[0] = 0; disk->fslabel[0] = 0; disk->mount_device = dev; @@ -917,8 +919,10 @@ struct snapraid_extra* extra_alloc(const char* name, const char* dir, uint64_t d extra->smartctl[0] = 0; extra->smartctl_info[0] = 0; - for (i = 0; i < SMART_IGNORE_MAX; ++i) - extra->smartignore[i] = 0; + for (i = 0; i < SMART_IGNORE_MAX; ++i) { + extra->smartignore[i].attr_index = 0; + extra->smartignore[i].attr_name[0] = 0; + } extra->fstype[0] = 0; extra->fslabel[0] = 0; extra->device = dev; diff --git a/cmdline/elem.h b/cmdline/elem.h index 9bec6c80..979e9033 100644 --- a/cmdline/elem.h +++ b/cmdline/elem.h @@ -345,7 +345,7 @@ struct snapraid_extra { char dir[PATH_MAX]; /**< Mount point of the disk. It always terminates with /. */ char smartctl[SMART_MAX]; /**< Custom option for smartctl. Empty means auto. */ char smartctl_info[SMART_MAX]; /* Info options for smartctl. Empty means -a. */ - int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ + struct smartignore_struct smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ char uuid[UUID_MAX]; /**< UUID of the disk. They are probed during the config reading. */ char fstype[FSINFO_MAX]; /**< Filesystem type */ char fslabel[FSINFO_MAX]; /**< Filesystem label */ @@ -384,7 +384,7 @@ struct snapraid_disk { char smartctl[SMART_MAX]; /**< Custom option for smartctl. Empty means auto. */ char smartctl_info[SMART_MAX]; /* Info options for smartctl. Empty means -a. */ - int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ + struct smartignore_struct smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ char uuid[UUID_MAX]; /**< UUID of the disk. They are probed during the config reading. */ char fstype[FSINFO_MAX]; /**< Filesystem type */ char fslabel[FSINFO_MAX]; /**< Filesystem label */ @@ -538,7 +538,7 @@ struct snapraid_parity { unsigned split_mac; /**< Number of parity splits. */ char smartctl[SMART_MAX]; /**< Custom option for smartctl. Empty means auto. */ char smartctl_info[SMART_MAX]; /* Info options for smartctl. Empty means -a. */ - int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ + struct smartignore_struct smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for this device. */ block_off_t total_blocks; /**< Number of total blocks. */ block_off_t free_blocks; /**< Number of free blocks at the last sync. */ int is_excluded_by_filter; /**< If the parity is excluded by filters. */ diff --git a/cmdline/selftest.c b/cmdline/selftest.c index 8ab1a437..1481dce4 100644 --- a/cmdline/selftest.c +++ b/cmdline/selftest.c @@ -932,6 +932,69 @@ static void test_parse_smartctl(void) } } +static void test_smart_ignore(void) +{ + struct snapraid_state state; + devinfo_t devinfo; + int i; + + memset(&state, 0, sizeof(state)); + memset(&devinfo, 0, sizeof(devinfo)); + + /* Initialize devinfo attributes with mock data */ + for (i = 0; i < SMART_COUNT; ++i) { + devinfo.smart[i].raw = 100; + devinfo.smart[i].norm = 100; + snprintf(devinfo.smart[i].name, sizeof(devinfo.smart[i].name), "Attr_%d", i); + } + /* Special name for test */ + pathcpy(devinfo.smart[5].name, sizeof(devinfo.smart[5].name), "Reallocated_Sector_Ct"); + pathcpy(devinfo.smart[197].name, sizeof(devinfo.smart[197].name), "Current_Pending_Sector"); + + /* 1. Test numerical global ignore */ + state.smartignore[0].attr_index = 5; + state.smartignore[0].attr_name[0] = 0; + + /* 2. Test name global ignore (case-insensitive) */ + state.smartignore[1].attr_index = 0; + pathcpy(state.smartignore[1].attr_name, sizeof(state.smartignore[1].attr_name), "current_pending_sector"); + + /* 3. Test numerical devinfo ignore */ + devinfo.smartignore[0].attr_index = 10; + devinfo.smartignore[0].attr_name[0] = 0; + + /* 4. Test name devinfo ignore (case-insensitive) */ + devinfo.smartignore[1].attr_index = 0; + pathcpy(devinfo.smartignore[1].attr_name, sizeof(devinfo.smartignore[1].attr_name), "aTtR_20"); + + state_smart_ignore(&state, &devinfo); + + /* Check that ignored attributes are set to SMART_UNASSIGNED */ + if (devinfo.smart[5].raw != SMART_UNASSIGNED) { + log_fatal(EINTERNAL, "test_smart_ignore: numerical global ignore failed\n"); + exit(EXIT_FAILURE); + } + if (devinfo.smart[197].raw != SMART_UNASSIGNED) { + log_fatal(EINTERNAL, "test_smart_ignore: name global ignore failed\n"); + exit(EXIT_FAILURE); + } + if (devinfo.smart[10].raw != SMART_UNASSIGNED) { + log_fatal(EINTERNAL, "test_smart_ignore: numerical devinfo ignore failed\n"); + exit(EXIT_FAILURE); + } + if (devinfo.smart[20].raw != SMART_UNASSIGNED) { + log_fatal(EINTERNAL, "test_smart_ignore: name devinfo ignore failed\n"); + exit(EXIT_FAILURE); + } + + /* Check that non-ignored attributes are still present */ + if (devinfo.smart[6].raw != 100) { + log_fatal(EINTERNAL, "test_smart_ignore: unmodified attribute was cleared\n"); + exit(EXIT_FAILURE); + } +} + + void selftest(void) { log_tag("selftest:\n"); @@ -958,6 +1021,7 @@ void selftest(void) test_tommy(); test_wnmatch(); test_parse_smartctl(); + test_smart_ignore(); if (raid_selftest() != 0) { /* LCOV_EXCL_START */ log_fatal(EINTERNAL, "Failed SELF test\n"); diff --git a/cmdline/state.c b/cmdline/state.c index 515ecf75..17cc2354 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -146,8 +146,10 @@ void state_init(struct snapraid_state* state) } state->parity[l].smartctl[0] = 0; state->parity[l].smartctl_info[0] = 0; - for (i = 0; i < SMART_IGNORE_MAX; ++i) - state->parity[l].smartignore[i] = 0; + for (i = 0; i < SMART_IGNORE_MAX; ++i) { + state->parity[l].smartignore[i].attr_index = 0; + state->parity[l].smartignore[i].attr_name[0] = 0; + } state->parity[l].total_blocks = 0; state->parity[l].free_blocks = 0; state->parity[l].skip_access = 0; @@ -167,8 +169,10 @@ void state_init(struct snapraid_state* state) state->lockfile[0] = 0; state->level = 1; /* default is the lowest protection */ state->no_conf = 0; - for (i = 0; i < SMART_IGNORE_MAX; ++i) - state->smartignore[i] = 0; + for (i = 0; i < SMART_IGNORE_MAX; ++i) { + state->smartignore[i].attr_index = 0; + state->smartignore[i].attr_name[0] = 0; + } state->rehash_blocks = 0; state->bad_blocks = 0; state->unsynced_blocks = 0; @@ -1265,7 +1269,7 @@ void state_config(struct snapraid_state* state, const char* path, const char* co } } } else if (strcmp(tag, "smartignore") == 0) { - int* smart; + struct smartignore_struct* smart; ret = sgettok(f, buffer, sizeof(buffer)); if (ret < 0) { @@ -1341,20 +1345,32 @@ void state_config(struct snapraid_state* state, const char* path, const char* co /* LCOV_EXCL_STOP */ } - smart[si] = strtou(buffer, &e, 0); + int val = strtou(buffer, &e, 0); - if (!e || *e) { - /* LCOV_EXCL_START */ - log_fatal(EUSER, "Invalid 'smartignore' specification in '%s' at line %u. It should be a number.\n", path, line); - exit(EXIT_FAILURE); - /* LCOV_EXCL_STOP */ - } - - if (smart[si] < 1 || smart[si] >= 256) { - /* LCOV_EXCL_START */ - log_fatal(EUSER, "Invalid 'smartignore' specification in '%s' at line %u. It should be between 1 and 255.\n", path, line); - exit(EXIT_FAILURE); - /* LCOV_EXCL_STOP */ + if (e && !*e) { + /* numerical form */ + if (val < 1 || val >= 256) { + /* LCOV_EXCL_START */ + log_fatal(EUSER, + "Invalid 'smartignore' specification in '%s' at line %u. It should be between 1 and 255.\n", + path, line); + exit(EXIT_FAILURE); + /* LCOV_EXCL_STOP */ + } + smart[si].attr_index = val; + smart[si].attr_name[0] = 0; + } else { + /* name form */ + if (strlen(buffer) >= SMART_MAX) { + /* LCOV_EXCL_START */ + log_fatal(EUSER, + "Invalid 'smartignore' specification in '%s' at line %u. Attribute name too long.\n", + path, line); + exit(EXIT_FAILURE); + /* LCOV_EXCL_STOP */ + } + smart[si].attr_index = 0; + pathcpy(smart[si].attr_name, sizeof(smart[si].attr_name), buffer); } ++si; diff --git a/cmdline/state.h b/cmdline/state.h index e5b5ea08..5a2d4f9e 100644 --- a/cmdline/state.h +++ b/cmdline/state.h @@ -134,7 +134,7 @@ struct snapraid_state { unsigned prevhash; /**< Previous hash kind used. In case of rehash. */ unsigned besthash; /**< Best hash suggested. */ const char* command; /**< Command running. */ - int smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for all devices. */ + struct smartignore_struct smartignore[SMART_IGNORE_MAX]; /**< Smart attributes to ignore for all devices. */ uint64_t rehash_blocks; /**< Blocks marked rehash */ uint64_t bad_blocks; /**< Blocks marked bad */ uint64_t unsynced_blocks; /**< If the parity is invalid, and a sync is needed. */ @@ -465,5 +465,10 @@ void generate_configuration(const char* content); */ int parse_smartctl(const char* custom, char* smartctl, size_t smartctl_size, char* smartctl_info, size_t smartctl_info_size); +/** + * Apply smart ignore logic to devinfo. + */ +void state_smart_ignore(struct snapraid_state* state, devinfo_t* devinfo); + #endif diff --git a/cmdline/support.c b/cmdline/support.c index 347e9579..a2149d0c 100644 --- a/cmdline/support.c +++ b/cmdline/support.c @@ -2412,6 +2412,10 @@ int smartctl_attribute(OS_FILE* f, const char* file, const char* name, struct sm for (i = 0; i < INFO_COUNT; ++i) info[i] = SMART_UNASSIGNED; + pathcpy(smart[SMART_ERROR_PROTOCOL].name, sizeof(smart[SMART_ERROR_PROTOCOL].name), "error_protocol"); + pathcpy(smart[SMART_ERROR_MEDIUM].name, sizeof(smart[SMART_ERROR_MEDIUM].name), "error_medium"); + pathcpy(smart[SMART_WEAR_LEVEL].name, sizeof(smart[SMART_WEAR_LEVEL].name), "wear_level"); + /* read the file */ inside = 0; while (1) { diff --git a/doc/snapraid-de.1 b/doc/snapraid-de.1 index 24d07275..07cfa73a 100644 --- a/doc/snapraid-de.1 +++ b/doc/snapraid-de.1 @@ -1800,19 +1800,29 @@ ist. PARITY ist einer der Paritätsnamen: \`parity\`, \`2\-parity\`, Der Sonderwert * kann verwendet werden, um das Attribut auf allen Festplatten zu ignorieren. .PP -Um beispielsweise das Attribut \`Current Pending Sector Count\` auf allen -Festplatten zu ignorieren: +Es können mehrere Attribute durch Leerzeichen getrennt angegeben werden. +Jedes Attribut kann als Nummer von 1 bis 255 oder als Name ohne +Berücksichtigung der Groß\-/Kleinschreibung (z. B. \`Current_Pending_Sector\`) +angegeben werden. +.PP +Um beispielsweise das Attribut \`Current Pending Sector Count\` und +\`Reallocated Sectors Count\` auf allen Festplatten über ihre Nummer +oder ihren Namen zu ignorieren: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Um es nur auf der ersten Paritätsfestplatte zu ignorieren: +Um sie nur auf der ersten Paritätsfestplatte zu ignorieren: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-de.d b/doc/snapraid-de.d index efe8f8e0..e05a4a35 100644 --- a/doc/snapraid-de.d +++ b/doc/snapraid-de.d @@ -1490,14 +1490,21 @@ Konfiguration (Configuration) Der Sonderwert * kann verwendet werden, um das Attribut auf allen Festplatten zu ignorieren. - Um beispielsweise das Attribut `Current Pending Sector Count` auf allen - Festplatten zu ignorieren: + Es können mehrere Attribute durch Leerzeichen getrennt angegeben werden. + Jedes Attribut kann als Nummer von 1 bis 255 oder als Name ohne + Berücksichtigung der Groß-/Kleinschreibung (z. B. `Current_Pending_Sector`) + angegeben werden. - :smartignore * 197 + Um beispielsweise das Attribut `Current Pending Sector Count` und + `Reallocated Sectors Count` auf allen Festplatten über ihre Nummer + oder ihren Namen zu ignorieren: - Um es nur auf der ersten Paritätsfestplatte zu ignorieren: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Um sie nur auf der ersten Paritätsfestplatte zu ignorieren: + + :smartignore parity 197 5 Examples Ein Beispiel für eine typische Konfiguration für Unix ist: diff --git a/doc/snapraid-de.txt b/doc/snapraid-de.txt index d589710a..2242e28e 100644 --- a/doc/snapraid-de.txt +++ b/doc/snapraid-de.txt @@ -1590,14 +1590,21 @@ ist. PARITY ist einer der Paritätsnamen: `parity`, `2-parity`, Der Sonderwert * kann verwendet werden, um das Attribut auf allen Festplatten zu ignorieren. -Um beispielsweise das Attribut `Current Pending Sector Count` auf allen -Festplatten zu ignorieren: +Es können mehrere Attribute durch Leerzeichen getrennt angegeben werden. +Jedes Attribut kann als Nummer von 1 bis 255 oder als Name ohne +Berücksichtigung der Groß-/Kleinschreibung (z. B. `Current_Pending_Sector`) +angegeben werden. - smartignore * 197 +Um beispielsweise das Attribut `Current Pending Sector Count` und +`Reallocated Sectors Count` auf allen Festplatten über ihre Nummer +oder ihren Namen zu ignorieren: -Um es nur auf der ersten Paritätsfestplatte zu ignorieren: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Um sie nur auf der ersten Paritätsfestplatte zu ignorieren: + + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-es.1 b/doc/snapraid-es.1 index 54f2552b..d66b4707 100644 --- a/doc/snapraid-es.1 +++ b/doc/snapraid-es.1 @@ -1753,19 +1753,27 @@ PARITY es uno de los nombres de paridad: \`parity\`, \`2\-parity\`, El valor especial * se puede usar para ignorar el atributo en todos los discos. .PP -Por ejemplo, para ignorar el atributo \`Current Pending Sector Count\` -en todos los discos: +Se pueden especificar múltiples atributos separados por espacios. +Cada atributo se puede especificar como un número del 1 al 255, o como un +nombre que no distingue entre mayúsculas y minúsculas (p. ej., \`Current_Pending_Sector\`). +.PP +Por ejemplo, para ignorar los atributos \`Current Pending Sector Count\` y +\`Reallocated Sectors Count\` en todos los discos por su número o nombre: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Para ignorarlo solo en el primer disco de paridad: +Para ignorarlos solo en el primer disco de paridad: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-es.d b/doc/snapraid-es.d index 28d41ca0..96a4c243 100644 --- a/doc/snapraid-es.d +++ b/doc/snapraid-es.d @@ -1454,14 +1454,19 @@ Configuración (Configuration) El valor especial * se puede usar para ignorar el atributo en todos los discos. - Por ejemplo, para ignorar el atributo `Current Pending Sector Count` - en todos los discos: + Se pueden especificar múltiples atributos separados por espacios. + Cada atributo se puede especificar como un número del 1 al 255, o como un + nombre que no distingue entre mayúsculas y minúsculas (p. ej., `Current_Pending_Sector`). - :smartignore * 197 + Por ejemplo, para ignorar los atributos `Current Pending Sector Count` y + `Reallocated Sectors Count` en todos los discos por su número o nombre: - Para ignorarlo solo en el primer disco de paridad: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Para ignorarlos solo en el primer disco de paridad: + + :smartignore parity 197 5 Examples Un ejemplo de una configuración típica para Unix es: diff --git a/doc/snapraid-es.txt b/doc/snapraid-es.txt index e9a99b70..b142f720 100644 --- a/doc/snapraid-es.txt +++ b/doc/snapraid-es.txt @@ -1554,14 +1554,19 @@ PARITY es uno de los nombres de paridad: `parity`, `2-parity`, El valor especial * se puede usar para ignorar el atributo en todos los discos. -Por ejemplo, para ignorar el atributo `Current Pending Sector Count` -en todos los discos: +Se pueden especificar múltiples atributos separados por espacios. +Cada atributo se puede especificar como un número del 1 al 255, o como un +nombre que no distingue entre mayúsculas y minúsculas (p. ej., `Current_Pending_Sector`). - smartignore * 197 +Por ejemplo, para ignorar los atributos `Current Pending Sector Count` y +`Reallocated Sectors Count` en todos los discos por su número o nombre: -Para ignorarlo solo en el primer disco de paridad: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Para ignorarlos solo en el primer disco de paridad: + + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-fr.1 b/doc/snapraid-fr.1 index d468b9cd..84f6f5e3 100644 --- a/doc/snapraid-fr.1 +++ b/doc/snapraid-fr.1 @@ -1785,19 +1785,27 @@ PARITÉ est l\'un des noms de parité : \`parity\`, \`2\-parity\`, \`3\-parity\` La valeur spéciale * peut être utilisée pour ignorer l\'attribut sur tous les disques. .PP -Par exemple, pour ignorer l\'attribut \`Current Pending Sector Count\` -sur tous les disques : +Plusieurs attributs peuvent être spécifiés séparés par des espaces. +Chaque attribut peut être spécifié sous forme de nombre de 1 à 255, ou sous +forme de nom insensible à la casse (par exemple \`Current_Pending_Sector\`). +.PP +Par exemple, pour ignorer les attributs \`Current Pending Sector Count\` et +\`Reallocated Sectors Count\` sur tous les disques par leur numéro ou leur nom : .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Pour l\'ignorer uniquement sur le premier disque de parité : +Pour les ignorer uniquement sur le premier disque de parité : .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-fr.d b/doc/snapraid-fr.d index be503514..dc81a6ef 100644 --- a/doc/snapraid-fr.d +++ b/doc/snapraid-fr.d @@ -1489,14 +1489,19 @@ Configuration La valeur spéciale * peut être utilisée pour ignorer l'attribut sur tous les disques. - Par exemple, pour ignorer l'attribut `Current Pending Sector Count` - sur tous les disques : + Plusieurs attributs peuvent être spécifiés séparés par des espaces. + Chaque attribut peut être spécifié sous forme de nombre de 1 à 255, ou sous + forme de nom insensible à la casse (par exemple `Current_Pending_Sector`). - :smartignore * 197 + Par exemple, pour ignorer les attributs `Current Pending Sector Count` et + `Reallocated Sectors Count` sur tous les disques par leur numéro ou leur nom : - Pour l'ignorer uniquement sur le premier disque de parité : + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Pour les ignorer uniquement sur le premier disque de parité : + + :smartignore parity 197 5 Exemples Un exemple de configuration typique pour Unix est : diff --git a/doc/snapraid-fr.txt b/doc/snapraid-fr.txt index bc876091..e5ab151f 100644 --- a/doc/snapraid-fr.txt +++ b/doc/snapraid-fr.txt @@ -1589,14 +1589,19 @@ PARITÉ est l'un des noms de parité : `parity`, `2-parity`, `3-parity`, La valeur spéciale * peut être utilisée pour ignorer l'attribut sur tous les disques. -Par exemple, pour ignorer l'attribut `Current Pending Sector Count` -sur tous les disques : +Plusieurs attributs peuvent être spécifiés séparés par des espaces. +Chaque attribut peut être spécifié sous forme de nombre de 1 à 255, ou sous +forme de nom insensible à la casse (par exemple `Current_Pending_Sector`). - smartignore * 197 +Par exemple, pour ignorer les attributs `Current Pending Sector Count` et +`Reallocated Sectors Count` sur tous les disques par leur numéro ou leur nom : -Pour l'ignorer uniquement sur le premier disque de parité : + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Pour les ignorer uniquement sur le premier disque de parité : + + smartignore parity 197 5 7.19 Exemples ------------- diff --git a/doc/snapraid-it.1 b/doc/snapraid-it.1 index 44add608..4e1a01a2 100644 --- a/doc/snapraid-it.1 +++ b/doc/snapraid-it.1 @@ -1776,19 +1776,27 @@ PARITY è uno dei nomi di parità: \`parity\`, \`2\-parity\`, \`3\-parity\`, Il valore speciale * può essere utilizzato per ignorare l\'attributo su tutti i dischi. .PP -Ad esempio, per ignorare l\'attributo \`Current Pending Sector Count\` -su tutti i dischi: +È possibile specificare più attributi separati da spazi. +Ciascun attributo può essere specificato come un numero da 1 a 255, o come +un nome insensibile al maiuscolo/minuscolo (ad es. \`Current_Pending_Sector\`). +.PP +Ad esempio, per ignorare gli attributi \`Current Pending Sector Count\` e +\`Reallocated Sectors Count\` su tutti i dischi per numero o nome: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Per ignorarlo solo sul primo disco di parità: +Per ignorarli solo sul primo disco di parità: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-it.d b/doc/snapraid-it.d index 4dbce45b..1c83919c 100644 --- a/doc/snapraid-it.d +++ b/doc/snapraid-it.d @@ -1466,14 +1466,19 @@ Configurazione (Configuration) Il valore speciale * può essere utilizzato per ignorare l'attributo su tutti i dischi. - Ad esempio, per ignorare l'attributo `Current Pending Sector Count` - su tutti i dischi: + È possibile specificare più attributi separati da spazi. + Ciascun attributo può essere specificato come un numero da 1 a 255, o come + un nome insensibile al maiuscolo/minuscolo (ad es. `Current_Pending_Sector`). - :smartignore * 197 + Ad esempio, per ignorare gli attributi `Current Pending Sector Count` e + `Reallocated Sectors Count` su tutti i dischi per numero o nome: - Per ignorarlo solo sul primo disco di parità: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Per ignorarli solo sul primo disco di parità: + + :smartignore parity 197 5 Esempi Un esempio di configurazione tipica per Unix è: diff --git a/doc/snapraid-it.txt b/doc/snapraid-it.txt index b3548797..98d84ff2 100644 --- a/doc/snapraid-it.txt +++ b/doc/snapraid-it.txt @@ -1566,14 +1566,19 @@ PARITY è uno dei nomi di parità: `parity`, `2-parity`, `3-parity`, Il valore speciale * può essere utilizzato per ignorare l'attributo su tutti i dischi. -Ad esempio, per ignorare l'attributo `Current Pending Sector Count` -su tutti i dischi: +È possibile specificare più attributi separati da spazi. +Ciascun attributo può essere specificato come un numero da 1 a 255, o come +un nome insensibile al maiuscolo/minuscolo (ad es. `Current_Pending_Sector`). - smartignore * 197 +Ad esempio, per ignorare gli attributi `Current Pending Sector Count` e +`Reallocated Sectors Count` su tutti i dischi per numero o nome: -Per ignorarlo solo sul primo disco di parità: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Per ignorarli solo sul primo disco di parità: + + smartignore parity 197 5 7.19 Esempi ----------- diff --git a/doc/snapraid-ja.1 b/doc/snapraid-ja.1 index c6e58f92..eeb5767a 100644 --- a/doc/snapraid-ja.1 +++ b/doc/snapraid-ja.1 @@ -1582,10 +1582,19 @@ PARITY はパリティ名のいずれかです:\`parity\`、\`2\-parity\`、\` \`4\-parity\`、\`5\-parity\`、\`6\-parity\`、または \`z\-parity\`。 特殊な値 \`*\` は、すべてのディスクで属性を無視するために使用できます。 .PP -例として、すべてのディスクで \`Current Pending Sector Count\` 属性を無視するには: +複数の属性をスペースで区切って指定できます。 +各属性は1から255までの数値、または大文字と小文字を区别しない名前 +(例: \`Current_Pending_Sector\`)として指定できます。 +.PP +例として、すべてのディスクで \`Current Pending Sector Count\` と +\`Reallocated Sectors Count\` 属性を番号または名前で無視するには: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE @@ -1593,7 +1602,7 @@ smartignore * 197 最初のパリティディスクでのみ無視するには: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-ja.d b/doc/snapraid-ja.d index d2fadfbb..7a411056 100644 --- a/doc/snapraid-ja.d +++ b/doc/snapraid-ja.d @@ -1283,13 +1283,19 @@ Name{number} `4-parity`、`5-parity`、`6-parity`、または `z-parity`。 特殊な値 `*` は、すべてのディスクで属性を無視するために使用できます。 - 例として、すべてのディスクで `Current Pending Sector Count` 属性を無視するには: + 複数の属性をスペースで区切って指定できます。 + 各属性は1から255までの数値、または大文字と小文字を区别しない名前 + (例: `Current_Pending_Sector`)として指定できます。 - :smartignore * 197 + 例として、すべてのディスクで `Current Pending Sector Count` と + `Reallocated Sectors Count` 属性を番号または名前で無視するには: + + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct 最初のパリティディスクでのみ無視するには: - :smartignore parity 197 + :smartignore parity 197 5 Examples Unixの一般的な構成の例は次のとおりです。 diff --git a/doc/snapraid-ja.txt b/doc/snapraid-ja.txt index 538e0393..af61c906 100644 --- a/doc/snapraid-ja.txt +++ b/doc/snapraid-ja.txt @@ -1383,13 +1383,19 @@ PARITY はパリティ名のいずれかです:`parity`、`2-parity`、`3-pari `4-parity`、`5-parity`、`6-parity`、または `z-parity`。 特殊な値 `*` は、すべてのディスクで属性を無視するために使用できます。 -例として、すべてのディスクで `Current Pending Sector Count` 属性を無視するには: +複数の属性をスペースで区切って指定できます。 +各属性は1から255までの数値、または大文字と小文字を区别しない名前 +(例: `Current_Pending_Sector`)として指定できます。 - smartignore * 197 +例として、すべてのディスクで `Current Pending Sector Count` と +`Reallocated Sectors Count` 属性を番号または名前で無視するには: + + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct 最初のパリティディスクでのみ無視するには: - smartignore parity 197 + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-ko.1 b/doc/snapraid-ko.1 index ee5a243a..cf91323c 100644 --- a/doc/snapraid-ko.1 +++ b/doc/snapraid-ko.1 @@ -1627,11 +1627,19 @@ PARITY는 \`parity\`, \`2\-parity\`, \`3\-parity\`, \`4\-parity\`, \`5\-parity\` \`6\-parity\`, 또는 \`z\-parity\` 중 하나의 패리티 이름입니다. 특수 값 *는 모든 디스크에서 속성을 무시하는 데 사용될 수 있습니다. .PP -예를 들어, 모든 디스크에서 \`Current Pending Sector Count\` 속성을 -무시하려면: +여러 속성을 공백으로 구분하여 지정할 수 있습니다. +각 속성은 1에서 255 사이의 숫자나 대소문자를 구분하지 않는 이름 +(예: \`Current_Pending_Sector\`)으로 지정할 수 있습니다. +.PP +예를 들어, 모든 디스크에서 \`Current Pending Sector Count\` 와 +\`Reallocated Sectors Count\` 속성을 번호나 이름으로 무시하려면: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE @@ -1639,7 +1647,7 @@ smartignore * 197 첫 번째 패리티 디스크에서만 무시하려면: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-ko.d b/doc/snapraid-ko.d index 5ec33102..f5153988 100644 --- a/doc/snapraid-ko.d +++ b/doc/snapraid-ko.d @@ -1328,14 +1328,19 @@ Name{number} `6-parity`, 또는 `z-parity` 중 하나의 패리티 이름입니다. 특수 값 *는 모든 디스크에서 속성을 무시하는 데 사용될 수 있습니다. - 예를 들어, 모든 디스크에서 `Current Pending Sector Count` 속성을 - 무시하려면: + 여러 속성을 공백으로 구분하여 지정할 수 있습니다. + 각 속성은 1에서 255 사이의 숫자나 대소문자를 구분하지 않는 이름 + (예: `Current_Pending_Sector`)으로 지정할 수 있습니다. - :smartignore * 197 + 예를 들어, 모든 디스크에서 `Current Pending Sector Count` 와 + `Reallocated Sectors Count` 속성을 번호나 이름으로 무시하려면: + + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct 첫 번째 패리티 디스크에서만 무시하려면: - :smartignore parity 197 + :smartignore parity 197 5 Examples Unix의 일반적인 설정 예는 다음과 같습니다: diff --git a/doc/snapraid-ko.txt b/doc/snapraid-ko.txt index e7d905cc..08d23066 100644 --- a/doc/snapraid-ko.txt +++ b/doc/snapraid-ko.txt @@ -1428,14 +1428,19 @@ PARITY는 `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity`, 또는 `z-parity` 중 하나의 패리티 이름입니다. 특수 값 *는 모든 디스크에서 속성을 무시하는 데 사용될 수 있습니다. -예를 들어, 모든 디스크에서 `Current Pending Sector Count` 속성을 -무시하려면: +여러 속성을 공백으로 구분하여 지정할 수 있습니다. +각 속성은 1에서 255 사이의 숫자나 대소문자를 구분하지 않는 이름 +(예: `Current_Pending_Sector`)으로 지정할 수 있습니다. - smartignore * 197 +예를 들어, 모든 디스크에서 `Current Pending Sector Count` 와 +`Reallocated Sectors Count` 속성을 번호나 이름으로 무시하려면: + + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct 첫 번째 패리티 디스크에서만 무시하려면: - smartignore parity 197 + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-pl.1 b/doc/snapraid-pl.1 index 7a81c85a..738fc535 100644 --- a/doc/snapraid-pl.1 +++ b/doc/snapraid-pl.1 @@ -1674,19 +1674,27 @@ PARITY to jedna z nazw parzystości: \`parity\`, \`2\-parity\`, \`3\-parity\`, \`4\-parity\`, \`5\-parity\`, \`6\-parity\` lub \`z\-parity\`. Specjalna wartość * może być użyta do zignorowania atrybutu na wszystkich dyskach. .PP -Na przykład, aby zignorować atrybut \`Current Pending Sector Count\` na -wszystkich dyskach: +Można określić wiele atrybutów oddzielonych spacjami. +Każdy atrybut można określić jako liczbę od 1 do 255 lub jako nazwę +niewrażliwą na wielkość liter (np. \`Current_Pending_Sector\`). +.PP +Na przykład, aby zignorować atrybuty \`Current Pending Sector Count\` i +\`Reallocated Sectors Count\` na wszystkich dyskach za pomocą ich numeru lub nazwy: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Aby zignorować go tylko na pierwszym dysku parzystości: +Aby zignorować je tylko na pierwszym dysku parzystości: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-pl.d b/doc/snapraid-pl.d index 0e2a3f70..1e8bc00f 100644 --- a/doc/snapraid-pl.d +++ b/doc/snapraid-pl.d @@ -1375,14 +1375,19 @@ Konfiguracja (Configuration) `4-parity`, `5-parity`, `6-parity` lub `z-parity`. Specjalna wartość * może być użyta do zignorowania atrybutu na wszystkich dyskach. - Na przykład, aby zignorować atrybut `Current Pending Sector Count` na - wszystkich dyskach: + Można określić wiele atrybutów oddzielonych spacjami. + Każdy atrybut można określić jako liczbę od 1 do 255 lub jako nazwę + niewrażliwą na wielkość liter (np. `Current_Pending_Sector`). - :smartignore * 197 + Na przykład, aby zignorować atrybuty `Current Pending Sector Count` i + `Reallocated Sectors Count` na wszystkich dyskach za pomocą ich numeru lub nazwy: - Aby zignorować go tylko na pierwszym dysku parzystości: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Aby zignorować je tylko na pierwszym dysku parzystości: + + :smartignore parity 197 5 Examples Przykład typowej konfiguracji dla systemu Unix: diff --git a/doc/snapraid-pl.txt b/doc/snapraid-pl.txt index 4ad86ba5..61d53b5e 100644 --- a/doc/snapraid-pl.txt +++ b/doc/snapraid-pl.txt @@ -1475,14 +1475,19 @@ PARITY to jedna z nazw parzystości: `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity` lub `z-parity`. Specjalna wartość * może być użyta do zignorowania atrybutu na wszystkich dyskach. -Na przykład, aby zignorować atrybut `Current Pending Sector Count` na -wszystkich dyskach: +Można określić wiele atrybutów oddzielonych spacjami. +Każdy atrybut można określić jako liczbę od 1 do 255 lub jako nazwę +niewrażliwą na wielkość liter (np. `Current_Pending_Sector`). - smartignore * 197 +Na przykład, aby zignorować atrybuty `Current Pending Sector Count` i +`Reallocated Sectors Count` na wszystkich dyskach za pomocą ich numeru lub nazwy: -Aby zignorować go tylko na pierwszym dysku parzystości: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Aby zignorować je tylko na pierwszym dysku parzystości: + + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-pt.1 b/doc/snapraid-pt.1 index 8cb3b4ea..b2fcf41d 100644 --- a/doc/snapraid-pt.1 +++ b/doc/snapraid-pt.1 @@ -1712,19 +1712,27 @@ PARITY é um dos nomes de paridade: \`parity\`, \`2\-parity\`, \`3\-parity\`, \`4\-parity\`, \`5\-parity\`, \`6\-parity\` ou \`z\-parity\`. O valor especial * pode ser usado para ignorar o atributo em todos os discos. .PP -Por exemplo, para ignorar o atributo \`Current Pending Sector Count\` em -todos os discos: +Múltiplos atributos podem ser especificados separados por espaços. +Cada atributo pode ser especificado como um número de 1 a 255, ou como um +nome insensível a maiúsculas/minúsculas (por exemplo, \`Current_Pending_Sector\`). +.PP +Por exemplo, para ignorar os atributos \`Current Pending Sector Count\` e +\`Reallocated Sectors Count\` em todos os discos pelo seu número ou nome: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Para ignorá\-lo apenas no primeiro disco de paridade: +Para ignorá\-los apenas no primeiro disco de paridade: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-pt.d b/doc/snapraid-pt.d index cb3eb69e..c675c67a 100644 --- a/doc/snapraid-pt.d +++ b/doc/snapraid-pt.d @@ -1413,14 +1413,19 @@ Configuração (Configuration) `4-parity`, `5-parity`, `6-parity` ou `z-parity`. O valor especial * pode ser usado para ignorar o atributo em todos os discos. - Por exemplo, para ignorar o atributo `Current Pending Sector Count` em - todos os discos: + Múltiplos atributos podem ser especificados separados por espaços. + Cada atributo pode ser especificado como um número de 1 a 255, ou como um + nome insensível a maiúsculas/minúsculas (por exemplo, `Current_Pending_Sector`). - :smartignore * 197 + Por exemplo, para ignorar os atributos `Current Pending Sector Count` e + `Reallocated Sectors Count` em todos os discos pelo seu número ou nome: - Para ignorá-lo apenas no primeiro disco de paridade: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Para ignorá-los apenas no primeiro disco de paridade: + + :smartignore parity 197 5 Exemplos Um exemplo de uma configuração típica para Unix é: diff --git a/doc/snapraid-pt.txt b/doc/snapraid-pt.txt index 036619c1..ac1d5bb6 100644 --- a/doc/snapraid-pt.txt +++ b/doc/snapraid-pt.txt @@ -1513,14 +1513,19 @@ PARITY é um dos nomes de paridade: `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity` ou `z-parity`. O valor especial * pode ser usado para ignorar o atributo em todos os discos. -Por exemplo, para ignorar o atributo `Current Pending Sector Count` em -todos os discos: +Múltiplos atributos podem ser especificados separados por espaços. +Cada atributo pode ser especificado como um número de 1 a 255, ou como um +nome insensível a maiúsculas/minúsculas (por exemplo, `Current_Pending_Sector`). - smartignore * 197 +Por exemplo, para ignorar os atributos `Current Pending Sector Count` e +`Reallocated Sectors Count` em todos os discos pelo seu número ou nome: -Para ignorá-lo apenas no primeiro disco de paridade: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Para ignorá-los apenas no primeiro disco de paridade: + + smartignore parity 197 5 7.19 Exemplos ------------- diff --git a/doc/snapraid-ro.1 b/doc/snapraid-ro.1 index 37c5e8a0..0f9c5aa3 100644 --- a/doc/snapraid-ro.1 +++ b/doc/snapraid-ro.1 @@ -1677,19 +1677,27 @@ PARITY este unul dintre numele de paritate: \`parity\`, \`2\-parity\`, \`3\-pari \`4\-parity\`, \`5\-parity\`, \`6\-parity\` sau \`z\-parity\`. Valoarea specială * poate fi utilizată pentru a ignora atributul pe toate discurile. .PP -De exemplu, pentru a ignora atributul \`Current Pending Sector Count\` pe -toate discurile: +Mai multe atribute pot fi specificate separate prin spații. +Fiecare atribut poate fi specificat ca un număr de la 1 la 255 sau ca un +nume insensibil la majuscule (de exemplu, \`Current_Pending_Sector\`). +.PP +De exemplu, pentru a ignora atributele \`Current Pending Sector Count\` și +\`Reallocated Sectors Count\` pe toate discurile după numărul sau numele lor: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Pentru a\-l ignora doar pe primul disc de paritate: +Pentru a le ignora doar pe primul disc de paritate: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-ro.d b/doc/snapraid-ro.d index a96b1773..4ee3c113 100644 --- a/doc/snapraid-ro.d +++ b/doc/snapraid-ro.d @@ -1378,14 +1378,19 @@ Configurare (Configuration) `4-parity`, `5-parity`, `6-parity` sau `z-parity`. Valoarea specială * poate fi utilizată pentru a ignora atributul pe toate discurile. - De exemplu, pentru a ignora atributul `Current Pending Sector Count` pe - toate discurile: + Mai multe atribute pot fi specificate separate prin spații. + Fiecare atribut poate fi specificat ca un număr de la 1 la 255 sau ca un + nume insensibil la majuscule (de exemplu, `Current_Pending_Sector`). - :smartignore * 197 + De exemplu, pentru a ignora atributele `Current Pending Sector Count` și + `Reallocated Sectors Count` pe toate discurile după numărul sau numele lor: - Pentru a-l ignora doar pe primul disc de paritate: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Pentru a le ignora doar pe primul disc de paritate: + + :smartignore parity 197 5 Exemple Un exemplu de configurare tipică pentru Unix este: diff --git a/doc/snapraid-ro.txt b/doc/snapraid-ro.txt index 058b5829..4bb10491 100644 --- a/doc/snapraid-ro.txt +++ b/doc/snapraid-ro.txt @@ -1478,14 +1478,19 @@ PARITY este unul dintre numele de paritate: `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity` sau `z-parity`. Valoarea specială * poate fi utilizată pentru a ignora atributul pe toate discurile. -De exemplu, pentru a ignora atributul `Current Pending Sector Count` pe -toate discurile: +Mai multe atribute pot fi specificate separate prin spații. +Fiecare atribut poate fi specificat ca un număr de la 1 la 255 sau ca un +nume insensibil la majuscule (de exemplu, `Current_Pending_Sector`). - smartignore * 197 +De exemplu, pentru a ignora atributele `Current Pending Sector Count` și +`Reallocated Sectors Count` pe toate discurile după numărul sau numele lor: -Pentru a-l ignora doar pe primul disc de paritate: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Pentru a le ignora doar pe primul disc de paritate: + + smartignore parity 197 5 7.19 Exemple ------------ diff --git a/doc/snapraid-ru.1 b/doc/snapraid-ru.1 index 6053a86c..0f7a2a64 100644 --- a/doc/snapraid-ru.1 +++ b/doc/snapraid-ru.1 @@ -1679,19 +1679,27 @@ PARITY — это одно из имен четности: \`parity\`, \`2\-pari \`4\-parity\`, \`5\-parity\`, \`6\-parity\` или \`z\-parity\`. Специальное значение * может использоваться для игнорирования атрибута на всех дисках. .PP -Например, чтобы игнорировать атрибут \`Current Pending Sector Count\` на -всех дисках: +Можно указать несколько атрибутов, разделенных пробелами. +Каждый атрибут может быть указан как число от 1 до 255 или как имя, +нечувствительное к регистру (например, \`Current_Pending_Sector\`). +.PP +Например, чтобы игнорировать атрибуты \`Current Pending Sector Count\` и +\`Reallocated Sectors Count\` на всех дисках по их номеру или имени: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Чтобы игнорировать его только на первом диске четности: +Чтобы игнорировать их только на первом диске четности: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-ru.d b/doc/snapraid-ru.d index af1d99ee..9144c684 100644 --- a/doc/snapraid-ru.d +++ b/doc/snapraid-ru.d @@ -1380,14 +1380,19 @@ Name{number} `4-parity`, `5-parity`, `6-parity` или `z-parity`. Специальное значение * может использоваться для игнорирования атрибута на всех дисках. - Например, чтобы игнорировать атрибут `Current Pending Sector Count` на - всех дисках: + Можно указать несколько атрибутов, разделенных пробелами. + Каждый атрибут может быть указан как число от 1 до 255 или как имя, + нечувствительное к регистру (например, `Current_Pending_Sector`). - :smartignore * 197 + Например, чтобы игнорировать атрибуты `Current Pending Sector Count` и + `Reallocated Sectors Count` на всех дисках по их номеру или имени: - Чтобы игнорировать его только на первом диске четности: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Чтобы игнорировать их только на первом диске четности: + + :smartignore parity 197 5 Examples Пример типичной конфигурации для Unix: diff --git a/doc/snapraid-ru.txt b/doc/snapraid-ru.txt index 59af382c..c211820b 100644 --- a/doc/snapraid-ru.txt +++ b/doc/snapraid-ru.txt @@ -1480,14 +1480,19 @@ PARITY — это одно из имен четности: `parity`, `2-parity`, `4-parity`, `5-parity`, `6-parity` или `z-parity`. Специальное значение * может использоваться для игнорирования атрибута на всех дисках. -Например, чтобы игнорировать атрибут `Current Pending Sector Count` на -всех дисках: +Можно указать несколько атрибутов, разделенных пробелами. +Каждый атрибут может быть указан как число от 1 до 255 или как имя, +нечувствительное к регистру (например, `Current_Pending_Sector`). - smartignore * 197 +Например, чтобы игнорировать атрибуты `Current Pending Sector Count` и +`Reallocated Sectors Count` на всех дисках по их номеру или имени: -Чтобы игнорировать его только на первом диске четности: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Чтобы игнорировать их только на первом диске четности: + + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid-sv.1 b/doc/snapraid-sv.1 index da7ddafb..0951b19f 100644 --- a/doc/snapraid-sv.1 +++ b/doc/snapraid-sv.1 @@ -1678,19 +1678,27 @@ PARITY är ett av paritetsnamnen: \`parity\`, \`2\-parity\`, \`3\-parity\`, \`4\-parity\`, \`5\-parity\`, \`6\-parity\` eller \`z\-parity\`. Det speciella värdet * kan användas för att ignorera attributet på alla diskar. .PP -Till exempel, för att ignorera attributet \`Current Pending Sector Count\` på -alla diskar: +Flera attribut kan specificeras separerade med mellanslag. +Varje attribut kan specificeras som ett nummer från 1 till 255, eller som ett +skiftlägesokänsligt namn (t.ex. \`Current_Pending_Sector\`). +.PP +Till exempel, för att ignorera attributen \`Current Pending Sector Count\` och +\`Reallocated Sectors Count\` på alla diskar med deras nummer oder namn: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -För att ignorera det endast på den första paritetsdisken: +För att ignorera dem endast på den första paritetsdisken: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-sv.d b/doc/snapraid-sv.d index 9856bb32..1225ec64 100644 --- a/doc/snapraid-sv.d +++ b/doc/snapraid-sv.d @@ -1379,14 +1379,19 @@ Konfiguration (Configuration) `4-parity`, `5-parity`, `6-parity` eller `z-parity`. Det speciella värdet * kan användas för att ignorera attributet på alla diskar. - Till exempel, för att ignorera attributet `Current Pending Sector Count` på - alla diskar: + Flera attribut kan specificeras separerade med mellanslag. + Varje attribut kan specificeras som ett nummer från 1 till 255, eller som ett + skiftlägesokänsligt namn (t.ex. `Current_Pending_Sector`). - :smartignore * 197 + Till exempel, för att ignorera attributen `Current Pending Sector Count` och + `Reallocated Sectors Count` på alla diskar med deras nummer oder namn: - För att ignorera det endast på den första paritetsdisken: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + För att ignorera dem endast på den första paritetsdisken: + + :smartignore parity 197 5 Exempel Ett exempel på en typisk konfiguration för Unix är: diff --git a/doc/snapraid-sv.txt b/doc/snapraid-sv.txt index 8a072f00..10e6651e 100644 --- a/doc/snapraid-sv.txt +++ b/doc/snapraid-sv.txt @@ -1479,14 +1479,19 @@ PARITY är ett av paritetsnamnen: `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity` eller `z-parity`. Det speciella värdet * kan användas för att ignorera attributet på alla diskar. -Till exempel, för att ignorera attributet `Current Pending Sector Count` på -alla diskar: +Flera attribut kan specificeras separerade med mellanslag. +Varje attribut kan specificeras som ett nummer från 1 till 255, eller som ett +skiftlägesokänsligt namn (t.ex. `Current_Pending_Sector`). - smartignore * 197 +Till exempel, för att ignorera attributen `Current Pending Sector Count` och +`Reallocated Sectors Count` på alla diskar med deras nummer oder namn: -För att ignorera det endast på den första paritetsdisken: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +För att ignorera dem endast på den första paritetsdisken: + + smartignore parity 197 5 7.19 Exempel ------------ diff --git a/doc/snapraid-uk.1 b/doc/snapraid-uk.1 index 90076065..89568a49 100644 --- a/doc/snapraid-uk.1 +++ b/doc/snapraid-uk.1 @@ -1851,19 +1851,27 @@ PARITY — це одне з імен парності: \`parity\`, Спеціальне значення * можна використовувати для ігнорування атрибута на всіх дисках. .PP -Наприклад, щоб ігнорувати атрибут \`Current Pending Sector Count\` -на всіх дисках: +Можна вказати кілька атрибутів, розділених пробілами. +Кожен атрибут може бути вказаний як число від 1 до 255 або як регістронезалежне +ім\'я (наприклад, \`Current_Pending_Sector\`). +.PP +Наприклад, щоб ігнорувати атрибути \`Current Pending Sector Count\` та +\`Reallocated Sectors Count\` на всіх дисках за їхнім номером або ім\'ям: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -Щоб ігнорувати його лише на першому диску парності: +Щоб ігнорувати їх лише на першому диску парності: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-uk.d b/doc/snapraid-uk.d index 5b684f12..a93bbe21 100644 --- a/doc/snapraid-uk.d +++ b/doc/snapraid-uk.d @@ -1541,14 +1541,19 @@ Name{number} Спеціальне значення * можна використовувати для ігнорування атрибута на всіх дисках. - Наприклад, щоб ігнорувати атрибут `Current Pending Sector Count` - на всіх дисках: + Можна вказати кілька атрибутів, розділених пробілами. + Кожен атрибут може бути вказаний як число від 1 до 255 або як регістронезалежне + ім'я (наприклад, `Current_Pending_Sector`). - :smartignore * 197 + Наприклад, щоб ігнорувати атрибути `Current Pending Sector Count` та + `Reallocated Sectors Count` на всіх дисках за їхнім номером або ім'ям: - Щоб ігнорувати його лише на першому диску парності: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + Щоб ігнорувати їх лише на першому диску парності: + + :smartignore parity 197 5 Приклади Приклад типової конфігурації для Unix: diff --git a/doc/snapraid-uk.txt b/doc/snapraid-uk.txt index 3ebd2426..9b8033f9 100644 --- a/doc/snapraid-uk.txt +++ b/doc/snapraid-uk.txt @@ -1641,14 +1641,19 @@ PARITY — це одне з імен парності: `parity`, Спеціальне значення * можна використовувати для ігнорування атрибута на всіх дисках. -Наприклад, щоб ігнорувати атрибут `Current Pending Sector Count` -на всіх дисках: +Можна вказати кілька атрибутів, розділених пробілами. +Кожен атрибут може бути вказаний як число від 1 до 255 або як регістронезалежне +ім'я (наприклад, `Current_Pending_Sector`). - smartignore * 197 +Наприклад, щоб ігнорувати атрибути `Current Pending Sector Count` та +`Reallocated Sectors Count` на всіх дисках за їхнім номером або ім'ям: -Щоб ігнорувати його лише на першому диску парності: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +Щоб ігнорувати їх лише на першому диску парності: + + smartignore parity 197 5 7.19 Приклади ------------- diff --git a/doc/snapraid-zh.1 b/doc/snapraid-zh.1 index f2fd3bcd..0627acec 100644 --- a/doc/snapraid-zh.1 +++ b/doc/snapraid-zh.1 @@ -1510,18 +1510,27 @@ PARITY 是奇偶校验名称之一:\`parity\`、\`2\-parity\`、\`3\-parity\` \`4\-parity\`、\`5\-parity\`、\`6\-parity\` 或 \`z\-parity\`。 特殊值 * 可用于在所有磁盘上忽略该属性。 .PP -例如,要在所有磁盘上忽略 \`Current Pending Sector Count\` 属性: +可以指定多个属性,用空格分隔。 +每个属性可以指定为 1 到 255 之间的数字,或者不区分大小写的名称 +(例如 \`Current_Pending_Sector\`)。 +.PP +例如,要在所有磁盘上通过编号或名称忽略 \`Current Pending Sector Count\` 和 +\`Reallocated Sectors Count\` 属性: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -要仅在第一个奇偶校验磁盘上忽略它: +要仅在第一个奇偶校验磁盘上忽略它们: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid-zh.d b/doc/snapraid-zh.d index a8c27f41..cc84e359 100644 --- a/doc/snapraid-zh.d +++ b/doc/snapraid-zh.d @@ -1211,13 +1211,19 @@ Name{number} `4-parity`、`5-parity`、`6-parity` 或 `z-parity`。 特殊值 * 可用于在所有磁盘上忽略该属性。 - 例如,要在所有磁盘上忽略 `Current Pending Sector Count` 属性: + 可以指定多个属性,用空格分隔。 + 每个属性可以指定为 1 到 255 之间的数字,或者不区分大小写的名称 + (例如 `Current_Pending_Sector`)。 - :smartignore * 197 + 例如,要在所有磁盘上通过编号或名称忽略 `Current Pending Sector Count` 和 + `Reallocated Sectors Count` 属性: - 要仅在第一个奇偶校验磁盘上忽略它: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + 要仅在第一个奇偶校验磁盘上忽略它们: + + :smartignore parity 197 5 Examples Unix 的典型配置示例如下: diff --git a/doc/snapraid-zh.txt b/doc/snapraid-zh.txt index d1c876d6..0f758871 100644 --- a/doc/snapraid-zh.txt +++ b/doc/snapraid-zh.txt @@ -1311,13 +1311,19 @@ PARITY 是奇偶校验名称之一:`parity`、`2-parity`、`3-parity`、 `4-parity`、`5-parity`、`6-parity` 或 `z-parity`。 特殊值 * 可用于在所有磁盘上忽略该属性。 -例如,要在所有磁盘上忽略 `Current Pending Sector Count` 属性: +可以指定多个属性,用空格分隔。 +每个属性可以指定为 1 到 255 之间的数字,或者不区分大小写的名称 +(例如 `Current_Pending_Sector`)。 - smartignore * 197 +例如,要在所有磁盘上通过编号或名称忽略 `Current Pending Sector Count` 和 +`Reallocated Sectors Count` 属性: -要仅在第一个奇偶校验磁盘上忽略它: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +要仅在第一个奇偶校验磁盘上忽略它们: + + smartignore parity 197 5 7.19 Examples ------------- diff --git a/doc/snapraid.1 b/doc/snapraid.1 index 13e74b54..8caed035 100644 --- a/doc/snapraid.1 +++ b/doc/snapraid.1 @@ -1679,19 +1679,28 @@ PARITY is one of the parity names: \`parity\`, \`2\-parity\`, \`3\-parity\`, \`4\-parity\`, \`5\-parity\`, \`6\-parity\`, or \`z\-parity\`. The special value * can be used to ignore the attribute on all disks. .PP -For example, to ignore the \`Current Pending Sector Count\` attribute on -all disks: +Multiple attributes can be specified separated by spaces. +Each attribute can be specified as a number from 1 to 255, or as a +case\-insensitive name (e.g. \`Current_Pending_Sector\`). +.PP +For example, to ignore the \`Current Pending Sector Count\` and +\`Reallocated Sectors Count\` attributes on all disks by their number +or name: .PP .RS 4 -smartignore * 197 +smartignore * 197 5 +.PD 0 +.PP +.PD +smartignore * Current_Pending_Sector Reallocated_Sector_Ct .PD 0 .PD .RE .PP -To ignore it only on the first parity disk: +To ignore them only on the first parity disk: .PP .RS 4 -smartignore parity 197 +smartignore parity 197 5 .PD 0 .PD .RE diff --git a/doc/snapraid.d b/doc/snapraid.d index f3f55094..2c633097 100644 --- a/doc/snapraid.d +++ b/doc/snapraid.d @@ -1380,14 +1380,20 @@ Configuration `4-parity`, `5-parity`, `6-parity`, or `z-parity`. The special value * can be used to ignore the attribute on all disks. - For example, to ignore the `Current Pending Sector Count` attribute on - all disks: + Multiple attributes can be specified separated by spaces. + Each attribute can be specified as a number from 1 to 255, or as a + case-insensitive name (e.g. `Current_Pending_Sector`). - :smartignore * 197 + For example, to ignore the `Current Pending Sector Count` and + `Reallocated Sectors Count` attributes on all disks by their number + or name: - To ignore it only on the first parity disk: + :smartignore * 197 5 + :smartignore * Current_Pending_Sector Reallocated_Sector_Ct - :smartignore parity 197 + To ignore them only on the first parity disk: + + :smartignore parity 197 5 Examples An example of a typical configuration for Unix is: diff --git a/doc/snapraid.txt b/doc/snapraid.txt index ffd81631..981cbf3b 100644 --- a/doc/snapraid.txt +++ b/doc/snapraid.txt @@ -1480,14 +1480,20 @@ PARITY is one of the parity names: `parity`, `2-parity`, `3-parity`, `4-parity`, `5-parity`, `6-parity`, or `z-parity`. The special value * can be used to ignore the attribute on all disks. -For example, to ignore the `Current Pending Sector Count` attribute on -all disks: +Multiple attributes can be specified separated by spaces. +Each attribute can be specified as a number from 1 to 255, or as a +case-insensitive name (e.g. `Current_Pending_Sector`). - smartignore * 197 +For example, to ignore the `Current Pending Sector Count` and +`Reallocated Sectors Count` attributes on all disks by their number +or name: -To ignore it only on the first parity disk: + smartignore * 197 5 + smartignore * Current_Pending_Sector Reallocated_Sector_Ct - smartignore parity 197 +To ignore them only on the first parity disk: + + smartignore parity 197 5 7.19 Examples -------------