Sponsored Content
Operating Systems AIX can't vary on vg - no good copies of the descriptor area Post 302355512 by faruk on Wednesday 23rd of September 2009 12:29:50 AM
Old 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

lp not printing multiple copies

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

Printing Multiple Copies

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

multiple copies at once

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

Script that copies one file to/over another

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

Remove copies/duplicates of same entry

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

How to make multiple copies?

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

Tar creating copies of files

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

Finding copies of files

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
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)
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy