09-23-2009
Can you able see all your externel/san disks from OS level? if yes check for all available devices...
Still if you are facing some problem kindly let us know which storage your server is connected to?
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to print multiple copies of a file on sun solaris 8 with the lp -n command to no
avail. No matter what numeric value I supply -n, I still only get 1 copy
of the file printed.
The command I'm using is 'lp -d SNY_IT5000-2 -n2 file'
The printer is an HP Laserjet 4000 with a... (2 Replies)
Discussion started by: hassan2
2 Replies
2. UNIX for Dummies Questions & Answers
Has anyone come accross and solved an issue where only 1 copy of a doc prints after you use the -n flag and specify more then 1. My exact syntax is
lp -dprintername -n3 documentname
enq command does same thing.
Both commands show the 3 copies in the queue but only 1 ever prints
I am using AIX... (0 Replies)
Discussion started by: capeme
0 Replies
3. UNIX for Dummies Questions & Answers
Dear all,
Today I spend almost all my day with something I hope any of you can help me with...
I'm trying to write a small script (!/bin/sh) to be able to make 900 copies of one file. Can anyone help me with this? I couldn't figure this out (maybe I need to create some sort of loop) and couldn't... (8 Replies)
Discussion started by: marjocello
8 Replies
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a script that asks for 4 arguments, and the 1st and 3rd need to be -i and -o, and the 2nd/4th need to be file names.
Technically, it's supposed to be run as:
./Lab_14.sh -i input.txt -o output.txt
Depending on how many... (0 Replies)
Discussion started by: SoVi3t
0 Replies
5. Shell Programming and Scripting
Hi,
I have a very big (with around 1 million entries) txt file with IPv4 addresses in the standard format, i.e. a.b.c.d
The file looks like
10.1.1.1
10.1.1.1
10.1.1.1
10.1.2.4
10.1.2.4
12.1.5.6
.
.
.
.
and so on....
There are duplicate/multiple entries for some IP... (1 Reply)
Discussion started by: sajal.bhatia
1 Replies
6. Shell Programming and Scripting
At work I have to create multiple copies of a file all the time.
Example: I have a file called Sec30p01.txt
I need thirty of these, then I edit one line in each to make 30 different control files.
So I end up with Sec30p02.txt, Sec30p03.txt and so on up to 30
Currently I copy the first file... (8 Replies)
Discussion started by: faaslave
8 Replies
7. Shell Programming and Scripting
I am trying to archive directories based on their last modified date. When I tar and compress the directory it makes copies of whats inside, I don't know how to fix this.
Here is my code.
#!/bin/bash
#AUTODRUNDISABLE
VERSION="0.2"
cd /desired/directory/to/archive
find . -type d -newermt... (3 Replies)
Discussion started by: jrymer
3 Replies
8. UNIX for Dummies Questions & Answers
theres a situation i'm dealing with where i feel like folks are stealing some of my files. they copy it (because they have complete sudo root access like i do) from my home directory and they copy it wherever and then change the name of the file so i wont know that they have it.
is there a way... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT HPUX
aio_fsync
aio_fsync(2) System Calls Manual aio_fsync(2)
NAME
aio_fsync() - force outstanding asynchronous operations on a file to the synchronized state
SYNOPSIS
DESCRIPTION
The function asynchronously forces all I/O operations that are enqueued at the time of the call for the file or device referenced by to the
synchronized I/O state. The function call returns when the synchronization request has been enqueued to the file or device (even when the
data cannot be synchronized immediately).
Successful completion of the request indicates that all modified data for has been moved to a permanent storage device. The function
affects only those asynchronous I/O operations enqueued at the time of the call. Subsequently enqueued operations are not included in the
synchronizing operation.
The function supports synchronized I/O for regular files, block special files, and character special files.
If the is all currently enqueued asynchronous I/O operations for are completed as if by a call to All data is forced to permanent storage
but the meta-data (such as modification times) for the file descriptor is not necessarily updated. If the is all currently enqueued asyn-
chronous I/O operations for are completed as if by a call to All data is forced to permanent storage and the file descriptor metadata is
updated.
If an request is issued for a file when there is already a pending request, the first request is treated as though it were part of the sec-
ond, and the second request will not complete until the first has completed.
The function returns when the fsync request has been enqueued for the referenced file or device. The and functions must be used to
retrieve the status of the synchronization operation via the referenced by The status returned will be until the last operation addressed
by the initial request completes. If all operations complete successfully, the error status will be 0 (zero). Otherwise, the error status
will be the error status that will be returned for the read or write operation that failed.
If is a valid signal event structure, then the designated signal will be delivered when the requested synchronization operation completes,
either when all subject requests have completed successfully or when any one of the requests has failed.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
RETURN VALUE
If the function fails, is returned and is set to indicate the error.
ERRORS
If detects one of the following error conditions, is set to the indicated value:
[EAGAIN] The request could not be queued because a per-process or system-wide limit on asynchronous I/O operations or asyn-
chronous threads would have been exceeded.
[EBADF] The is not a valid file descriptor open for writing.
[EINVAL] Synchronized I/O is not supported for the file specified by
[EINVAL] The is not a valid address in the process virtual address space.
[EINVAL] The parameters of the indicated in are invalid.
SEE ALSO
aio_cancel(2), aio_error(2), aio_read(2), aio_return(2), aio_suspend(2), aio_write(2), fdatasync(2), fsync(2), lio_listio(2), read(2),
write(2), aio(5).
STANDARDS CONFORMANCE
aio_fsync(2)