Segunda-feira, 4 de Agosto de 2014 5:24:28 UTC+1, Nikolaus Rath escreveu:
>
> On 08/03/2014 08:07 PM, Alexandre Goncalves wrote: 
> > Hello, 
> > 
> > 
> > I want mount my bucket as needed, so I tried to configure autofs to 
> > mount the gs bucket. 
> > 
> > Tried this, without luck: 
> > 
> > auto.master: 
> > 
> > /gs-backup      /etc/auto.gs            --timeout=300 
> > 
> > 
> > auto.gs: 
> > * -fstype=s3ql,rw,allow_other gs://ideiao-bkp --authfile 
> > /root/scripts/.s3ql_authinfo2 
> > 
> > Note: 
> > 
> > Mounting manually, works perfectly: 
> > 
> > mount.s3ql gs://ideiao-bkp  /mnt/1 --authfile 
> /root/scripts/.s3ql_authinfo2 
> > Using 10 upload threads. 
> > Autodetected 4034 file descriptors available for cache entries 
> > Using cached metadata. 
> > Setting cache size to 6935 MB 
> > Mounting filesystem... 
> > 
> > Any suggestions? 
>
> If you elaborate on what "without luck" means (maybe even include a 
> specific error message), someone might be able to help you. 
>
>
> Best, 
> -Nikolaus 
>
> -- 
> GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F 
> Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F 
>
>              »Time flies like an arrow, fruit flies like a Banana.« 
>


Activating the debug option, I got on the log files:


Aug  4 14:31:34 svrx automount[26444]: master_do_mount: mounting /gs-backup
Aug  4 14:31:34 svrx automount[26444]: automount_path_to_fifo: fifo name 
/var/run/autofs.fifo-gs-backup
Aug  4 14:31:34 svrx automount[26444]: lookup_nss_read_map: reading map 
file /etc/auto.gs
Aug  4 14:31:34 svrx automount[26444]: mounted indirect on /gs-backup with 
timeout 300, freq 75 seconds
Aug  4 14:31:34 svrx automount[26444]: st_ready: st_ready(): state = 0 path 
/gs-backup
Aug  4 14:31:51 svrx automount[26444]: attempting to mount entry 
/gs-backup/ideiao-bkp
Aug  4 14:31:51 svrx automount[26444]: lookup_mount: lookup(file): 
ideiao-bkp -> -fstype=s3ql,rw,allow_other gs://ideiao-bkp --authfile 
/root/scripts/.s3ql_authinfo2
Aug  4 14:31:51 svrx automount[26444]: parse_mount: parse(sun): expanded 
entry: -fstype=s3ql,rw,allow_other gs://ideiao-bkp --authfile 
/root/scripts/.s3ql_authinfo2
Aug  4 14:31:51 svrx automount[26444]: parse_mapent: parse(sun): 
dequote("gs://ideiao-bkp") -> gs://ideiao-bkp
Aug  4 14:31:51 svrx automount[26444]: update_offset_entry: parse(sun): 
updated multi-mount offset / -> -fstype=s3ql,rw,allow_other gs://ideiao-bkp 
--authfile
Aug  4 14:31:51 svrx automount[26444]: cache_delete_offset_list: deleting 
offset key /gs-backup/ideiao-bkp/
Aug  4 14:31:51 svrx automount[26444]: failed to mount /gs-backup/ideiao-bkp
Aug  4 14:31:51 svrx automount[26444]: attempting to mount entry 
/gs-backup/ideiao-bkp
Aug  4 14:31:51 svrx automount[26444]: failed to mount /gs-backup/ideiao-bkp

The file auto.gs was changed to:

ideiao-bkp -fstype=s3ql,rw,allow_other gs://ideiao-bkp --authfile 
/root/scripts/.s3ql_authinfo2


and this command was used to access the gs file system:

ls /gs-backup/ideiao-bkp


Thanks

Alex
 

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to