10-17-2011
Hi,
i tried it but in vain
test_server>format
Searching for disks...done
No permission (or no disks found)!
do i need to use the command echo| format?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file called clientname_filename.csv
whose contents are like
col1|col2|col3|col4|
510|abc|xxx|450|
510|abc11|yyy|350
510|pqr99|zzz| 670
512|222|439|110
Here i have check the contents of column for data type.
i have a constraints that col1 always contain Numeric value column 2... (12 Replies)
Discussion started by: jambesh
12 Replies
2. Shell Programming and Scripting
I have a shell script that takes a file and uses "syncsort" to sort contents.
I want to add a condition to check whether the input file is textual or binary format. If textual, the "syncsort" will be used to sort the files contents. Otherwise, the sorting process will be skipped.
Note that the... (3 Replies)
Discussion started by: synthea
3 Replies
3. Red Hat
Hello,
I am using LINUX OS. I want to check what is the SAN storage size. How do i check this in server? Any help is really appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies
4. UNIX for Dummies Questions & Answers
Can anybody help me ont to get the command to check storage type and storage size in unix.
Thank u in advanced!! (4 Replies)
Discussion started by: manisham
4 Replies
5. UNIX for Advanced & Expert Users
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (1 Reply)
Discussion started by: aesgs
1 Replies
6. Solaris
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (22 Replies)
Discussion started by: aesgs
22 Replies
7. AIX
Hi,
Here's the version of unix that we are working on.
> uname -a
AIX yyyyyyyy 1 6 00F613E24C00
@:on(cluster303)/iishomea/kmani00->
i have application id: aaabbb
Now i need to check whether the password for the application id set to non expiry type or not.
Moreover, with that unix... (3 Replies)
Discussion started by: kmanivan82
3 Replies
8. Shell Programming and Scripting
Hi,
I have the below script that checks if the .tar file exists in my present directory. If so, extract it and then delete it except if the .tar filename is blent.tar
#!/bin/bash
while ; do
echo "TAR BALL EXISTS"
for f in *.tar; do
echo "File -> $f"
tar -xvf $f
rm -ir $f... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT MOJAVE
diskscan
diskscan(1M) System Administration Commands diskscan(1M)
NAME
diskscan - perform surface analysis
SYNOPSIS
diskscan [-W] [-n] [-y] raw_device
DESCRIPTION
diskscan is used by the system administrator to perform surface analysis on a portion of a hard disk. The disk portion may be a raw parti-
tion or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and
errors reported on standard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a
file and later fed into addbadsec(1M), which will remap them.
OPTIONS
The following options are supported:
-n Causes diskscan to suppress linefeeds when printing progress information on standard out.
-W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked
with caution.
-y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when -W is used.
OPERANDS
The following operands are supported:
raw_device The address of the disk drive (see FILES).
FILES
The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(1M) for an explanation of SCSI and IDE device naming conventions.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
addbadsec(1M), disks(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5)
NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, addbad-
sec(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS format utility; however, to label, ana-
lyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility.
SunOS 5.10 24 Feb 1998 diskscan(1M)