[... data found... it was just the renamed fs that failed to mount...] Re: [zfs-discuss] Entire content of zfs filesystem disappears after "zfs rename" -- my mistake?!

Richard Yao ryao at cs.stonybrook.edu
Mon Apr 30 14:04:31 EDT 2012


On 04/30/12 13:14, Sergio Ruocco wrote:
> On 04/30/2012 07:07 PM, Darik Horn wrote:
> [ ... snip ... ]
> 
> Thank you Darik!
> 
> I actually managed to find my data. As you wrote, the new filesystem
> just failed to mount on the designated mountpoint.
> 
> [root at monster 19:10 /z2pool]$ zfs mount
> z2pool                          /z2pool
> z2pool/provacifs                /z2pool/provacifs
> z2pool/zfoldertest              /z2pool/zfoldertest
> z2pool/znfsshare                /z2pool/znfsshare
> z2pool/backup-home              /z2pool/backup-home
> 
> [root at monster 19:10 /z2pool]$ zfs mount z2pool/backup-data
> 
> [root at monster 19:10 /z2pool]$ ll
> total 48
> drwx------. 10 sergio sergio    11 Apr 30 19:10 .
> dr-xr-xr-x. 28 root   root    4096 Apr 28 03:24 ..
> drwxrwxr-x.  3 sergio sergio     4 Apr 30 18:12 backup-data
> drwxrwxr-x.  4 sergio sergio     4 Apr 30 16:31 backup-home
> -rw-r--r--.  1 root   root     660 Dec 16 01:23 CmdTool.log
> drwxr-xr-x.  3 root   root       3 Dec 12 11:56 crash-data
> drwxr-xr-x.  2 root   root       2 Jan 31 14:07 home
> drwxr-xr-x.  2 root   root       2 Dec  5 23:52 provacifs
> drwxrwxr-x.  2 sergio sergio     3 Dec 31 17:03 sergio
> drwxrwxr-x.  2 sergio sergio     3 Dec 14 18:34 zfoldertest
> drwxr-xr-x.  3    500 cimsrvr    7 Dec 14 19:53 znfsshare
> 
> [root at monster 19:10 /z2pool]$ cd backup-data/
> 
> [root at monster 19:10 /z2pool/backup-data]$ l
> total 21
> -rw-rw-r--.  1 sergio sergio 2867 Dec  6 02:23
> benchmark-1__10-hdraid2tb.txt
> drwxr-x---. 22 sergio sergio   24 Apr 22 23:52 data
> 
> 
> Thanks again,
> 
>     Sergio

This is a known issue. There is a patch for it, but it needs some work
before it can be integrated into HEAD:

https://github.com/zfsonlinux/zfs/pull/523

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20120430/11d36874/attachment.sig>


More information about the zfs-discuss mailing list