ignite boot, nfs mount error, permission denied (1068 Views)
Reply
Regular Advisor
silusan
Posts: 136
Registered: ‎08-23-2011
Message 1 of 4 (1,068 Views)

ignite boot, nfs mount error, permission denied

[ Edited ]

 

 

When I boot a client using ignite.....

* Download_mini-system:  Complete
       * Loading_software:  Begin
       * Installing boot area on disk.
       * Formatting HP Service Partition.
       * Enabling swap areas.
       * Number of archives to install: 1
       * Number of depots to install from: 1
       * Processing the archive source (VMGuest on BL860c-i2 Golden Image).
nfs mount: 172.15.151.87:/var/opt/ignite/recovery/archives: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs"
nfs mount: 172.15.151.87:/var/opt/ignite/recovery/archives: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs"
nfs mount: 172.15.151.87:/var/opt/ignite/recovery/archives: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs"
nfs mount: 172.15.151.87:/var/opt/ignite/recovery/archives: Permission denied
NOTE:    Retrying: "/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs"
nfs mount: 172.15.151.87:/var/opt/ignite/recovery/archives: Permission denied
NOTE:    NFS mount (/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs) failed, see messages above.
ERROR:   Command "/sbin/fs/nfs/mount -oro 172.15.151.87:/var/opt/ignite/recovery/archives /tmp/ign_configure/archive_nfs" failed. Ensure that "/var/opt/ignite/recovery/archives" is properly exported on 172.15.151.87.
ERROR:   Cannot load OS archive(s) (VMGuest on BL860c-i2 Golden Image)


The configuration process has incurred an error, choose one of the following options

        1) abort and reboot
        2) ignore error and continue
        3) push a shell for troubleshooting the problem
        (At any time within the shell, type "exit" to return to this menu)

 


on ignite server,


1. the image archive is in the directory:
drwxrwxrwx  54 bin        bin           2048 Apr  5 10:46 /var/opt/ignite/recovery/archives

2. the image is:
-rw-rw-rw-   1 bin        bin        3933344755 Mar 27 15:51 guestimage.gz


3. root2@ignite:/var/opt/ignite # cat /etc/exports

/var/opt/ignite/recovery/archives -ro,anon=2
/var/opt/ignite/recovery/archives/igniteserver -anon=2,access=igniteserver
/var/opt/ignite/recovery/archives/guest1 -anon=2,access=guest_abc
/var/opt/ignite/recovery/archives/guest2 -anon=2,access=guest2

/var/opt/ignite/recovery/archives/guestyy -anon=2,access=guest2
.
.
/var/opt/ignite/depots/recovery_cmds -anon=65534
/var/opt/ignite/clients -anon=2
/var/opt/ignite/recovery/archives/guestimage.gz -anon=2
root2@hhln-mgt-ign101:/var/opt/ignite #

 

 

4. root2@ignite:/var/opt/ignite # exportfs -av
re-exported /var/opt/ignite/scripts
re-exported /var/spool/sw
re-exported /var/opt/ignite/archives/Rel_B.11.31
re-exported /var/opt/ignite/depots.org
exportfs error: /var/opt/ignite/recovery/archives: sub-directory (/var/opt/ignite/recovery/archives/guest_abc) already exported
exported /var/opt/ignite/recovery/archives/hhln-mgt-ign101
re-exported /var/opt/ignite/recovery/archives/guest1
re-exported /var/opt/ignite/recovery/archives/guest2
re-exported /var/opt/ignite/recovery/archives/guest3
re-exported /var/opt/ignite/recovery/archives/guest4
.
.
re-exported /var/opt/ignite/recovery/archives/guest
re-exported /var/opt/ignite/depots/xxxx
re-exported /var/opt/ignite/clients
re-exported /var/opt/ignite/recovery/archives/guest.gz
root2@ignite1:/var/opt/ignite #

Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 2 of 4 (1,035 Views)

Re: ignite boot, nfs mount error, permission denied

>exportfs error: /var/opt/ignite/recovery/archives: sub-directory (/var/opt/ignite/recovery/archives/guest_abc) already exported

 

I don't know if that means it was never exported?  Or because of ordering, it couldn't be re-exported?

 

What does "more /etc/xtab" show?

Regular Advisor
silusan
Posts: 136
Registered: ‎08-23-2011
Message 3 of 4 (1,028 Views)

Re: ignite boot, nfs mount error, permission denied

I have been trying to boot/ignite a vm guest.

the golden image is guest_abc.gz

its path is "/var/opt/ignite/recovery/archives/guest_abc.gz"

 

igniteserver:/ # more /etc/xtab
/var/opt/ignite/scripts -anon=2
/var/spool/sw -anon=2
/var/opt/ignite/archives/Rel_B.11.31 -anon=2
/var/opt/ignite/recovery/archives/igniteserver -anon=2,access=igniteserver
/var/opt/ignite/recovery/archives/guest1 -anon=2,access=guest1
/var/opt/ignite/recovery/archives/guest2 -anon=2,access=guest2
/var/opt/ignite/recovery/archives/guest3 -anon=2,access=guest3
.
.
.
/var/opt/ignite/recovery/archives/guestn -anon=2,access=guestn
/var/opt/ignite/clients -anon=2
/var/opt/ignite/recovery/archives/guest_abc.gz -anon=2
igniteserver:/ #

Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 4 of 4 (1,003 Views)

Re: ignite boot, nfs mount error, permission denied

>igniteserver:/ # more /etc/xtab

 

I don't see /var/opt/ignite/recovery/archives in your list.  Is it in the "..." part?

 

You seem to be exporting subdirectories and not the top?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.