#160 invalid zfs component names fail without warning

9.2.0.1
closed
nobody
zfs gui (4)
1
2015-05-11
2014-02-15
No

Dataset Add Dialog accepts a Dataset name with spaces. This fails silently. it would be good if bad names were prohibited, the UI contained a warning, or the failure was not silent.


The only valid characters in zfs component names are:

http://docs.oracle.com/cd/E18752_01/html/819-5461/gbcpt.html

ZFS Component Naming Requirements
Each ZFS component, such as datasets and pools, must be named according to the following rules:

Each component can only contain alphanumeric characters in addition to the following four special characters:

Underscore (_)

Hyphen (-)

Colon (:)

Period (.)

Pool names must begin with a letter, except for the following restrictions:

The beginning sequence c[0-9] is not allowed.

The name log is reserved.

A name that begins with mirror, raidz, raidz1, raidz2, raidz3, or spare is not allowed because these names are reserved.

Pool names must not contain a percent sign (%).

Dataset names must begin with an alphanumeric character.

Dataset names must not contain a percent sign (%).

In addition, empty components are not allowed.

Discussion

  • crest

    crest - 2014-06-08

    Could be closed because bad names will not be accepted and are not silent.
    Refer to => https://sourceforge.net/p/nas4free/bugs/164/

    Regards,
    crest

     
  • zoon01

    zoon01 - 2015-05-11
    • status: open --> closed
     
  • zoon01

    zoon01 - 2015-05-11

    wont-fix as we are on way newer releases
    please open a new ticket if problems keep exist on 10.x.0.2 series.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks