General :: Setup DM In RHEL5 And Mapping A Device To It?
Apr 5, 2010
How to setup Dynamic Multipathing in RHEL5 and mapping a device to it? I have a RHEL5 server which is connected with a HP BLADE Server. I have installed DM software. Now I want to map BLADE Server's LUN space with a directory of my RHEL5 Server.
The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.
One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:
echo 0 > /sys/block/hda/queue/iosched/slice_idle
We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.
I have a Dell ml6000 as a network accessed tape library, I need to mount the tape library on my RHEL5 server as a nst* so I can setup backup crons. What is the process i need to follow to set thsi up?
I'm trying to get the special keys on my bluetooth keyboard (Dell Y-RAQ-DEL2, which came with my Dell Inspiron 530) to work under Ubuntu (10.04). Specifically things like the calculator button, volume knob etc.
I've tried various keyboard mapping in the Preferences > Keyboard menu, but the system doesn't seem to be able to "see" any of these special keys.
I am running RHEL5.5 its a fresh install and we are testing Xen Virtualization. We are wanting to use our iSCSI SAN for the VMs. I have created the initiator iqn, and discovered the target address. We are connected to the target, but there is no new block device in /dev.
I am final year MCA student. I like to do my project in Linux. I know a little in C. I am pursuing RHCE certification. I am using rhel5. I am interested to write linux device drivers and willing to do my project in that.
In RHEL5, the PATH of root is /sbin and /usr/sbin...., the PATH of common user has not /sbin or /usr/sbin, how to give the /sbin and /usr/sbin to a common user when he run command which sudo?
In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
I have searched google for a couple of days, and I keep hearing about an INode limit on filesystems, but that doesn't seem to be the case.
Now whenever I try to download something, watch a ..... video, or listen to Pandora radio, it just stops playing after 2 seconds. Downloading says "No space left on device".I also get the error as root.I do have 5% and more free of HDD space. After reading the similar posts I checked all of this, so if I am overlooking something on the forum, I apologize for an extra post about.
I've found several how-to's, but the "problem" is that all the ones I've found up to now involve using xmodmap. I'm not radically opposed to that, but, with debian, for some reason, I don't need it. I don't have a Xmodmap file, and yet, the special keys have their "names", instead of NoSymbol (on xev). Anyone knows where the settings are, whenever one does not use xmodmap?To make things weirder I've tried to create a Xmodmap to use with arch from debian, but it get the names all wrong, for some reason. (I used xmodmap -pke > .Xmodmap). I guess that whatever debian does, it has nothing to do with xmodmap then.
But I think it may not be possible. Besides not using xmodmap, on debian I have the correct keyboard layout set without having any command (well, at least not on my openbox startup script... it could be somewhere along all those "deeper" startup scripts, on /etc/rc.#/, I guess... I'm going to check there now), while on arch I have a "setxkbmap" on my openbox startup script.
Is it possible to connect local folders to the remote windows machine via RDP session?For example Microsoft's RDP Client has a feature that will connect local hard drives to the remote machine when you open a RDC.I need to copy files but I can't use smbmout because of firewall.
I am new working with vyatta routers and my problem is next:I am installing 5 ip cameras and i am using vyatta router. someone could help me how can i access remotrly by internet to my internal lan where are my cameras instaled. i have read about dnat but i'm not sure if also need to configure ports tha i previosly asigned to cameras i get confuse with that because only find mapping configuration ip address but not ports.
I cannot set mod3 to the Shift_R key with xmodmap. Code: matthew@lokal:~/.fvwm/Default$ xmodmap -e "add mod3 = Shift_R" X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 118 (X_SetModifierMapping) Value in failed request: 0x17 Serial number of failed request: 11 Current serial number in output stream: 11
I have quite a strange issue with (supposedly) my keyboard mappings.
while using GNOME session:
lowercase 'v' is not working as it should - no keypress is reaching apps; while I'm holding V key depressed, gnome-terminal console shows a hollow cursor (just like when input focus is in some other window) and nothing is printed; uppercase 'V' is working just fine (that is Shift+V); if I press AltGr + V, a lowercase 'v' is printed; if I'm typing quickly, sometimes pressing V key to get a lowercase 'v' is not just being ignored, but also the next symbol typed is swallowed and not printed out; this issue is present for the USA keyboard layout, as well as for the Russian keyboard layout.
while using TTY console (Alt+Ctrl+F1, etc):
everything works as it should (i.e. lowercase ' is printed whenever I press it); no problems with the physical keyboard.
I haven't done any editing of any gnome/X configs and/or keyboard mappings.
This is my Ubuntu 10.04 Linux version:
$ uname -a Linux hostname 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
I am working on a few different Linux related self-education projects, and I'm trying to stump myself as much as possible so I can learn as quickly as possible. Using VMWare, I have several Linux and Windows flavors I am using for various purposes. To the point, I have an Ubuntu server (text only) and a Fedora desktop installed, and I need to figure out how to map a drive on the Fedora VM so that I can access it on the Ubuntu server VM. I have installed Samba on both, and I can send a ping from one to the other with no problems. I guess I just need some help with the command line syntax?
On a related note, I have NOT been able to figure out how DNS works in a setup like this, so when I say I can ping them, it is by IP address only. I'll work on the DNS stuff soon, but for right now, I just need access to my Fedora VM, unless for some reason you can ONLY set this up via DNS.
Ubuntu server 192.168.28.133 Fedora desktop - 192.168.28.130 Folder I need to access: [Fedora desktop]/home/[username]/downloads/
Using squid, can you proxy the [URL] through the site [URL]. From the end-user perspective they would go to and maintain the [URL] and squid would proxy the application at [URL]. More simply the application available at [URL] would load into the namespace/domain [URL].
I'm working with a lot of data, but always the same. I have, say 2GB that I keep loading 100 times a day from a local disk to do some computations.I was wondering if anyone knew if it is possible to read it once for all and then access it like a file but with the speed of RAM access. I would be looking for something like: Code: file2mem ~/mybigdatafile.dat ~/mybigdata_thats_now_accessed_superfast.dat And then the data is accessible in a way like with a symlink...
in my windows7 laptop, I installed a virtualbox 4.0 then Fedora 14 as OS. Can I transfer the files from Linux system to windows syatem? I mean can I create a relationship between two OS like mapping network drive?
I'm trying to find a software which could map sftp/scp services to a windows drive letter. I know there are quite a bunch of those available, but i haven't found a single one which could run with SYSTEM or Netservice privileges or have decent command line options so i could elevate the program myself. The mapped drive should be available for other services running on the same server.
Most of the programs (sftp netdrive, expandrive, etc) have only option to startautomatically only when someone logs in. Because of that they are useless to me.Their inability to handle non-interactive starts is a bummer too. FTP->SFTP wrappers don't count as solution despite of integrated windows support for ftp drives. The way they are handled in windows makes ftp mapping unusable without some external ftp drive mapper software.
I'm running Fedora 11 (same problem on my 32 and 64bit systems), I have Logitech bluetooth mice and keyboards hooked up to both of my systems. Occasionally, one of my keyboards stops responding and I simply open up the Bluetooth Preferences window, delete the keyboard and then set it up again. However, now when I click the Setup New Device button, nothing happens! This is happening on two seperate systems. Am I to believe this is the result of a bad update? I've checked my yum log and it hasen't updated any bluetooth packages for a few weeks now and this just started the other day. Any ideas what could be wrong?
where I can to find mapping between man section number and it's description in standalone mashine.In other words, where I can to find description of some man section when I have not connection to Internet? For example:
1 -> User commands 2, 3 -> Linux programmer's manual and so on..
I am trying to setup a networked hP C6280 all in one device attached to my network via Cat5 cable. It has the IP 192.168.0.105 and I am experiencing problems with setting up HPLIP... I know I am not the only one to have this problem, but I cant find specific info for slackware and all the posts I've found on the web are outdated, often refering to slack 9 or having been posted prior to 2006....
I use Slackware -Current (prior to 13.1 release), CUPS V1.4.3 and HPLIP V3.10.2. When I try to setup my device in HPLIP (hp-setup), I select "network/ethernet/wireless device", then HPLIP discovers my printer @ 192.168.0.105 (like I expect), and then I click "add printer" and I get:
Code: Printer queue setup failed. Please restart CUPS and try again. And then the setup exits. Of course restarting CUPS will not I reinstalled HPLIP and no luck. I can setup the device in CUPS, but if I proceed this way, I will not be able to select the attached scanner as a resource in XSANE.In other words, if I setup the all-in-one device with CUPS, it is considered only a simple printer..I remember that I had the same problem with Slackware 12.2 about 14 months ago, but cannot remember how I fixed it.
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA 16MB - 896MB is mapped to ZONE_NORMAL 896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
When trying to mkfs -t ext3 /media/HD-CEIU2 mounted drive, I receive "is not a block special device". Then after answering yes to proceed anyway, get messages indicating the device couldn't be read. I did fdisk the drive and rebooted.
I am newbie in Linux, using RHEL5. I created an account for user. User cannot log on from GUI but able to log on from command line by (ctrl-alt-f1). As a root I can log on from GUI mode.