10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can we connect to remote computers with a bash script.? (1 Reply)
Discussion started by: diw10
1 Replies
2. UNIX for Dummies Questions & Answers
hi Im unable to find how this script in conencting to DB and which DB and job is scheduled in TWS to run this script.
Any sugggestion where to look for or how to get information.
please find below part of script for DB conenction.
##### SET VARIABLES ##################
rundate=`date... (1 Reply)
Discussion started by: saif2825
1 Replies
3. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
4. AIX
Hi,
I have a server AIX 5.3
Few people have the root password and somebody used the root login to erase a file (command rm in the .sh_history of root). :mad:
I would like to know if a file exist with what ip address has been connected.
I want to find the guilty!!! :D
Thanks guys (2 Replies)
Discussion started by: Castelior
2 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to write a script which will run a select on db.
#!/usr/bin/ksh
SQL_INPUT_FILE=file_name.sql
SQL_OUTPUT_FILE=output.txt
MANPATH=/usr/share/man:/opt/SUNWspro/man:/usr/local/man... (2 Replies)
Discussion started by: ozum
2 Replies
6. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
7. UNIX for Advanced & Expert Users
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
9. IP Networking
Hi, I understand assignment qns are not allowed.
However, I need major help.. please teach me how to write a tcp/ip programme using C, wad are the websites that i can refer to?
wad are the codes required for it?
I have never done tcp/ip configurations before, and never learnt C before,... (13 Replies)
Discussion started by: microuniz
13 Replies
10. Cybersecurity
I just started a new job and inherited a Fedora core 3 server. I wanted to open the ftp ports and I wanted to verify this code before I mess things up. From my reading the two lines below should allow ftp access can anyone confirm my attempt.
iptables -A INPUT -p tcp - sport 21 -m state - state... (0 Replies)
Discussion started by: mungaz
0 Replies
sbdadm(1M) System Administration Commands sbdadm(1M)
NAME
sbdadm - SCSI Block Disk command line interface
SYNOPSIS
sbdadm create-lu [-s, --size size] filename
sbdadm delete-lu lu_name
sbdadm import-lu lu_name
sbdadm list-lu lu_name
sbdadm modify-lu [-s, --size size] lu_name | filename
DESCRIPTION
The sbdadm command creates and manages SCSI-block-device-based logical units that are registered with the SCSI Target Mode Framework
(STMF).
SUB-COMMANDS
The sbdadm command supports the subcommands listed below. Note that if you enter a question mark as an argument to the command (sbdadm ?),
sbdadm responds with a help display.
create-lu [-s, --size size] filename
Create a logical unit that can be registered with the STMF. For the -s option, size is an integer followed by one of the following let-
ters, to indicate a unit of size:
k kilobyte
m megabyte
g gigabyte
t terabyte
p petabyte
e exabyte
If you do not specify size, the size defaults to the size of filename.
The size specified can exceed the size of the file or device.
delete-lu lu_name
Deletes an existing logical unit that was created using sbdadm create-lu. This effectively unloads the logical unit from the STMF
framework. Any existing data on the logical unit remains intact.
import-lu lu_name
Imports and loads a logical unit into the STMF that was previously created using sbdadm create-lu and was since deleted from the STMF
using sbdadm delete-lu. On success, the logical unit is again made available to the STMF. filename is the filename used in the sbdadm
create-lu command for this logical unit.
list-lu
List all logical units that were created using the sbdadm create-lu command.
modify-lu [-s, --size size] lu_name | filename
Modifies attributes of an logical unit created using the sbdadm create-lu command. For the -s option, size is an integer value followed
by a unit specifier. The unit specifiers are as described above under create-lu. When this option is specified, the existing size of
the logical unit is changed to the new size.
The size specified can exceed the size of the file or device represented by lu_name.
OPERANDS
sbdadm use the following operands:
filename
Name of an existing file or a fully qualified path to a raw block device.
lu_name
The 32-byte hexadecimal representation of the logical unit.
EXAMPLES
Example 1 Creating a Logical Unit
The following series of commands creates a 10-gigabyte logical unit.
# touch /export/lun/0
# sbdadm create-lu -s 10g /export/lun/0
# sbdadm create-lu /dev/rdsk/c1t1d0s0
Example 2 Listing Logical Units
The following command lists all logical units.
# sbdadm list-lu
Found 2 LU(s)
GUID DATA SIZE SOURCE
-------------------------------- ----------- ------
6000ae4000144f21d92c47b0dd650002 10737352704 /export/lun/0
6000ae4000144f21d92c47b0de300032 134283264 /dev/rdsk/c1t1d0s0
EXIT STATUS
0
Successful completion.
non-zero
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWstmfu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
stmfadm(1M), attributes(5)
SunOS 5.11 12 Jun 2008 sbdadm(1M)