Operating System - HP-UX
1826044 Members
3112 Online
109690 Solutions
New Discussion

Re: Mounting a cdrom from a remote server.

 
pgorn
Frequent Advisor

Mounting a cdrom from a remote server.

I am tring to mount a cdrom from another server on the network so I can run swinstall. This is the error I am getting.

You do not have the required permissions to perform this operation. Check permissions using the "swacl" command
or see your system administrator for assistance. Or, to manage applications designed and packaged for nonprivileged mode, see the "run_as_superuser" option in the "sd" man page.

Thank you,
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: Mounting a cdrom from a remote server.

Shalom,

On remote server:

vi /etc/exports

/cdrom *(ro)

save

exportfs -av

Now you can remote mount via nfs.

Make sure the thing is mounted properly on the remote system prior to exporting.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
pgorn
Frequent Advisor

Re: Mounting a cdrom from a remote server.

I got the same errot when I went into swinstall. I have the source Depot path /SD_CDROM
IT_2007
Honored Contributor

Re: Mounting a cdrom from a remote server.

your id doesn't have permissions to run depot on local machine. ACL has been set on your local machine. You need to add your id to it so that you can install it.

Look at man swacl and some examples given at the end.
pgorn
Frequent Advisor

Re: Mounting a cdrom from a remote server.

my id is root. I should be able to run anything.
Dave Olker
Neighborhood Moderator

Re: Mounting a cdrom from a remote server.

Hi,

Can you please post the contents of your /etc/xtab file from the server and the output from the "nfsstat -m" command on the client. This will show me exactly how the filesystem is exported on the server and exactly how it is mounted on the client.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
NMory
Respected Contributor

Re: Mounting a cdrom from a remote server.

Have you registered the depot?

Register the depot to make it available to remote hosts:

swreg -l depot /tmp/[depot name]

LN
Dave Olker
Neighborhood Moderator

Re: Mounting a cdrom from a remote server.

My concern is if you're trying to run swinstall as a root user on the client and access a depot on a remote NFS server, you'd likely have to export the cdrom with root permission for the client. Otherwise your root user will get its UID/GID remapped to -2 on the server, which would likely result in the ACL error.

Please make sure the cdrom is exported on the server with both the "ro" option and the "root=" option. See the exports man page if you need help with the syntax.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo