8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
hi! i got a rhel 6.3 host that already have an xfs filesystem mounted from a SAN (let's call it SAN-1) whose size is 9TB.
i will be receiving another SAN (let's call it SAN-2) storage of 15TB size. this new addition is physically on another SAN storage. SAN-1 is on a Pillar storage while the new... (6 Replies)
Discussion started by: rino19ny
6 Replies
2. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
3. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
4. AIX
Has anyone tried SAN to SAN mirroring on IBM DS SAN Storage.
DS5020 mentions Enhanced Remote Mirror to multi-LUN applications
I wonder if Oracle High availibility can be setup using Remote Mirror option of SAN ? (1 Reply)
Discussion started by: filosophizer
1 Replies
5. UNIX for Dummies Questions & Answers
hi guys
I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these
any idea how to fix that?
Suse Enterprise 10 SP3
update as soon as I disconnect the HBAs boots up normal and fast and no messages
sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 Replies
6. AIX
Can someone point me in the right direction as to where I can find information on how to cleanly disconnect my AIX 5.3 host from our DS/4200 SAN. I have to do a firmware upgrade on the SAN.
-Thanks (2 Replies)
Discussion started by: tfort73
2 Replies
7. Solaris
Hi friends
am writing a script to get the device id of i/o devices on solaris. The command
iostat -iE works well on Solaris 5.9 and 5.10 but fails on solaris 5.8 as there is no 'i' switch with iostat command on this os
Can anyone suggest me an alternate way to find device id information on... (3 Replies)
Discussion started by: vikashtulsiyan
3 Replies
8. Solaris
Hi everyone,
I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN?
At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies
LEARN ABOUT DEBIAN
tgt-admin
TGT-ADMIN(8) TGT-ADMIN(8)
NAME
tgt-admin - Linux SCSI Target Configuration Tool
SYNOPSIS
tgt-admin [-e --execute] [--delete <value>] [--offline <value>] [--ready <value>] [-s --show] [-C --control-port <NNNN>] [-c --conf <file>]
[--ignore-errors] [-f --force] [-p --pretend] [--dump] [-v --verbose] [-h --help]
DESCRIPTION
tgt-admin is a utility which allows a persistent configuration of targets and luns. It uses tgtadm commands to create, delete and show
targets.
OPTIONS
-e, --execute
Read /etc/tgt/targets.conf and execute tgtadm commands. If the target already exists, it won't be processed. See --update.
-d, --delete <value>
Delete all or selected targets. The target will be deleted only if it's not used (no initiator is connected to it).
If you want to delete targets which are in use, you have to add the "--force" flag.
Example usage:
--delete ALL - delete all targets
--delete tid=4 - delete target 4
(target with tid 4)
--delete iqn.2008-08.com.example:some.target
- delete this target
--offline
Put all or selected targets in offline state.
Example usage:
--offline ALL - offline all targets
--offline tid=4 - offline target 4
(target with tid 4)
--offline iqn.2008-08.com.example:some.target
- offline this target
--ready
Put all or selected targets in ready state.
Example usage:
--ready ALL - ready all targets
--ready tid=4 - ready target 4
(target with tid 4)
--ready iqn.2008-08.com.example:some.target
- ready this target
--update <value>
Update all or selected targets. The target will be updated only if it's not used (no initiator is connected to it).
If you want to update targets which are in use, you have to add "--force" flag.
Example usage:
--update ALL - ready all targets
--update tid=4 - ready target 4
(target with tid 4)
--update iqn.2008-08.com.example:some.target
- update this target
-s, --show
Show all the targets.
-C, --control-port <NNNN>
It is possible to run multiple concurrent instances of tgtd on a host. This argument is used to control which instance the tgt-admin
command will operate on.
-c, --conf <configuration file>
Specify an alternative configuration file instead of /etc/tgt/target.conf, which is the default.
--ignore-errors
Continue even if tgtadm exits with non-zero code.
-f, --force
Force some operations even if the target is in use.
-p, --pretend
Only print tgtadm options which would be used; don't execute any actions. Assumes -v.
--dump
Dump current tgtd configuration. Note: does not include detailed parameters, like write caching.
-v, --verbose
Increase verbosity (show tgtadm commands used).
-h, --help
Display a list of available options and exit.
CONFIGURATION FILE SYNTAX
The defualt configuration file is /etc/tgt/target.conf. It defines all the targets and their properties. The configuration file is in XML
format and uses tags. Configuration file contains several target blocks, where each block contains target's properties such as storage
devices, initator ACL and authorization information. You can include other config files using: include /etc/tgt/xen/*.conf.
backing-store
Defines a virtual device on the target.
direct-store
Defines a direct mapped device with the same properties as the physical device (such as VENDOR_ID, SERIAL_NUM, etc.)
initiator-address
Allows connections only from the specified IP address. Defaults to ALL if no "initiator-address" is specified.
incominguser
Define iscsi incoming authentication setting. If no "incominguser" is specified, it is not used.
outgoinguser
Define iscsi outgoing authentication setting. If no "outgoinguser" is specified, it is not used.
Example configuration file:
<target iqn.2007-04.com.example:san.monitoring>
backing-store /dev/san/monitoring
# if no "incominguser" is specified, it is not used
incominguser backup secretpass12
# defaults to ALL if no "initiator-address" is specified
initiator-address 192.168.1.2
</target>
<target iqn.2007-02.com.example:san.xen1>
backing-store /dev/san/xen1-disk1 # LUN1
direct-store /dev/san/xen1-disk2 # LUN2
initiator-address 192.168.1.2 # Allowed IP
initiator-address 192.168.5.6 # Allowed IP
incominguser user1 secretpass12
incominguser user2 secretpass23
outgoinguser userA secretpassA
</target>
<target iqn.2007-02.com.example:san.xen2>
backing-store /dev/san/xen2
</target>
<target iqn.2007-06.com.example:san.vmware1>
backing-store /dev/san/vmware1
</target>
FILES
/etc/tgt/targets.conf
Configuration file for tgt-admin.
/usr/share/doc/tgt/targets.conf.example
Example configuration file for tgt-admin.
SEE ALSO
tgtd(8), tgtadm(8), tgtimg(8), tgt-setup-lun(8). http://stgt.sourceforge.net/
REPORTING BUGS
Report bugs to <stgt@vger.kernel.org>
07/29/2010 TGT-ADMIN(8)