Operating System - HP-UX
1829951 Members
4001 Online
109998 Solutions
New Discussion

Owner and Group names are not showing up correctly on 11.11 when mounting CD

 
Arunkumar_3
Advisor

Owner and Group names are not showing up correctly on 11.11 when mounting CD

Mounted a CD.
Did a ls -l, it showed as below.
-r-xr-xr-x 1 4294967295 4294967295 286886884 Apr 29 11:48 caha_suite.jar.
It showing owner and group with a big numbers.
Same CD showing correctly on 11.23

Any help will be appreciated.

thanks in advance
-Arun
11 REPLIES 11
Rick Garland
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Any differences in the CD mounts from 11.11 to 11.23?

(Is the format of the CDROM recognized in 11.23 and not in 11.11?)
Jeff Schussele
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Hi Arun,

Is the CD a Rock Ridge format CD?
If so try mounting it in 11.11 with

mount -F cdfs -o rr /dev/dsk/cXtYdZ /mnt_point

The 11.23 OS may auto-detect the CD format.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Dave Hutton
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

By chance do you have either of these two files?
/etc/pfs_fstab or /etc/pfs_mtab

Just wondering if when you're mounting it on the 11.11 server if it's grabbing any value from either of those two files.

Steven E. Protter
Exalted Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Could be mount options in /etc/fstab or on the command line.

Could be a difference in the numeric user id between the machine that wrote the cd and the machine that reads it.

user ids are really numbers and if user apache for example is 56 on one box and 57 on a second, these kind of strange read results happen.

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
Arunkumar_3
Advisor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

I used "SAM" to mount the CD on both 11.11 and 11.23.
The system that wrote the CD is different than where I mounted.
Any solutions?
Florian Heigl (new acc)
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Arun - to me this strongly sounds like an issue with versions of the patches supporting rockrigde format on the cd, they might easily be more current on 11.23.

I can't swear on it, but it'd be my first guess.
yesterday I stood at the edge. Today I'm one step ahead.
Bill Hassell
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

You need to mount the CD using the same options on each system. The only portable, standard way to mount CDs is to use the -orr option. But 11.11 did not come with the -orr option so you have to add the latest 3 patches for Rock Ridge support. 11.23 incorporates -orr (see the man page for mount_cdfs). If any of your systems do not have -orr listed in the mount_cdfs man page, then you'll get the default ISO 9660 behavior (no support for Unix-style filenames and ownership).


Bill Hassell, sysadmin
Amit Agarwal_1
Trusted Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

IIRC, its a bug in ls command. You can install the latest patch (PHCO_27415) for it.

However, I believe that owner and group ids are stored as -1 over here, and they would not match with any users/group belonging to the system where you are mounting the CD.
Arunkumar_3
Advisor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Amit
I installed the patch. No it's showing -1.

Bill,
What are those 3 patches? Can you list those?


thanks
-Arun
Bill Hassell
Honored Contributor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

It's OK to show -1 since that's the default for files on a CD. As you might expect, there is no way to make the CD match your UID and GID numbers so the field is all 1's. For 11.11, the patches are:

PHCO_25841 PHKL_26269 PHKL_32035

Note that you can always find your patches 24x7 at:

http://www1.itrc.hp.com/service/patch/search.do?BC=patch.breadcrumb.main|&pageContextName=hpux:::


Bill Hassell, sysadmin
Arunkumar_3
Advisor

Re: Owner and Group names are not showing up correctly on 11.11 when mounting CD

Bill,
I installed the patches, now it's showing the correct UID and GID. thank you

-Arun