[sheepdog-users] Mount a snapshot

Liu Yuan namei.unix at gmail.com
Fri Mar 15 03:56:31 CET 2013


On 03/14/2013 11:58 PM, Valerio Pachera wrote:
> 2013/3/14 Liu Yuan <namei.unix at gmail.com>:
>> I can't reproduce the problem. what is fs hosting /tmp/sheepfs_test/
>> mountpoint?
> 
> I tried both ext3 (/tmp/sheepfs) and xfs (/mnt/sdb1).
> I can tell you I was able to use it at some point.
> I stopped and restart my cluster for other reasons and now I get the
> problem again.
> The cluster seems to be ok: status is running; vdi check works fine.
> 
> root at sheepdog001:~# collie vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
>   win2003      0   60 GB  3.4 GB  0.0 MB 2013-03-06 15:01    64c5e
> 3
>   wheezy       0   10 GB  1.8 GB  0.0 MB 2013-03-06 15:06   9533ed
> 3
> s squeeze      1   10 GB  1.7 GB  0.0 MB 2013-03-13 14:37   a34c67
> 3
> s squeeze      2   10 GB  208 MB  1.5 GB 2013-03-13 14:41   a34c6b
> 3
> s squeeze      3   10 GB  172 MB  1.6 GB 2013-03-13 14:43   a34c6c
> 3
>   squeeze      0   10 GB  240 MB  1.5 GB 2013-03-13 14:46   a34c6d     3
> 
> root at sheepdog001:~# sheepfs /tmp/sheepfs/
> failed to create sheepfs layout

You don't need to remount sheepfs even you have stopped the cluster. If
you ever want to remount it, you need to firstly umount the mount point. So
 $ sheepfs mountpoint # mount it
 $ umount mountpoint # unmount it

If you still have problems, would be great if you can give a script that
can reproduce the problem easily.

Thanks,
Yuan



More information about the sheepdog-users mailing list