Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copy a file from a dvd to the local AIX file system Post 302347437 by anurag1510 on Tuesday 25th of August 2009 04:47:49 PM
Old 08-25-2009
Copy a file from a dvd to the local AIX file system

Hi,
I am a newbie to AIX, so please bear with me. I have mounted a dvd drive on AIX. I am trying to copy the file that is on the dvd drive on to the local machine. However, I get an error:
cp: c1m_0001.gz: A system call received a parameter that is not valid.

Can some one point me to the error?
-------------------------------------------------------------------------
# mount
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs2 Aug 20 15:40 rw,log=/dev/hd8
/dev/hd2 /usr jfs2 Aug 20 15:40 rw,log=/dev/hd8
/dev/hd9var /var jfs2 Aug 20 15:40 rw,log=/dev/hd8
/dev/hd3 /tmp jfs2 Aug 20 15:40 rw,log=/dev/hd8
/dev/fwdump /var/adm/ras/platform jfs2 Aug 20 15:41 rw,log=/dev/hd8
/dev/hd1 /home jfs2 Aug 20 15:41 rw,log=/dev/hd8
/dev/hd11admin /admin jfs2 Aug 20 15:41 rw,log=/dev/hd8
/proc /proc procfs Aug 20 15:41 rw
/dev/hd10opt /opt jfs2 Aug 20 15:41 rw,log=/dev/hd8
/dev/fslv00 /software jfs2 Aug 25 14:04 rw,log=/dev/hd8
/dev/cd0 /cdrom cdrfs Aug 25 15:58 ro
# cd /cdrom
# ls
c1m_0001.gz
# cp c1m_0001.gz /software
cp: c1m_0001.gz: A system call received a parameter that is not valid.
#
-------------------------------------------------------------------------

Many thanks in advance.
Anurag1510
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

2. UNIX for Dummies Questions & Answers

File System - Remote or Local??

Is there a way to find if the file systems mounted on a AIX/Linux box is local or remote? (1 Reply)
Discussion started by: Un1xNewb1e
1 Replies

3. UNIX for Advanced & Expert Users

Commands to copy a tar.gz file from a Remote Unix Server to Local Desktop.

Hi, Just wanted to know, how can I ftp/transfer/copy a (design.tar.gz) archive from a Unix Server (sdmc222.sdmc.cp-srv.com) which is at a remote location, to my Windows Desktop. Obviously, it is not possible at cmd prompt on my Windows using the following commands :- ftp... (3 Replies)
Discussion started by: marconi
3 Replies

4. UNIX for Advanced & Expert Users

Using SCP command in IBM AIX to download file from remote to local system

Hi, When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code. Please give some resolution. SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies

5. UNIX for Dummies Questions & Answers

Copy file from local machine to server?

I am logged into a server via SSH. There is a file on my desktop of my Windows PC I would like to put on that server. How do I do it? SCP looks the likely method but how does the server know where the file is on the local machine? Thanks. (2 Replies)
Discussion started by: Sepia
2 Replies

6. UNIX for Dummies Questions & Answers

How to check whether file system is local or NFS?

Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located. Thanks, Paresh (5 Replies)
Discussion started by: masaniparesh
5 Replies

7. UNIX for Dummies Questions & Answers

Copy file from RDP to Local

Hi All, I am trying to copy a file from remote desktop to my local system using copy and xcopy commands...but none of them worked..is there any batch file or commands to do the copying .if do please share with me..... (5 Replies)
Discussion started by: navsan420
5 Replies

8. Shell Programming and Scripting

Copy a file from local host to a list of remote hosts --- perl script

Hi friends, i need to prepare a script ( in perl) i have a file called "demo.exe" in my local unix host. i have a list of remote hosts in a file "hosts.txt" now i need to push "demo.exe" file to all the hosts in "hosts.txt" file. for this i need to prepare a script(in perl, but shell... (5 Replies)
Discussion started by: siva kumar
5 Replies

9. Shell Programming and Scripting

Copy file from local network and add it to MYSQL

Hello, i need some help. I have a Debian machine in network, which is a web server. I need to copy every day files from local network to MySQL table. Now it is done manually and i am just adding them from web panel (backend) and saving it's binary, extension and etc. Can i automaticly do this... (2 Replies)
Discussion started by: Dyrem
2 Replies

10. Shell Programming and Scripting

Copy one file from a server to a local folder

Hi, Is there a way I can copy a file from a server to a local folder (i.e. My Documents)? can it be done by scp? I tried this but it just rename the file as the folder it has to be transferred at. scp -r name@some_server:/home/user/file.txt 'somehere\home\home_dir' Thanks. (4 Replies)
Discussion started by: erin00
4 Replies
rmmount(1M)						  System Administration Commands					       rmmount(1M)

NAME
rmmount - removable media mounter for CD-ROM, floppy, Jaz drive, and others SYNOPSIS
/usr/sbin/rmmount [-D] DESCRIPTION
The rmmount utility is a removable media mounter that is executed by Volume Management whenever a removable medium, such as a CD-ROM or a floppy, is inserted. The Volume Management daemon, vold(1M), manages removable media. rmmount can also be called by using volrmmount(1). Upon insertion of a medium and following invocation of the volcheck(1) command, rmmount determines what type of file system (if any) is on that medium. If a file system is present, rmmount mounts the file system in one of the locations listed below. For a diskette (floppy): /floppy/floppy0 symbolic link to mounted floppy in local floppy drive /floppy/floppy_name mounted named floppy /floppy/unnamed_floppy mounted unnamed floppy For a CD-ROM or a DVD-ROM: /cdrom/cdrom0 symbolic link to mounted CD-ROM in local CD-ROM drive /cdrom/CD-ROM_name mounted named CD-ROM /cdrom/CD-ROM_name/partition mounted named CD-ROM with partitioned file system /cdrom/unnamed_cdrom mounted unnamed CD-ROM For a Zip drive: /rmdisk/zip0 symbolic link to mounted Zip medium in local Zip drive /rmdisk/Zip_name mounted named Zip medium /rmdisk/Zip_name/partition mounted named Zip medium with partitioned file system /rmdisk/unnamed_zip mounted unnamed Zip medium For a Jaz drive: /rmdisk/jaz0 symbolic link to mounted Jaz medium in local Jaz drive /rmdisk/Jaz_name mounted named Jaz medium /rmdisk/Jaz_name/partition mounted named Jaz medium with partitioned file system /rmdisk/unnamed_Jaz mounted unnamed Jaz medium For a generic "rmdisk" drive: /rmdisk/rmdisk0 symbolic link to mounted removable medium in local removable medium drive /rmdisk/rmdisk_name mounted named removable medium /rmdisk/rmdisk_name/partition mounted named removable medium with partitioned file system /rmdisk/unnamed_rmdisk mounted unnamed removable medium If the media is read-only (for example, a CD-ROM or a floppy with write-protect tab set), the file system is mounted read-only. If a file system is not identified, rmmount does not mount a file system. See the System Administration Guide: Basic Administration for more information on the location of CD-ROM, floppy, and other media without file systems. Also see volfs(7FS). If a file system type has been determined, it is then checked to see that it is "clean." If the file system is "dirty," fsck -p (see fsck(1M)) is run in an attempt to clean it. If fsck fails, the file system is mounted read-only. After the mount is complete, "actions" associated with the media type are executed. These actions allow for the notification to other pro- grams that new media are available. These actions are shared objects and are described in the configuration file, /etc/rmmount.conf. See rmmount.conf(4). Actions are executed in the order in which they appear in the configuration file. The action function can return either 1 or 0. If it returns 0, no further actions will be executed. This allows the function to control which applications are executed. In order to execute an action, rmmount performs a dlopen(3C) on the shared object and calls the action function defined within it. The def- inition of the interface to actions can be found in /usr/include/rmmount.h. File systems mounted by rmmount are always mounted with the nosuid flag set, thereby disabling setuid programs and access to block or char- acter devices in that file system. Upon ejection, rmmount unmounts mounted file systems and executes actions associated with the media type. If a file system is "busy" (that is, it contains the current working directory of a live process), the ejection will fail. OPTIONS
-D Turn on the debugging output from the rmmount dprintf calls. FILES
/etc/rmmount.conf removable media mounter configuration file /usr/lib/rmmount/*.so.1 shared objects used by rmmount. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWvolu | +-----------------------------+-----------------------------+ SEE ALSO
volcancel(1), volcheck(1), volmissing(1), volrmmount(1), fsck(1M), vold(1M), dlopen(3C), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) System Administration Guide: Basic Administration SunOS 5.10 1 Mar 2004 rmmount(1M)
All times are GMT -4. The time now is 03:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy