[Gluster-users] Start a new volume with pre-existing directories

Dan Bretherton d.a.bretherton at reading.ac.uk
Fri Dec 10 10:45:15 UTC 2010


On 03/12/2010 10:15, gluster-users-request at gluster.org wrote:
> Message: 5
> Date: Fri, 03 Dec 2010 01:10:31 -0800
> From: Craig Carl<craig at gluster.com>
> Subject: Re: [Gluster-users] Start a new volume with pre-existing
>          directories
> To:gluster-users at gluster.org
> Message-ID:<4CF8B407.2070203 at gluster.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Daniel -
>      If you want to export existing data you will need to run the self
> heal process so extended attributes can get written. While this should
> work without any issues it isn't an officially supported process, please
> make sure you have complete and up to date backups.
>
> After you have setup and started the Gluster volume mount it locally on
> one of the servers using `mount -t  glusterfs localhost:/<volname>
> /<some temporary mount>`. CD into the root of the mount point and run
> `find . | xargs stat>>/dev/null 2>&1` to start a self heal.
>
> Also the command you used to create the volume should not have worked,
> it is missing a volume name - gluster volume create<VOLNAME>  transport
> tcp fs7:/storage/7, fs8:/storage/8, typo maybe?
>
> Please let us know how it goes, and please let me know if you have any
> other questions.
>
> Thanks,
>
> Craig
>
> -->
> Craig Carl
> Senior Systems Engineer; Gluster, Inc.
> Cell - (408) 829-9953 (California, USA)
> Office - (408) 770-1884
> Gtalk -craig.carl at gmail.com
> Twitter - @gluster
> http://rackerhacker.com/2010/08/11/one-month-with-glusterfs-in-production/
>
>    
Craig, is this the recommended self heal method in all cases now then, 
or is "ls -aR" still better in some circumstances?
-Dan.



More information about the Gluster-users mailing list