gmzang / maczfs

Automatically exported from code.google.com/p/maczfs
Other
0 stars 0 forks source link

Cannot promote cloned dataset #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to promote a clone fails with "out of space".
This on Lion, running 74.1.0.

root# zfs list -o name,used,avail,origin
NAME                                        USED  AVAIL  ORIGIN
backup                                      257G   200G  -
backup/alexs-imac                           257G   200G  -
backup/alexs-imac/110806-2310               256G   200G  -
backup/alexs-imac/110806-2310@110806-2310    54K      -  -
backup/alexs-imac/110807-1056              29.6M   200G  
backup/alexs-imac/110806-2310@110806-2310
backup/alexs-imac/110807-1056@110807-1056    52K      -  -

root# zfs promote backup/alexs-imac/110807-1056
cannot promote 'backup/alexs-imac/110807-1056': out of space

Promoting the clone works perfectly fine on FreeBSD (running zfs v15).

So probably some space accounting bug?

Original issue reported on code.google.com by jt...@imperial.ac.uk on 7 Aug 2011 at 11:23

GoogleCodeExporter commented 8 years ago
Oh might be worth mentioning that I could not recreate this problem in a test 
case with file vdevs.

Original comment by jt...@imperial.ac.uk on 7 Aug 2011 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by googlelogin@bjoern-kahl.de on 28 Jul 2015 at 9:58