General :: Multipath Only Sees One Path After Upgrade From Red Hat 4.4 To 5.2
Apr 5, 2011
I upgraded a DL580 G4 server from Red Hat 4.4 to 5.2 (2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux) and now when I run the multipath - l command I only see one path. There are 4 LUNs being presented on each fibre channel, so I should see sda - sdh in /dev, but I only see sda - sdd.
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
prefix=user@my-server: find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do ( cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
I thought I knew my way around a little, but apparently mounting is still a complete mystery to me. I'm trying to back up my data with Knoppix since Ubuntu won't start up. something weird is happening with the keyboard and it starts spamming ^[[26~ across the splash screen. When I try to read my hard drive, Knoppix tells me "mount: wrong fstype, bad option, bad superblock." It seems like it should be a pretty common error, but I haven't found any anything helpful and understandable that doesn't involve rebooting (won't get me anywhere with Knoppix). I think it has something to do with Knoppix insisting my drive is hda instead of sda, though I have read that Ubuntu likes to tell you hda is sda anyway. Knoppix is the only distro that has worked on a live boot so far.I've thought of trying dd, dd rescue, or just cp onto my external, but I don't know if Knoppix's hda business will make a working backup. The other computers around are all Windows with no extra space, so I don't know what the easiest and safest way is to test wether the back up worked.
Has just bought an old Teac CD-C68E cd changer for 2$ and I would like to use all the six drives but debian can't see all just the first. After searching I only found a page of a suse article in which a suse package named "cdload" solved the problem. After that I searched the debian repo but they don't have that package. Tried to search globally, yet no luck. I'm not only interested in that package but everything that makes that oldie working. Here's a spec page of that cd-r.
Lost my guru, ran out of HD space, erased too much, need to reinstall. Downloaded ISO, burned disk, tested disc, tried to install, but it fails to recognize old partitions in the prepare space part. Hardware is a 4-system(partition) SSD in RAID 0, with all the bootable systems, and a 4-partition HD in RAID 0 (one disk failing) for data only. How to I get it to recognize a particular partition on the SSD RAID 0 to install over? AND can it reinstall the system software and leave the other stuff as it was installed over 2 years?
A few days ago I made the mistake of upgrading to Ubuntu 10.04 LTS, and subsequently had nothing but trouble. My volume icon disappeared and for the life of me I couldn't find it or reinstall it. An eerily Windows-like chat icon has appeared next to my login name that I didn't ask for, and more importantly my handbrake program (Matroska encoder) completely stopped working.
I've learned in the past that LTS editions are not normal upgrades, and I should best avoid them. But this one appears from the Ubuntu homepage to be the standard upgrade from Karmic to Lucid. I've had to completely reinstall Karmic on my workstation just to be able to carry on as normal, but the laptop seems to be coping ok with the LTS edition. Can anybody tell me if this LTS is now the default upgrade for Lucid, or is this just a regular LTS and I should wait for my standard one to come out?
I just tried installing another version of libc6 (2.10.2-6) with kpackage. It didn't work so I had a broken package on my system. I then wanted to fix it with synaptic package manager which then told me in order to remove it, I had to pretty much uninstall all of linux. I then tried installing the older version of libc6 (the one I'm supposed to have: 2.7-18lenny2). That gave me the error code
dpkg -i '///home/sam/torrents/libc6_2.7-18lenny2_i386.deb' ;echo RESULT=$? dpkg: `ldconfig' not found on PATH. dpkg: 1 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. RESULT=2
I already checked my path and it was: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin (I found it with echo $PATH)
I guess my path is okay so the problem is in ldconfig but how can I get ldconfig in the path and where could it be now?
I have installed RHEL5U5 but I've also tested RHEL5U4 and the problem is: Once configured the multipath, I restart the server,and with the command-ll mutipath I can see the LUN presented correctly:
I have and RHEL5.4 conecceted to an SAN HSV200. When I present a LUN to it, In system-confg-lvm gui appears a device like /dev/mapth/mapth0 (that�s the correct device to multipath) and other like /dev/sda or /dev/dm-N, as uninitialized entities. How could I configure to not display this device (/dev/sda) and prevent human errors?
This is the things I need:
1- I want (if it is posible...) to disappear the part where it says "uninitialized entities"
2- Is It necesary mantain the partitioning done to default (like /dev/mapper/mpath0p1) with device-mapper-multipath (kpartx command)? or Can I delete it without future problems?
our oracle(oracle 10G) server got a serious problem, the OS is SLES 9 SP4, two HBA adapters(QLogic 2340) with NetApp FC Storage(FAS3140), we have installed multipath-tools on this server and ensure that physical connection and swith configuration are correct, but we only can see a path
I am working on a server which connected to two EMC storage box. when i am checking the multipath information of a disk its showing as 8 paths. how to understand 8 paths for a single disk.
There is a server with two HBA QLA2460, connected via SAN to the SE9980 disk array. RHEL 5.4 (x86_64) is running on the server. In the SAN two zones are set up: HBA1-port1 9980; HBA2 - port2 SE9980. As a result, the server can see:
After mapping iscsi storage from my netapp and scanning for new devices I run multipath -v2 to create the multipath device handle under /dev/mapping/. This normally takes about 2 seconds or less on every other linux distribution I use. On Stretch it takes a little over 3 minutes. I have tried several different versions of multipath.conf but the result is always the same.
My most recent multipath.conf file is available here : [URL] ....
and the output of multipath -v4 is available here : [URL] ....
I have a linux machine, attached to a fibre channel SAN.
We're in the testing phases and we're attempting to get all of the bugs worked out before this goes live.
If i have my host streaming data to the storage device on the san (or from the device on the san) and simulate a path failure (by shutting down one of the host's ports on the FC switch), multipath does not pick up on another path until about 45 seconds have passed.
I can verify this by watching the statistic graph (which updates once per second) on the storage system.
I see iops running along rather nicely, and then they drop to 0 for 45 seconds, then pick right up to normal again.
This is a RehHat EL 5.5 system, with qlogic HBA's.
Am i being too picky? I'd expect multipath to recover in under 30 seconds, so as to not alarm host applications running on the linux host... 45 seconds seems like a long time to wait for a disk operation to complete.
Any tips on tuning Multipath, or the qlogic card? As it is, i've got the following options in my modprobe.conf.
Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.