* Automounting DVD images @ 2006-12-08 16:59 Michael 2006-12-08 18:30 ` Ian Kent 0 siblings, 1 reply; 9+ messages in thread From: Michael @ 2006-12-08 16:59 UTC (permalink / raw) To: autofs mailing list Hello, I have been trying to get autofs to mount DVD iso images but so far have been unsuccessful. I want to make this work from various client machines and not on the machine that servers out the iso. I tried some examples from the web but can't seem to make them work. I can mount the file by hand over NFS without any issues. Here is my configuration NIS: auto.master /mythtv auto.mythtv bg,hard,intr,retry=10000,rsize=32768,wsize=32768,timeo=600,nfsvers=3,tcp auto.mythtv iso --timeout=60 -fstype=autofs auto.mythtv.iso video -rw filer:/export/services/mythtv/video auto.mythtv.iso * -fstype=iso9660,ro,loop /mythtv/video/Movies/& I have tried various incarnations of the auto.mythtv.iso map but none actually worked. Can someone give me a hint? [root@fc5 mythtv]# cd /mythtv/iso [root@fc5 iso]# cd MOVIE.iso -bash: cd: MOVIE.iso: No such file or directory Here is log from a FC5 box with autofs.4.1.4-33 Dec 8 09:44:19 fc5 automount[30292]: failed to mount /mythtv/iso/MOVIE.iso Here is the log from a FC6 box with autofs 5.0.1-0.rc2.28.1 Dec 8 09:50:20 fc6 automount[2557]: mounted indirect mount on /mythtv/iso with timeout 300, freq 75 seconds Dec 8 09:50:20 fc6 automount[2557]: ghosting enabled Dec 8 09:50:20 fc6 automount[2557]: mounted /mythtv/iso Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: file map not found Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: file map not found Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: file map not found Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso Thanks, Michael ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-08 16:59 Automounting DVD images Michael @ 2006-12-08 18:30 ` Ian Kent 2006-12-08 20:15 ` Michael 0 siblings, 1 reply; 9+ messages in thread From: Ian Kent @ 2006-12-08 18:30 UTC (permalink / raw) To: Michael; +Cc: autofs mailing list On Fri, 2006-12-08 at 09:59 -0700, Michael wrote: > Hello, > > I have been trying to get autofs to mount DVD iso images but so far have > been unsuccessful. I want to make this work from various client > machines and not on the machine that servers out the iso. > > I tried some examples from the web but can't seem to make them work. I > can mount the file by hand over NFS without any issues. > > Here is my configuration > > NIS: > > auto.master > /mythtv auto.mythtv > bg,hard,intr,retry=10000,rsize=32768,wsize=32768,timeo=600,nfsvers=3,tcp > > auto.mythtv > iso --timeout=60 -fstype=autofs auto.mythtv.iso > video -rw filer:/export/services/mythtv/video > > auto.mythtv.iso > * -fstype=iso9660,ro,loop /mythtv/video/Movies/& What happens if you use: * -fstype=iso9660,ro,loop :/mythtv/video/Movies/& > > I have tried various incarnations of the auto.mythtv.iso map but none > actually worked. Can someone give me a hint? > > [root@fc5 mythtv]# cd /mythtv/iso > [root@fc5 iso]# cd MOVIE.iso > -bash: cd: MOVIE.iso: No such file or directory > > Here is log from a FC5 box with autofs.4.1.4-33 > Dec 8 09:44:19 fc5 automount[30292]: failed to mount /mythtv/iso/MOVIE.iso > > Here is the log from a FC6 box with autofs 5.0.1-0.rc2.28.1 > Dec 8 09:50:20 fc6 automount[2557]: mounted indirect mount on > /mythtv/iso with timeout 300, freq 75 seconds > Dec 8 09:50:20 fc6 automount[2557]: ghosting enabled > Dec 8 09:50:20 fc6 automount[2557]: mounted /mythtv/iso > Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: > file map not found > Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso > Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: > file map not found > Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso > Dec 8 09:50:24 fc6 automount[2557]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 09:50:24 fc6 automount[2557]: lookup_name_file_source_instance: > file map not found > Dec 8 09:50:24 fc6 automount[2557]: failed to mount /mythtv/iso/MOVIE.iso > > Thanks, > Michael > > > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-08 18:30 ` Ian Kent @ 2006-12-08 20:15 ` Michael 2006-12-09 3:42 ` Ian Kent 2006-12-11 3:48 ` Ian Kent 0 siblings, 2 replies; 9+ messages in thread From: Michael @ 2006-12-08 20:15 UTC (permalink / raw) To: Ian Kent; +Cc: autofs mailing list Ian Kent wrote: > On Fri, 2006-12-08 at 09:59 -0700, Michael wrote: > >> Hello, >> >> I have been trying to get autofs to mount DVD iso images but so far have >> been unsuccessful. I want to make this work from various client >> machines and not on the machine that servers out the iso. >> >> I tried some examples from the web but can't seem to make them work. I >> can mount the file by hand over NFS without any issues. >> >> Here is my configuration >> >> NIS: >> >> auto.master >> /mythtv auto.mythtv >> bg,hard,intr,retry=10000,rsize=32768,wsize=32768,timeo=600,nfsvers=3,tcp >> >> auto.mythtv >> iso --timeout=60 -fstype=autofs auto.mythtv.iso >> video -rw filer:/export/services/mythtv/video >> >> auto.mythtv.iso >> * -fstype=iso9660,ro,loop /mythtv/video/Movies/& >> > What happens if you use: > * -fstype=iso9660,ro,loop :/mythtv/video/Movies/& > > Same: Dec 8 13:12:27 fc6 automount[12059]: mounted /mythtv/iso Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: file map not found Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: file map not found Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: file map not found Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso Michael ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-08 20:15 ` Michael @ 2006-12-09 3:42 ` Ian Kent 2006-12-09 5:23 ` Michael 2006-12-11 3:48 ` Ian Kent 1 sibling, 1 reply; 9+ messages in thread From: Ian Kent @ 2006-12-09 3:42 UTC (permalink / raw) To: Michael; +Cc: autofs mailing list On Fri, 2006-12-08 at 13:15 -0700, Michael wrote: > Ian Kent wrote: > > On Fri, 2006-12-08 at 09:59 -0700, Michael wrote: > > > >> Hello, > >> > >> I have been trying to get autofs to mount DVD iso images but so far have > >> been unsuccessful. I want to make this work from various client > >> machines and not on the machine that servers out the iso. > >> > >> I tried some examples from the web but can't seem to make them work. I > >> can mount the file by hand over NFS without any issues. > >> > >> Here is my configuration > >> > >> NIS: > >> > >> auto.master > >> /mythtv auto.mythtv > >> bg,hard,intr,retry=10000,rsize=32768,wsize=32768,timeo=600,nfsvers=3,tcp > >> > >> auto.mythtv > >> iso --timeout=60 -fstype=autofs auto.mythtv.iso > >> video -rw filer:/export/services/mythtv/video > >> > >> auto.mythtv.iso > >> * -fstype=iso9660,ro,loop /mythtv/video/Movies/& > >> > > What happens if you use: > > * -fstype=iso9660,ro,loop :/mythtv/video/Movies/& > > > > > > Same: > > Dec 8 13:12:27 fc6 automount[12059]: mounted /mythtv/iso > Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: > file map not found > Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso > Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: > file map not found > Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso > Dec 8 13:12:35 fc6 automount[12059]: attempting to mount entry > /mythtv/iso/MOVIE.iso > Dec 8 13:12:35 fc6 automount[12059]: lookup_name_file_source_instance: > file map not found > Dec 8 13:12:35 fc6 automount[12059]: failed to mount /mythtv/iso/MOVIE.iso Then you need to provide a debug log. You need to ensure that daemon.debug is being set somewhere by syslog. Check that because this is not nearly as much logging as would be expected. I'd also add that I don't think the maps are quite right either but I don't have any suggestions atm. So give us the debug log first. Ian ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-09 3:42 ` Ian Kent @ 2006-12-09 5:23 ` Michael 0 siblings, 0 replies; 9+ messages in thread From: Michael @ 2006-12-09 5:23 UTC (permalink / raw) To: Ian Kent; +Cc: autofs mailing list Ian Kent wrote: > On Fri, 2006-12-08 at 13:15 -0700, Michael wrote: > > Then you need to provide a debug log. > You need to ensure that daemon.debug is being set somewhere by syslog. > Check that because this is not nearly as much logging as would be > expected. > > I'd also add that I don't think the maps are quite right either but I > don't have any suggestions atm. So give us the debug log first. > > Ian > > Dec 8 22:14:38 fc6 automount[2587]: handle_packet: type = 3 Dec 8 22:14:38 fc6 automount[2587]: handle_packet_missing_indirect: token 2, name iso, request pid 3381 Dec 8 22:14:38 fc6 automount[2587]: attempting to mount entry /mythtv/iso Dec 8 22:14:38 fc6 automount[2587]: lookup_name_file_source_instance: file map not found Dec 8 22:14:38 fc6 automount[2587]: lookup_mount: lookup(yp): looking up iso Dec 8 22:14:38 fc6 automount[2587]: lookup_mount: lookup(yp): iso -> --timeout=60 -fstype=autofs auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: parse_mount: parse(sun): expanded entry: --timeout=60 -fstype=autofs auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: parse_mount: parse(sun): gathered options: -timeout=60,fstype=autofs Dec 8 22:14:38 fc6 automount[2587]: parse_mount: parse(sun): dequote("auto.mythtv.iso") -> auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: parse_mount: parse(sun): core of entry: options=-timeout=60,fstype=autofs, loc=auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: sun_mount: parse(sun): mounting root /mythtv, mountpoint iso, what auto.mythtv.iso, fstype autofs, options -timeout=60 Dec 8 22:14:38 fc6 automount[2587]: do_mount: auto.mythtv.iso /mythtv/iso type autofs options -timeout=60 using module autofs Dec 8 22:14:38 fc6 automount[2587]: mount_mount: mount(autofs): fullpath=/mythtv/iso what=auto.mythtv.iso options=-timeout=60 Dec 8 22:14:38 fc6 automount[2587]: lookup_nss_read_map: reading map files auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: read_file_source_instance: file map /etc/auto.mythtv.iso not found Dec 8 22:14:38 fc6 automount[2587]: lookup_nss_read_map: reading map nis auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: lookup_init: lookup(yp): ctxt->mapname=auto.mythtv.iso Dec 8 22:14:38 fc6 automount[2587]: parse_init: parse(sun): init gathered global options: timeout=60 Dec 8 22:14:38 fc6 automount[2587]: mounted indirect mount on /mythtv/iso with timeout 300, freq 75 seconds Dec 8 22:14:38 fc6 automount[2587]: ghosting enabled Dec 8 22:14:38 fc6 automount[2587]: send_ready: token = 2 Dec 8 22:14:38 fc6 automount[2587]: mounted /mythtv/iso Dec 8 22:14:38 fc6 automount[2587]: handle_packet: type = 3 Dec 8 22:14:38 fc6 automount[2587]: handle_packet_missing_indirect: token 3, name MOVIE.iso, request pid 3381 Dec 8 22:14:38 fc6 automount[2587]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: lookup_name_file_source_instance: file map not found Dec 8 22:14:38 fc6 automount[2587]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: send_fail: token = 3 Dec 8 22:14:38 fc6 automount[2587]: handle_packet: type = 3 Dec 8 22:14:38 fc6 automount[2587]: handle_packet_missing_indirect: token 4, name MOVIE.iso, request pid 3381 Dec 8 22:14:38 fc6 automount[2587]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: lookup_name_file_source_instance: file map not found Dec 8 22:14:38 fc6 automount[2587]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: send_fail: token = 4 Dec 8 22:14:38 fc6 automount[2587]: handle_packet: type = 3 Dec 8 22:14:38 fc6 automount[2587]: handle_packet_missing_indirect: token 5, name MOVIE.iso, request pid 3381 Dec 8 22:14:38 fc6 automount[2587]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: lookup_name_file_source_instance: file map not found Dec 8 22:14:38 fc6 automount[2587]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 8 22:14:38 fc6 automount[2587]: send_fail: token = 5 Dec 8 22:14:38 fc6 automount[2587]: failed to mount /mythtv/iso/MOVIE.iso Dec 8 22:14:47 fc6 ntpd[2652]: synchronized to 192.168.101.1, stratum 3 Dec 8 22:14:51 fc6 automount[2587]: st_expire: state 1 path /home Dec 8 22:14:51 fc6 automount[2587]: expire_proc: exp_proc = 1086486848 path /home Dec 8 22:14:51 fc6 automount[2587]: expire_proc_indirect: expire /home/mikey Dec 8 22:14:52 fc6 automount[2587]: expire_proc_indirect: 1 remaining in /home Dec 8 22:14:52 fc6 automount[2587]: mount still busy /home Dec 8 22:14:52 fc6 automount[2587]: expire_cleanup: got thid 1086486848 path /home stat 2 Dec 8 22:14:52 fc6 automount[2587]: expire_cleanup: sigchld: exp 1086486848 finished, switching from 2 to 1 Dec 8 22:14:52 fc6 automount[2587]: st_ready: st_ready(): state = 2 path /home Dec 8 22:15:02 fc6 automount[2587]: st_expire: state 1 path /mythtv Dec 8 22:15:02 fc6 automount[2587]: expire_proc: exp_proc = 1086486848 path /mythtv Dec 8 22:15:02 fc6 automount[2587]: st_expire: state 1 path /mythtv/iso Dec 8 22:15:02 fc6 automount[2587]: expire_proc: exp_proc = 1099077952 path /mythtv/iso Dec 8 22:15:02 fc6 automount[2587]: expire_cleanup: got thid 1099077952 path /mythtv/iso stat 0 Dec 8 22:15:02 fc6 automount[2587]: expire_cleanup: sigchld: exp 1099077952 finished, switching from 2 to 1 Dec 8 22:15:02 fc6 automount[2587]: st_ready: st_ready(): state = 2 path /mythtv/iso Dec 8 22:15:02 fc6 automount[2587]: expire_proc_indirect: 1 submounts remaining in /mythtv Dec 8 22:15:02 fc6 automount[2587]: mount still busy /mythtv Dec 8 22:15:02 fc6 automount[2587]: expire_cleanup: got thid 1086486848 path /mythtv stat 1 Dec 8 22:15:02 fc6 automount[2587]: expire_cleanup: sigchld: exp 1086486848 finished, switching from 2 to 1 Dec 8 22:15:02 fc6 automount[2587]: st_ready: st_ready(): state = 2 path /mythtv Dec 8 22:15:19 fc6 automount[2587]: st_expire: state 1 path /misc Dec 8 22:15:19 fc6 automount[2587]: expire_proc: exp_proc = 1086486848 path /misc Dec 8 22:15:19 fc6 automount[2587]: expire_cleanup: got thid 1086486848 path /misc stat 0 Dec 8 22:15:19 fc6 automount[2587]: expire_cleanup: sigchld: exp 1086486848 finished, switching from 2 to 1 Dec 8 22:15:19 fc6 automount[2587]: st_ready: st_ready(): state = 2 path /misc Dec 8 22:15:23 fc6 automount[2587]: st_expire: state 1 path /net Dec 8 22:15:23 fc6 automount[2587]: expire_proc: exp_proc = 1086486848 path /net Dec 8 22:15:23 fc6 automount[2587]: expire_cleanup: got thid 1086486848 path /net stat 0 Dec 8 22:15:23 fc6 automount[2587]: expire_cleanup: sigchld: exp 1086486848 finished, switching from 2 to 1 Dec 8 22:15:23 fc6 automount[2587]: st_ready: st_ready(): state = 2 path /net Michael ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-08 20:15 ` Michael 2006-12-09 3:42 ` Ian Kent @ 2006-12-11 3:48 ` Ian Kent 2006-12-12 18:46 ` Michael 1 sibling, 1 reply; 9+ messages in thread From: Ian Kent @ 2006-12-11 3:48 UTC (permalink / raw) To: Michael; +Cc: autofs mailing list On Fri, 2006-12-08 at 13:15 -0700, Michael wrote: > Ian Kent wrote: > > On Fri, 2006-12-08 at 09:59 -0700, Michael wrote: > > > >> Hello, > >> > >> I have been trying to get autofs to mount DVD iso images but so far have > >> been unsuccessful. I want to make this work from various client > >> machines and not on the machine that servers out the iso. > >> > >> I tried some examples from the web but can't seem to make them work. I > >> can mount the file by hand over NFS without any issues. > >> > >> Here is my configuration > >> > >> NIS: > >> > >> auto.master > >> /mythtv auto.mythtv > >> bg,hard,intr,retry=10000,rsize=32768,wsize=32768,timeo=600,nfsvers=3,tcp > >> > >> auto.mythtv > >> iso --timeout=60 -fstype=autofs auto.mythtv.iso > >> video -rw filer:/export/services/mythtv/video > >> > >> auto.mythtv.iso > >> * -fstype=iso9660,ro,loop /mythtv/video/Movies/& > >> > > What happens if you use: > > * -fstype=iso9660,ro,loop :/mythtv/video/Movies/& > > > > What happens if you also use this patch: diff --git a/daemon/spawn.c b/daemon/spawn.c index 7f0a6e0..6f59bf2 100644 --- a/daemon/spawn.c +++ b/daemon/spawn.c @@ -272,7 +272,7 @@ int spawn_mount(logger *log, ...) #ifdef ENABLE_MOUNT_LOCKING options = SPAWN_OPT_LOCK; #else - options = SPAWN_OPT_NONE; + options = SPAWN_OPT_ACCESS; #endif va_start(arg, log); ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-11 3:48 ` Ian Kent @ 2006-12-12 18:46 ` Michael 2006-12-13 2:07 ` Ian Kent 0 siblings, 1 reply; 9+ messages in thread From: Michael @ 2006-12-12 18:46 UTC (permalink / raw) To: Ian Kent; +Cc: autofs mailing list [-- Attachment #1: Type: text/plain, Size: 584 bytes --] Ian Kent wrote: > What happens if you also use this patch: > > diff --git a/daemon/spawn.c b/daemon/spawn.c > index 7f0a6e0..6f59bf2 100644 > --- a/daemon/spawn.c > +++ b/daemon/spawn.c > @@ -272,7 +272,7 @@ int spawn_mount(logger *log, ...) > #ifdef ENABLE_MOUNT_LOCKING > options = SPAWN_OPT_LOCK; > #else > - options = SPAWN_OPT_NONE; > + options = SPAWN_OPT_ACCESS; > #endif > > va_start(arg, log); > > That seems to break autofs rather badly. With that patch I can no longer mount my home directory or the directory where the iso file actually lives. Michael [-- Attachment #2: debug.autofs --] [-- Type: text/plain, Size: 8578 bytes --] Dec 12 11:36:30 fcvm automount[2028]: st_expire: state 1 path /mythtv Dec 12 11:36:30 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /mythtv Dec 12 11:36:30 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /mythtv stat 0 Dec 12 11:36:30 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 Dec 12 11:36:30 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /mythtv Dec 12 11:36:32 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:32 fcvm automount[2028]: handle_packet_missing_indirect: token 1, name iso, request pid 2545 Dec 12 11:36:32 fcvm automount[2028]: attempting to mount entry /mythtv/iso Dec 12 11:36:32 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:32 fcvm automount[2028]: lookup_mount: lookup(yp): looking up iso Dec 12 11:36:32 fcvm automount[2028]: lookup_mount: lookup(yp): iso -> --timeout=60 -fstype=autofs auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): expanded entry: --timeout=60 -fstype=autofs auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): gathered options: -timeout=60,fstype=autofs Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): dequote("auto.mythtv.iso") -> auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): core of entry: options=-timeout=60,fstype=autofs, loc=auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: sun_mount: parse(sun): mounting root /mythtv, mountpoint iso, what auto.mythtv.iso, fstype autofs, options -timeout=60 Dec 12 11:36:32 fcvm automount[2028]: do_mount: auto.mythtv.iso /mythtv/iso type autofs options -timeout=60 using module autofs Dec 12 11:36:32 fcvm automount[2028]: mount_mount: mount(autofs): fullpath=/mythtv/iso what=auto.mythtv.iso options=-timeout=60 Dec 12 11:36:32 fcvm automount[2028]: lookup_nss_read_map: reading map files auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: read_file_source_instance: file map /etc/auto.mythtv.iso not found Dec 12 11:36:32 fcvm automount[2028]: lookup_nss_read_map: reading map nis auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: lookup_init: lookup(yp): ctxt->mapname=auto.mythtv.iso Dec 12 11:36:32 fcvm automount[2028]: parse_init: parse(sun): init gathered global options: timeout=60 Dec 12 11:36:32 fcvm automount[2028]: mounted indirect mount on /mythtv/iso with timeout 300, freq 75 seconds Dec 12 11:36:32 fcvm automount[2028]: ghosting enabled Dec 12 11:36:32 fcvm automount[2028]: send_ready: token = 1 Dec 12 11:36:32 fcvm automount[2028]: mounted /mythtv/iso Dec 12 11:36:48 fcvm automount[2028]: st_expire: state 1 path /misc Dec 12 11:36:48 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /misc Dec 12 11:36:48 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /misc stat 0 Dec 12 11:36:48 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 Dec 12 11:36:48 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /misc Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 2, name MOVIE.iso, request pid 2545 Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 2 Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 3, name MOVIE.iso, request pid 2545 Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 3 Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 4, name MOVIE.iso, request pid 2545 Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 4 Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso Dec 12 11:36:51 fcvm automount[2028]: st_expire: state 1 path /net Dec 12 11:36:51 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /net Dec 12 11:36:51 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /net stat 0 Dec 12 11:36:51 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 Dec 12 11:36:51 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /net Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 5, name mikey, request pid 2545 Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): mikey -> -rw filer:/export/users/& Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): expanded entry: -rw filer:/export/users/mikey Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): gathered options: rw Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): dequote("filer:/export/users/mikey") -> filer:/export/users/mikey Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): core of entry: options=rw, loc=filer:/export/users/mikey Dec 12 11:36:52 fcvm automount[2028]: sun_mount: parse(sun): mounting root /home, mountpoint mikey, what filer:/export/users/mikey, fstype nfs, options rw Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): root=/home name=mikey what=filer:/export/users/mikey, fstype=nfs, options=rw Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): nfs options="rw", nosymlink=0, ro=0 Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): calling mkdir_path /home/mikey Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): calling mount -t nfs -s -o rw filer:/export/users/mikey /home/mikey Dec 12 11:36:52 fcvm automount[2028]: mount(nfs): nfs: mount failure filer:/export/users/mikey on /home/mikey Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 5 Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 6, name mikey, request pid 2545 Dec 12 11:36:52 fcvm automount[2028]: failed to mount /home/mikey Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 6 Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 7, name mikey, request pid 2545 Dec 12 11:36:52 fcvm automount[2028]: failed to mount /home/mikey Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 7 Dec 12 11:36:53 fcvm automount[2028]: failed to mount /home/mikey Dec 12 11:36:59 fcvm automount[2028]: st_expire: state 1 path /services Dec 12 11:36:59 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /services Dec 12 11:36:59 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /services stat 0 Dec 12 11:36:59 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 Dec 12 11:36:59 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /services [-- Attachment #3: Type: text/plain, Size: 140 bytes --] _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-12 18:46 ` Michael @ 2006-12-13 2:07 ` Ian Kent 2006-12-13 16:14 ` Michael 0 siblings, 1 reply; 9+ messages in thread From: Ian Kent @ 2006-12-13 2:07 UTC (permalink / raw) To: Michael; +Cc: autofs mailing list On Tue, 2006-12-12 at 11:46 -0700, Michael wrote: > Ian Kent wrote: > > What happens if you also use this patch: > > > > diff --git a/daemon/spawn.c b/daemon/spawn.c > > index 7f0a6e0..6f59bf2 100644 > > --- a/daemon/spawn.c > > +++ b/daemon/spawn.c > > @@ -272,7 +272,7 @@ int spawn_mount(logger *log, ...) > > #ifdef ENABLE_MOUNT_LOCKING > > options = SPAWN_OPT_LOCK; > > #else > > - options = SPAWN_OPT_NONE; > > + options = SPAWN_OPT_ACCESS; > > #endif > > > > va_start(arg, log); > > > > > > That seems to break autofs rather badly. With that patch I can no > longer mount my home directory or the directory where the iso file > actually lives. That's a bit of a surprise, I didn't expect it to break other maps. I'll check into that before doing anything else. Does the /home mount also break if you don't use /mythtv map? > > Michael > > > > plain text document attachment (debug.autofs) > Dec 12 11:36:30 fcvm automount[2028]: st_expire: state 1 path /mythtv > Dec 12 11:36:30 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /mythtv > Dec 12 11:36:30 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /mythtv stat 0 > Dec 12 11:36:30 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 > Dec 12 11:36:30 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /mythtv > Dec 12 11:36:32 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:32 fcvm automount[2028]: handle_packet_missing_indirect: token 1, name iso, request pid 2545 > Dec 12 11:36:32 fcvm automount[2028]: attempting to mount entry /mythtv/iso > Dec 12 11:36:32 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:32 fcvm automount[2028]: lookup_mount: lookup(yp): looking up iso > Dec 12 11:36:32 fcvm automount[2028]: lookup_mount: lookup(yp): iso -> --timeout=60 -fstype=autofs auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): expanded entry: --timeout=60 -fstype=autofs auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): gathered options: -timeout=60,fstype=autofs > Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): dequote("auto.mythtv.iso") -> auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: parse_mount: parse(sun): core of entry: options=-timeout=60,fstype=autofs, loc=auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: sun_mount: parse(sun): mounting root /mythtv, mountpoint iso, what auto.mythtv.iso, fstype autofs, options -timeout=60 > Dec 12 11:36:32 fcvm automount[2028]: do_mount: auto.mythtv.iso /mythtv/iso type autofs options -timeout=60 using module autofs > Dec 12 11:36:32 fcvm automount[2028]: mount_mount: mount(autofs): fullpath=/mythtv/iso what=auto.mythtv.iso options=-timeout=60 > Dec 12 11:36:32 fcvm automount[2028]: lookup_nss_read_map: reading map files auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: read_file_source_instance: file map /etc/auto.mythtv.iso not found > Dec 12 11:36:32 fcvm automount[2028]: lookup_nss_read_map: reading map nis auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: lookup_init: lookup(yp): ctxt->mapname=auto.mythtv.iso > Dec 12 11:36:32 fcvm automount[2028]: parse_init: parse(sun): init gathered global options: timeout=60 > Dec 12 11:36:32 fcvm automount[2028]: mounted indirect mount on /mythtv/iso with timeout 300, freq 75 seconds > Dec 12 11:36:32 fcvm automount[2028]: ghosting enabled > Dec 12 11:36:32 fcvm automount[2028]: send_ready: token = 1 > Dec 12 11:36:32 fcvm automount[2028]: mounted /mythtv/iso > Dec 12 11:36:48 fcvm automount[2028]: st_expire: state 1 path /misc > Dec 12 11:36:48 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /misc > Dec 12 11:36:48 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /misc stat 0 > Dec 12 11:36:48 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 > Dec 12 11:36:48 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /misc > Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 2, name MOVIE.iso, request pid 2545 > Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 2 > Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 3, name MOVIE.iso, request pid 2545 > Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 3 > Dec 12 11:36:49 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:49 fcvm automount[2028]: handle_packet_missing_indirect: token 4, name MOVIE.iso, request pid 2545 > Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: attempting to mount entry /mythtv/iso/MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:49 fcvm automount[2028]: lookup_mount: lookup(yp): looking up MOVIE.iso > Dec 12 11:36:49 fcvm automount[2028]: send_fail: token = 4 > Dec 12 11:36:49 fcvm automount[2028]: failed to mount /mythtv/iso/MOVIE.iso > Dec 12 11:36:51 fcvm automount[2028]: st_expire: state 1 path /net > Dec 12 11:36:51 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /net > Dec 12 11:36:51 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /net stat 0 > Dec 12 11:36:51 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 > Dec 12 11:36:51 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /net > Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 5, name mikey, request pid 2545 > Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey > Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): mikey -> -rw filer:/export/users/& > Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): expanded entry: -rw filer:/export/users/mikey > Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): gathered options: rw > Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): dequote("filer:/export/users/mikey") -> filer:/export/users/mikey > Dec 12 11:36:52 fcvm automount[2028]: parse_mount: parse(sun): core of entry: options=rw, loc=filer:/export/users/mikey > Dec 12 11:36:52 fcvm automount[2028]: sun_mount: parse(sun): mounting root /home, mountpoint mikey, what filer:/export/users/mikey, fstype nfs, options rw > Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): root=/home name=mikey what=filer:/export/users/mikey, fstype=nfs, options=rw > Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): nfs options="rw", nosymlink=0, ro=0 > Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): calling mkdir_path /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: mount_mount: mount(nfs): calling mount -t nfs -s -o rw filer:/export/users/mikey /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: mount(nfs): nfs: mount failure filer:/export/users/mikey on /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 5 > Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 6, name mikey, request pid 2545 > Dec 12 11:36:52 fcvm automount[2028]: failed to mount /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey > Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 6 > Dec 12 11:36:52 fcvm automount[2028]: handle_packet: type = 3 > Dec 12 11:36:52 fcvm automount[2028]: handle_packet_missing_indirect: token 7, name mikey, request pid 2545 > Dec 12 11:36:52 fcvm automount[2028]: failed to mount /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: attempting to mount entry /home/mikey > Dec 12 11:36:52 fcvm automount[2028]: lookup_name_file_source_instance: file map not found > Dec 12 11:36:52 fcvm automount[2028]: lookup_mount: lookup(yp): looking up mikey > Dec 12 11:36:52 fcvm automount[2028]: send_fail: token = 7 > Dec 12 11:36:53 fcvm automount[2028]: failed to mount /home/mikey > Dec 12 11:36:59 fcvm automount[2028]: st_expire: state 1 path /services > Dec 12 11:36:59 fcvm automount[2028]: expire_proc: exp_proc = 3075345296 path /services > Dec 12 11:36:59 fcvm automount[2028]: expire_cleanup: got thid 3075345296 path /services stat 0 > Dec 12 11:36:59 fcvm automount[2028]: expire_cleanup: sigchld: exp 3075345296 finished, switching from 2 to 1 > Dec 12 11:36:59 fcvm automount[2028]: st_ready: st_ready(): state = 2 path /services ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Automounting DVD images 2006-12-13 2:07 ` Ian Kent @ 2006-12-13 16:14 ` Michael 0 siblings, 0 replies; 9+ messages in thread From: Michael @ 2006-12-13 16:14 UTC (permalink / raw) To: Ian Kent; +Cc: autofs mailing list Ian Kent wrote: > That's a bit of a surprise, I didn't expect it to break other maps. > I'll check into that before doing anything else. > > Does the /home mount also break if you don't use /mythtv map? > > Yes, I just rebooted to verify a clean situation. /home doesn't work any more. Some paths work and some don't. Michael ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-12-13 16:14 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-12-08 16:59 Automounting DVD images Michael 2006-12-08 18:30 ` Ian Kent 2006-12-08 20:15 ` Michael 2006-12-09 3:42 ` Ian Kent 2006-12-09 5:23 ` Michael 2006-12-11 3:48 ` Ian Kent 2006-12-12 18:46 ` Michael 2006-12-13 2:07 ` Ian Kent 2006-12-13 16:14 ` Michael
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.