Unix Technical Forum

Exporting a CD in 5.3

This is a discussion on Exporting a CD in 5.3 within the AIX Operating System forums, part of the Unix Operating Systems category; --> I don't seem to be able to NFS export a CDROM in 5.3. I put "/mnt/cdrom -ro" in /etc/exports. ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:32 AM
Ian Northeast
 
Posts: n/a
Default Exporting a CD in 5.3

I don't seem to be able to NFS export a CDROM in 5.3. I put "/mnt/cdrom
-ro" in /etc/exports. It exports the mount point OK, but once I mount the
CD onto /mnt/cdrom a remote client cannot mount it, permission denied. If
I then "exportfs -a" it complains that /mnt/cdrom is a read only
filesystem and refuses to export it, even though the export is read only.

I'm a bit short of 5.3 machines I can reach but I mounted a disk
filesystem read only on another one and attempted to export that read only
and it failed exactly the same. So I don't think it's anything wrong with
the specific box.

This works fine in 5.2. A comparison, using disk filesystems:

5.2:

/root * c01am000 * root * > mount -o ro /ian
/root * c01am000 * root * > exportfs -i -o ro /ian
/root * c01am000 * root * >

and /ian is exported.

5.3:

/root * avocado * root * > mount -o ro /ian
/root * avocado * root * > exportfs -i -o ro /ian
exportfs: /ian: The file system has read permission only.
/root * avocado * root * >

and /ian is not exported.

The ability to export a CD is rather important, I deal with lots of remote
systems where I can't just stick the CD in the local drive. I can't
believe it's supposed to work like this.

I applied ML02 which came out last week or thereabouts but it made no
difference.

Am I doing something stupid?

Regards, Ian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:32 AM
Dohhhh
 
Posts: n/a
Default Re: Exporting a CD in 5.3

Nope...I thought the same thing (although, sometimes...<G>). I believe
it has something to do with the additional/added security mechanisms
related to NFS4. I haven't had time to research/resolve it to my
satisfaction yet and have found it easiest to just use smit.

If you go into:
smit nfs
-> nfs
-> add a directory to exports list

I believe the "security methods" field may be part of the issue...I've
also discovered I've had to (in addition to the other "normal" options
related to the CD) specify hosts allowed root access...try exporting via
this smit screen (use the export "now" option), then press the F6 to
display the command...work you're way via the command line from there.

Not much, but may be a start (?).

Paul
===
Ian Northeast wrote:
> I don't seem to be able to NFS export a CDROM in 5.3. I put "/mnt/cdrom
> -ro" in /etc/exports. It exports the mount point OK, but once I mount the
> CD onto /mnt/cdrom a remote client cannot mount it, permission denied. If
> I then "exportfs -a" it complains that /mnt/cdrom is a read only
> filesystem and refuses to export it, even though the export is read only.
>
> I'm a bit short of 5.3 machines I can reach but I mounted a disk
> filesystem read only on another one and attempted to export that read only
> and it failed exactly the same. So I don't think it's anything wrong with
> the specific box.
>
> This works fine in 5.2. A comparison, using disk filesystems:
>
> 5.2:
>
> /root * c01am000 * root * > mount -o ro /ian
> /root * c01am000 * root * > exportfs -i -o ro /ian
> /root * c01am000 * root * >
>
> and /ian is exported.
>
> 5.3:
>
> /root * avocado * root * > mount -o ro /ian
> /root * avocado * root * > exportfs -i -o ro /ian
> exportfs: /ian: The file system has read permission only.
> /root * avocado * root * >
>
> and /ian is not exported.
>
> The ability to export a CD is rather important, I deal with lots of remote
> systems where I can't just stick the CD in the local drive. I can't
> believe it's supposed to work like this.
>
> I applied ML02 which came out last week or thereabouts but it made no
> difference.
>
> Am I doing something stupid?
>
> Regards, Ian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:32 AM
Dohhhh
 
Posts: n/a
Default Re: Exporting a CD in 5.3

Ian,
Meant to include this suggestion in my last post - see if any of the
options of nfso -a might have an impact.

PS
===
Ian Northeast wrote:
> I don't seem to be able to NFS export a CDROM in 5.3. I put "/mnt/cdrom
> -ro" in /etc/exports. It exports the mount point OK, but once I mount the
> CD onto /mnt/cdrom a remote client cannot mount it, permission denied. If
> I then "exportfs -a" it complains that /mnt/cdrom is a read only
> filesystem and refuses to export it, even though the export is read only.
>
> I'm a bit short of 5.3 machines I can reach but I mounted a disk
> filesystem read only on another one and attempted to export that read only
> and it failed exactly the same. So I don't think it's anything wrong with
> the specific box.
>
> This works fine in 5.2. A comparison, using disk filesystems:
>
> 5.2:
>
> /root * c01am000 * root * > mount -o ro /ian
> /root * c01am000 * root * > exportfs -i -o ro /ian
> /root * c01am000 * root * >
>
> and /ian is exported.
>
> 5.3:
>
> /root * avocado * root * > mount -o ro /ian
> /root * avocado * root * > exportfs -i -o ro /ian
> exportfs: /ian: The file system has read permission only.
> /root * avocado * root * >
>
> and /ian is not exported.
>
> The ability to export a CD is rather important, I deal with lots of remote
> systems where I can't just stick the CD in the local drive. I can't
> believe it's supposed to work like this.
>
> I applied ML02 which came out last week or thereabouts but it made no
> difference.
>
> Am I doing something stupid?
>
> Regards, Ian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:32 AM
Ian Northeast
 
Posts: n/a
Default Re: Exporting a CD in 5.3

On Sat, 21 May 2005 11:50:03 +0000, Dohhhh wrote:

> Nope...I thought the same thing (although, sometimes...<G>). I believe it
> has something to do with the additional/added security mechanisms related
> to NFS4. I haven't had time to research/resolve it to my satisfaction yet
> and have found it easiest to just use smit.
>
> If you go into:
> smit nfs
> -> nfs
> -> add a directory to exports list
>
> I believe the "security methods" field may be part of the issue...I've
> also discovered I've had to (in addition to the other "normal" options
> related to the CD) specify hosts allowed root access...try exporting via
> this smit screen (use the export "now" option), then press the F6 to
> display the command...work you're way via the command line from there.
>
> Not much, but may be a start (?).


It is, yes, thanks, I should have thought to look at what smitty said.

It does indeed need security methods to be configured. I can now get to
the point where I can export a RO filesystem to the world but not with
root access, which is needed to enable reading files with 600 etc.
permissions.

But now I know where I should be looking, I should be OK. Thanks very much
for the pointer.

Regards, Ian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com