- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount cdrom issues hpux 11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 10:51 AM
09-28-2001 10:51 AM
when I mount a cdrom,
mount -o cdcase /dev/dsk/c0t0d0 /mnt/cdrom
it mounts fine except that the uid and gid
are values like...
dr-xr-xr-x 1 4294967295 4294967295 directory1
dr-xr-xr-x 1 4294967295 4294967295 directory2
is there a way to force the uid and gid of a
mounted cd?
also, I am getting file name too long errors when I try to copy from the cd to a directory on the system.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:10 AM
09-28-2001 11:10 AM
Re: mount cdrom issues hpux 11i
add
nogroup:*:-2
to /etc/group
and
nobody:*:-1:-2:Guest Account:/:
to /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:18 AM
09-28-2001 11:18 AM
Re: mount cdrom issues hpux 11i
just a bit differently.
nobody:*:-2:-2::/:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:41 AM
09-28-2001 11:41 AM
Re: mount cdrom issues hpux 11i
try:
mount -F cdfs -o ro,cdcase /dev/dsk/c#t#d# /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:05 PM
09-28-2001 12:05 PM
Solutionhttp://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x4c6437f45ef7d4118fef0090279cd0f9,00.html
also about the uid and gid numbers...
you can always change the uid and gid for nobody and nogroup to whatever you want as long as that value isn't being used.
just edit in /etc/group and /etc/passwd the third section from -2 to say 200 or 300 or whatever number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:05 PM
09-28-2001 12:05 PM
Re: mount cdrom issues hpux 11i
According to the man pages 'cdfs' and 'ro' are the default behaviors for mounting a cdrom. I tried it and the effect is the same as I had before.
However, part of my copying difficulties have been solved. I triend not using the -o cdcase flag. Because the case of the filenames on the CD was mixed, this was causing copy problems..
ie.
cp /mnt/cdrom/filename
would fail. Without the cdcase flag, the
command becomes
cp /mnt/cdrom/Filename
which works. Simply using
mount /dev/dsk/c#t#d# /mnt/cdrom
was good enough to allow me to copy 95% of the CD to disk. Some of the documentation has silly filenames such as
/html/thisistheWonderfulnameChosenforthisFile.htm
which would not be copied directly or though a tar pipe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:19 PM
09-28-2001 12:19 PM
Re: mount cdrom issues hpux 11i
Though using the pfs_mountd seems like using an elephant gun to squash an ant.
I'll readup on pfs_mount syntax and add it to my unix bag of tricks.
Thanks lots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:23 PM
09-28-2001 12:23 PM
Re: mount cdrom issues hpux 11i
There are several threads in the Forums that talk (complain) about the pfs daemons. You can search for them if you are interested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:27 PM
09-28-2001 12:27 PM
Re: mount cdrom issues hpux 11i
Try first nohup for pfsd and pfs_mountd
/usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/
for other CD format
mount -F cdfs -r -o cdcase /dev/dsk
Hope this helps
Goodluck
USA--
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:33 PM
09-28-2001 12:33 PM
Re: mount cdrom issues hpux 11i
what is the correct way to nuke these 2 daemons now that I'm done with them?
man pages give no hints but indicate I shouldn't mess with the additional
pfsd.rpc
pfs_mountd.rpc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2001 05:21 PM
09-29-2001 05:21 PM
Re: mount cdrom issues hpux 11i
When you are done with a 'pfs_mount' session and want to terminate its daemons, do a 'pfs_umount' first, then if that is successful, kill (sigterm (15)) the daemons in the *reverse* order you started them. Do not use 'kill -9' unless you absolutely have to do so; i.e. in the event that a 'kill -15' doesn't.
Failure to follow these rules will result in very nasty effects, like continuously climbing CPU utilization; 'bdf' commands that do not respond; etc. Ultimately, you will be forced to reboot.
BTW, a good discussion of 'pfs_mount' can be found in Technical Knowledge Base document #KBAN00000252.
Regards!
...JRF...