`mksnap_ffs` could not make snapshot on `union`-mounted FS (but created snapshot entry).
Lev Serebryakov
lev at FreeBSD.org
Tue Oct 1 11:21:32 UTC 2019
I have UFS2+SUJ which is mounted like this:
/dev/ufs/unifi on /usr/local/unifi (ufs, local, union)
When I try to create snapshot (for live backup with `dump(8)`) I get:
root at gateway:~ # ls -la /usr/local/unifi/.snap
total 5
drwxrwx--- 2 root operator 512 Oct 1 14:17 .
drwxr-xr-x 7 root wheel 4096 May 28 00:20 ..
root at gateway:~ # mksnap_ffs /usr/local/unifi/.snap/dump_snapshot
mksnap_ffs: Cannot create snapshot /usr/local/unifi/.snap/dump_snapshot:
No such file or directory
root at gateway:~ # ls -la /usr/local/unifi/.snap
total 5
drwxrwx--- 2 root operator 512 Oct 1 14:17 .
drwxr-xr-x 7 root wheel 4096 May 28 00:20 ..
-r-------- 1 root operator 0 Oct 1 14:17 dump_snapshot
root at gateway:~ # rm /usr/local/unifi/.snap/dump_snapshot
root at gateway:~ # ls -la /usr/local/unifi/.snap
total 5
drwxrwx--- 2 root operator 512 Oct 1 14:20 .
drwxr-xr-x 7 root wheel 4096 May 28 00:20 ..
root at gateway:~ #
So, snapshot was created, but then failed.
It is rather old 13-CURRENT:
root at gateway:~ # uname -a
FreeBSD gateway.home.serebryakov.spb.ru 13.0-CURRENT FreeBSD
13.0-CURRENT r348252M J3160 amd64
root at gateway:~ #
--
// Lev Serebryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20191001/26680778/attachment.sig>
More information about the freebsd-fs
mailing list