All of lore.kernel.org
 help / color / mirror / Atom feed
* fatal error while init the repo on a nfs mounted drive
@ 2013-06-07  9:25 Thanassis Silis
  2013-06-07 12:11 ` Otavio Salvador
  2013-06-07 12:48 ` Gary Thomas
  0 siblings, 2 replies; 6+ messages in thread
From: Thanassis Silis @ 2013-06-07  9:25 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]


        i am trying to initialize a repo (for yocto development - but it seems to be using the same infrastructure as android). 


since I lack space on the OS drive, I nfs mounted another disk 
(filesystem is ext4 but that probably is irrelevant on the mount-client 
side).


I try to initialize the repo with the command


./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan


and get the error


fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
fatal: [Errno 13] Permission denied


Permissions are fine on the disk. manually I can do file operations without a problem.


Is it impossible to have the repo on an nfs drive (even at the penalty of slower processing)?


Thank you for your help


     		 	   		  

[-- Attachment #2: Type: text/html, Size: 1113 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: fatal error while init the repo on a nfs mounted drive
  2013-06-07  9:25 fatal error while init the repo on a nfs mounted drive Thanassis Silis
@ 2013-06-07 12:11 ` Otavio Salvador
  2013-06-07 12:29   ` Daiane Angolini
  2013-06-07 12:48 ` Gary Thomas
  1 sibling, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2013-06-07 12:11 UTC (permalink / raw)
  To: Thanassis Silis; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

On Fri, Jun 7, 2013 at 6:25 AM, Thanassis Silis <djnass_18@hotmail.com>wrote:

>  i am trying to initialize a repo (for yocto development - but it seems to
> be using the same infrastructure as android).
> since I lack space on the OS drive, I nfs mounted another disk (filesystem
> is ext4 but that probably is irrelevant on the mount-client side).
> I try to initialize the repo with the command
>
> ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan
>
> and get the error
>
> fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> fatal: [Errno 13] Permission denied
>
> Permissions are fine on the disk. manually I can do file operations
> without a problem.
> Is it impossible to have the repo on an nfs drive (even at the penalty of
> slower processing)?
> Thank you for your help
>

I never tried this setup; I use sstate in NFS in some customers but not
full build system.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

[-- Attachment #2: Type: text/html, Size: 1853 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: fatal error while init the repo on a nfs mounted drive
  2013-06-07 12:11 ` Otavio Salvador
@ 2013-06-07 12:29   ` Daiane Angolini
  0 siblings, 0 replies; 6+ messages in thread
From: Daiane Angolini @ 2013-06-07 12:29 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

On 06/07/2013 09:11 AM, Otavio Salvador wrote:
>
>
>
> On Fri, Jun 7, 2013 at 6:25 AM, Thanassis Silis <djnass_18@hotmail.com
> <mailto:djnass_18@hotmail.com>> wrote:
>
>     i am trying to initialize a repo (for yocto development - but it
>     seems to be using the same infrastructure as android).
>     since I lack space on the OS drive, I nfs mounted another disk
>     (filesystem is ext4 but that probably is irrelevant on the
>     mount-client side).
>     I try to initialize the repo with the command
>
>     |./repo init -uhttps://github.com/Freescale/fsl-community-bsp-platform  -b dylan
>     |
>
>     and get the error
>
>     |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
>     fatal: [Errno 13] Permission denied
>     |
>
>     Permissions are fine on the disk. manually I can do file operations
>     without a problem.
>     Is it impossible to have the repo on an nfs drive (even at the
>     penalty of slower processing)?
>     Thank you for your help
>
>
> I never tried this setup; I use sstate in NFS in some customers but not
> full build system.


I have never tried it as well, but error -13 from NFS when mounting 
rootfs is usually associated with missing 'sudo 
/etc/init.d/nfs-serverXXXX restart'

Double check your /etc/export configuration
-- 
Daiane



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: fatal error while init the repo on a nfs mounted drive
  2013-06-07  9:25 fatal error while init the repo on a nfs mounted drive Thanassis Silis
  2013-06-07 12:11 ` Otavio Salvador
@ 2013-06-07 12:48 ` Gary Thomas
  2013-06-07 13:37   ` Thanassis Silis
  1 sibling, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2013-06-07 12:48 UTC (permalink / raw)
  To: meta-freescale

On 2013-06-07 03:25, Thanassis Silis wrote:
> i am trying to initialize a repo (for yocto development - but it seems to be using the same infrastructure as android).
> since I lack space on the OS drive, I nfs mounted another disk (filesystem is ext4 but that probably is irrelevant on the mount-client side).
> I try to initialize the repo with the command
>
> |./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan
> |
>
> and get the error
>
> |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> fatal: [Errno 13] Permission denied
> |
>
> Permissions are fine on the disk. manually I can do file operations without a problem.
> Is it impossible to have the repo on an nfs drive (even at the penalty of slower processing)?
> Thank you for your help

I just tried this and it worked fine.

When you say permissions are fine, did you check it from the
NFS client side?  The error you are getting says that they are
not.  Also, are you running selinux?  If so, make sure that's
set up properly as well.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: fatal error while init the repo on a nfs mounted drive
  2013-06-07 12:48 ` Gary Thomas
@ 2013-06-07 13:37   ` Thanassis Silis
  2013-06-07 15:12     ` Thanassis Silis
  0 siblings, 1 reply; 6+ messages in thread
From: Thanassis Silis @ 2013-06-07 13:37 UTC (permalink / raw)
  To: Gary Thomas, meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2890 bytes --]

Thank you all for your responses.

I suspect some incompatibility in nfs server - client. 
The storage server is running slackware v14 with exports file

       /mnt/lvm starland.skails.home(rw,no_subtree_check,no_root_squash) 

,while the client is a linux mint. 
and I usually have to do the mounting on mint as 

       sudo mount -o vers=3 stargaze:/nfs/lvm /mnt/lvm/

between slackware systems I never need to explicitly set the nfs version .

So with that aside, and having double checked the exports file 
I tried 'touch' and 'mkdir' from the client side (of course!). I can create files and folders so I presume I don't have permission problems...

Anyhow, since Gary provided proof that it works over nfs, I'll  keep on looking for the fault.

Otavio, I have already moved the $SSTATE_DIR to this same nfs exported dir , as per your previous suggestion (in an earlier post) but it doesn't seem to be enough.  Either way I am using a VM for the development system so I am already suffering from slow builds even without the nfs. I believe build time will become marginally worse.

Thank you all once again.
Thanassis


> Date: Fri, 7 Jun 2013 06:48:59 -0600
> From: gary@mlbassoc.com
> To: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs mounted drive
> 
> On 2013-06-07 03:25, Thanassis Silis wrote:
> > i am trying to initialize a repo (for yocto development - but it seems to be using the same infrastructure as android).
> > since I lack space on the OS drive, I nfs mounted another disk (filesystem is ext4 but that probably is irrelevant on the mount-client side).
> > I try to initialize the repo with the command
> >
> > |./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan
> > |
> >
> > and get the error
> >
> > |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > fatal: [Errno 13] Permission denied
> > |
> >
> > Permissions are fine on the disk. manually I can do file operations without a problem.
> > Is it impossible to have the repo on an nfs drive (even at the penalty of slower processing)?
> > Thank you for your help
> 
> I just tried this and it worked fine.
> 
> When you say permissions are fine, did you check it from the
> NFS client side?  The error you are getting says that they are
> not.  Also, are you running selinux?  If so, make sure that's
> set up properly as well.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 3481 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: fatal error while init the repo on a nfs mounted drive
  2013-06-07 13:37   ` Thanassis Silis
@ 2013-06-07 15:12     ` Thanassis Silis
  0 siblings, 0 replies; 6+ messages in thread
From: Thanassis Silis @ 2013-06-07 15:12 UTC (permalink / raw)
  To: Gary Thomas, meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3400 bytes --]

just aheads up. 
and perhaps info useful to some.
seems that using the nfs option 'async' did the trick.


From: djnass_18@hotmail.com
To: gary@mlbassoc.com; meta-freescale@yoctoproject.org
Date: Fri, 7 Jun 2013 13:37:47 +0000
Subject: Re: [meta-freescale] fatal error while init the repo on a nfs mounted drive




Thank you all for your responses.

I suspect some incompatibility in nfs server - client. 
The storage server is running slackware v14 with exports file

       /mnt/lvm starland.skails.home(rw,no_subtree_check,no_root_squash) 

,while the client is a linux mint. 
and I usually have to do the mounting on mint as 

       sudo mount -o vers=3 stargaze:/nfs/lvm /mnt/lvm/

between slackware systems I never need to explicitly set the nfs version .

So with that aside, and having double checked the exports file 
I tried 'touch' and 'mkdir' from the client side (of course!). I can create files and folders so I presume I don't have permission problems...

Anyhow, since Gary provided proof that it works over nfs, I'll  keep on looking for the fault.

Otavio, I have already moved the $SSTATE_DIR to this same nfs exported dir , as per your previous suggestion (in an earlier post) but it doesn't seem to be enough.  Either way I am using a VM for the development system so I am already suffering from slow builds even without the nfs. I believe build time will become marginally worse.

Thank you all once again.
Thanassis


> Date: Fri, 7 Jun 2013 06:48:59 -0600
> From: gary@mlbassoc.com
> To: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs mounted drive
> 
> On 2013-06-07 03:25, Thanassis Silis wrote:
> > i am trying to initialize a repo (for yocto development - but it seems to be using the same infrastructure as android).
> > since I lack space on the OS drive, I nfs mounted another disk (filesystem is ext4 but that probably is irrelevant on the mount-client side).
> > I try to initialize the repo with the command
> >
> > |./repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dylan
> > |
> >
> > and get the error
> >
> > |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > fatal: [Errno 13] Permission denied
> > |
> >
> > Permissions are fine on the disk. manually I can do file operations without a problem.
> > Is it impossible to have the repo on an nfs drive (even at the penalty of slower processing)?
> > Thank you for your help
> 
> I just tried this and it worked fine.
> 
> When you say permissions are fine, did you check it from the
> NFS client side?  The error you are getting says that they are
> not.  Also, are you running selinux?  If so, make sure that's
> set up properly as well.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
 		 	   		  

_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale 		 	   		  

[-- Attachment #2: Type: text/html, Size: 4224 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-07 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07  9:25 fatal error while init the repo on a nfs mounted drive Thanassis Silis
2013-06-07 12:11 ` Otavio Salvador
2013-06-07 12:29   ` Daiane Angolini
2013-06-07 12:48 ` Gary Thomas
2013-06-07 13:37   ` Thanassis Silis
2013-06-07 15:12     ` Thanassis Silis

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.