Sponsored Content
Operating Systems AIX LVM & Raw device i/o comparison Post 302579291 by gito on Monday 5th of December 2011 10:46:31 AM
Old 12-05-2011
try to change bs to 8MB and see if this did not improve write /read performance.

Those are local disks, san attached or VIO?
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Problem setting up raw partitions on SUSE v8.0 using LVM on Oracle 8.1.7.URGENT!!!!!!

Hi all! Working on Oracle v8.1.7.0.0 with OS  as Suse v8.0 Linux. I had created LVM,linked raw devices to LVM as below: # for binding raw devices raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m raw /dev/raw/raw3... (2 Replies)
Discussion started by: Amitstora
2 Replies

2. AIX

Logical volume to raw device

Hy I have several logical volumes that are turned into raw devices used by Informix DB. I would like to add some more. In /dev directory i see logical volumes as block files: lv_name1, lv_name2 ... and i see raw devices defined as character files: rlv_name1, rlv_name2 ... As i see,... (5 Replies)
Discussion started by: veccinho
5 Replies

3. UNIX for Advanced & Expert Users

raw device in Linux

Hello group, Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device. If it is feasable, how do I bind them to a device? For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I... (1 Reply)
Discussion started by: bfay
1 Replies

4. Solaris

Increasing Raw device Sun Cluster 3.0

Hi All , I would like to know the procedure for increasing shared volume space in sun cluster . Currently the configuration is like these . Main stripe oradb1/d91 2 1 /dev/did/rdsk/d35s0 1 /dev/did/rdsk/d36s0 =Total 49 Gb oradb1/d94 -p oradb1/d91 -o 88080480 -b 14680064 ==Total 7 GB... (4 Replies)
Discussion started by: sahil_shine
4 Replies

5. Red Hat

Device Mapper Notations and LVM

Hi, I had a doubt regarding device mapper notations and their corresponding LVM volumes. I have configured a volume group with two logical volumes in it as root and swap. The entries in the /etc/fstab file show the dm notations namely, /dev/mapper/VolGroup00-LogVol01... (2 Replies)
Discussion started by: kanna_geekworkz
2 Replies

6. Solaris

Making Raw Device

Hi, I am using Sun Solaris 10 (Sparc 64 bit), I have a meta device /dev/dsk/emcpower26a mounting on /u01. I want to make this metadeice as raw device. Need solaris command to remove file system and make it as raw device ?. Is there any solaris command to check raw devices ?. Thanks (1 Reply)
Discussion started by: zeeshan047
1 Replies

7. Solaris

zones: Use a zpool or mount as a raw device?

Hi, I need to create 4 zones. I have an array with a RAID5 volume. I have exported 4 LUNS from the array. Now my host see the 4 LUNS as raw devices. I am partitioning each LUN using format then mounting each slice on the global zone. Then I am using each slice as a file system for my non... (3 Replies)
Discussion started by: general_lee
3 Replies

8. Solaris

How to find used space on RAW device?

Hi, I'm trying to find out how to see used space on RAW device. I tried with prtvtoc -f RAWdevice but for 3 different device I'm getting the same FREE_SIZE which look a bit impossible. root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d300 FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=... (2 Replies)
Discussion started by: MarioT
2 Replies

9. UNIX for Dummies Questions & Answers

How to start a raw device?

HI, I want to start Oracle on UNIX machine, now the , it is failing to startup because it cannot identify a raw device. Actually machine was rebooted and now we need to mount the devices, but i just want to know the command/way to mount or rather start/init a raw device. Please let me know. (2 Replies)
Discussion started by: Onkar Banerjee
2 Replies

10. Red Hat

Raw device/multipath details

Hi, How to find the raw device/multipath details of the LUN used by the diskgroups of the database. file system type -- ASM Oracle -- 11.2.0.3.0 OS -- Linux This is RAC database. Regards, Maddy (2 Replies)
Discussion started by: Maddy123
2 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 06:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy