Summary: | Unable to create ZVOL | ||
---|---|---|---|
Product: | Base System | Reporter: | Eugene Grosbein <eugen> |
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | allanjude, andrey, crest, mail, markj, mav, rob2g2-freebsd |
Priority: | --- | ||
Version: | 11.2-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Eugene Grosbein
![]() ![]() This error is about the snapshot, not the dataset itself. Did the dataset not get mounted as well? (In reply to Allan Jude from comment #1) There is no file system to mount, the dataset is a snapshow of another dataset with type=volume. Try a shorter name. In FreeBSD < 12.0 the mount point length was quite short (IIRC 88 bytes). @crest: I've been looking for a "fix" for quite some time now : http://freebsd.1045724.x6.nabble.com/zfs-snapshot-make-dev-63-character-limit-td6147061.html Does your comment imply that the limits involved have been altered/upped in 12.0 ? Kind regards, Ruben As part of the 64 Bit inode support a lot of those limits got increased (if you have to break the ABI make it count). IIRC the limit went from a few dozen bytes to 1024 in FreeBSD 12. (In reply to crest from comment #3) Have you actually read PR description? It is not about how to shorten the name. It is about warning message being too cryptic for user and limit being obscure. And no, I've just checked stable/12 sources and they were not changed for this case: same mentioned function do same things and limit is SPECNAMELEN minus strlen("zvol/"). And SPECNAMELEN is still 63 in stable/12. (In reply to crest from comment #3) This is not about mounting anything. The dataset is volume, not file system. Unfortunately SPECNAMELEN was bumped only in head (13). Too later to be merged into 12 due to ABI (or mostly KBI) breakage. I agree that message may be not perfect, but error=63 means ENAMETOOLONG, which is hardto to interpret wrong once it is decoded. I think we could add specific error message for that case. In FreeNAS we just block those messages and limit ZVOL name lengths in external means. I'm no more in position to test or reproduce the problem. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d8a259a74e52a1c77a92b514cebac172bf46428a commit d8a259a74e52a1c77a92b514cebac172bf46428a Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-11-16 23:07:43 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-11-16 23:07:43 +0000 net/seaweedfs: update to 3.35 - hand over maintainership thank-you Boris! Reported by: portscout Sponsored by: SkunkWerks, GmbH PR: 238112 net/seaweedfs/Makefile | 17 ++++++++--------- net/seaweedfs/distinfo | 10 +++++----- 2 files changed, 13 insertions(+), 14 deletions(-) |