snapshot failed after a typo in dataset name

Status
Not open for further replies.

freenas1

Dabbler
Joined
Feb 19, 2013
Messages
16
Hello all,
i'm using 9.10.2. I got this error:
Snapshot datas/RHAX @auto-20170630.1608-2m failed with the following error: cannot open 'datas/RHAX ': dataset does not exist
as you can see, there is a space at the end of the dataset. I corrected the error, as you can see:
Code:
zfs list datas/RHAX
NAME  USED  AVAIL  REFER  MOUNTPOINT
datas/RHAX  2.16T  11.2T  2.16T  /mnt/datas/RHAX

Code:
zfs list data/RHAX\
cannot open 'data/RHAX ': dataset does not exist


i deleted and re-created the snapshot task, choosing the correct dataset in the list menu. But the problem is still here.
Is there another place where the old name could be? in a file or in sqlite database? Deleting the dataset is not my preferred solution as the 2To comes from network.

Thanks in advance for help,
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Was this working before?
 

freenas1

Dabbler
Joined
Feb 19, 2013
Messages
16
The machine has anoter datasets, and everything is fine with them

[root@nicomaque] ~# zfs list -r -t snapshot | grep proj
datas/proj1@auto-20170630.1608-2m 964K - 634G -
datas/proj1@auto-20170703.1608-2m 0 - 646G -
datas/proj1@auto-20170704.1608-2m 0 - 646G -
datas/proj2@auto-20170630.1608-2m 19.7M - 1.34T -
datas/proj2@auto-20170703.1608-2m 849K - 1.34T -
datas/proj2@auto-20170704.1608-2m 0 - 1.35T -
datas/proj_STABLE@auto-20170703.1608-2m 0 - 266G -
datas/proj_STABLE@auto-20170704.1608-2m 0 - 266G -
datas/proj_TEMP@auto-20170630.1608-2m 194K - 154G -
datas/proj_TEMP@auto-20170703.1608-2m 0 - 154G -
datas/proj_TEMP@auto-20170704.1608-2m 0 - 154G -

 

freenas1

Dabbler
Joined
Feb 19, 2013
Messages
16
Anybody can help?
when i reboot, in /var/log/messages, there is:

Jul 12 09:59:01 nicomaque autosnap.py: [tools.autosnap:66] Popen()ing: /sbin/zfs snapshot "datas/proj @auto-20170712.0959-2m"
Jul 12 09:59:01 nicomaque autosnap.py: [tools.autosnap:540] Failed to create snapshot 'datas/RHAX @auto-20170712.0959-2m': cannot open 'datas/RHAX ': dataset does not exist
usage:
snapshot|snap [-r] [-o property=value] ... <filesystem|volume>@<snap> ...

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow

is there a way to correct what autosnap.py is currently reading?
The other problem is that dataset "datas/RHAX" is added in "Periodic snapshot tasks"but no snapshot were created due to the problem with the space in "datas/RHAX ".

Thanks
 
Status
Not open for further replies.
Top