Server :: Red Hat - Multipathing In Conjunction - Fdisk -l To Display One Lun Rather Than Displaying All 8 Paths To The Lun?

Aug 25, 2010

How to device-mapper multipathing in conjunction with fdisk. I am more of a solaris expert and now trying to grasp linux (red hat). I have a server that I plan to cluster (future assignment) which is attached to a Netapp SAN via emulex LPe11002 HBA. I have 8 paths to the LUN I created and I can see the multipath device (/dev/mapper/mpath1). Below is my multipath.conf file:

[Code]....

Question 1: When I look at fdisk -l, I can see all 8 paths to the same LUN. Although I partition /dev/mapper/mpath1, I can still see that 7 of the 8 still say "Disk /dev/sdX doesn't contain a valid partition table". I would think that all 8 would have this removed. I execute '/usr/sbin/lpfc/lun_scan all' and it doesn't work. I am looking to clean this up...what should I do? It seems weird to have to do it to all 8 paths!

Question 2: Why does my alias, 'db' not show up under /dev/mappers?

Question 3: Is there a way for fdisk -l to display one lun rather than displaying all 8 paths to the lun?

What is the standard procedure (commands) people execute when adding a new lun to a server with multipathing so it is nice and clean?

View 4 Replies


ADVERTISEMENT

Red Hat :: Displaying All SAN Paths To Disks?

Jan 25, 2011

I'm a storage engineer by trade and have mapped a RHEL 4 server, several LUNs. I've mapped each (HBA Initiator) 4 times to seperate fibre channel ports on a storage array.Is there a RH command to see the device mapped 4 times to the target. I would expect to see something in the output that has the subsystems WWN, such as -

... 50060F9004563210
... 50060F9004563220
... 50060F9004563230
... 50060F9004563240

View 3 Replies View Related

Server :: Multipathing Check How The Luns Are Configured

Mar 30, 2011

Multipathing in linux -need to check how the luns are configuredI have no idea about luns configuration in linux environment(newbie) and now i have issue figuring out the configurationSenario,By the look of the multipath output 3 luns are connected to server1 is from Hitachi and 2 from Sunstorage(Thumper)What i am trying to achieve,I need to check how the 3 luns are configured on OS levelI need to differentiate Hitachi and thumper lun The next is to check whether 3 luns are mirrored or not (if not ,how they configured)The third and last .I need to remove the mirroring luns (if exist) and leave the system with only Hitachi lun

View 1 Replies View Related

Ubuntu :: Displaying 1in Black Border Within Display?

Feb 26, 2010

Has anyone seen or heard of the following problem? I have a 1in black border surrounding my display. I've been running google searches all day without much luck. My current setup is as follows: Ubuntu 9.10 (64-bit), 24in asus lcd, Radeon 5770, amd phenom 2 x4, ddr3 4gb, gigabyte mb. I noticed the border while running the live cd. I figured it had something to do with the video drivers. Last night I installed ATI's linux driver 10.2. I'm getting my preferred resolution of 1920x1080 over dvi. But i'm not able to use my full 24in. It's like using a 20in lcd.

View 6 Replies View Related

General :: Display X Apps Running On Host1 And Displaying On Host2 ?

Feb 20, 2010

I have three boxes with lenny debian recently installed. I'd like to be able to display X apps running on host1 and displaying on host2. "xhost +" would do the trick for me if I could get it to work but as far as I can tell it does nothing. (BTW, I'm aware of the security risks. This is not a concern for me. I'm safely behind a good firewall. I'm also aware of "ssh -X" but that won't quite solve my problem. See the long version below.) I suspect that Debian secures the xhost command out of the box in some way but I can't seem to figure out what it is. If that is true and someone can show me how to reset it, or direct me to appropriate documentation I think that would solve my problem.

Here's the long version:

What I really want to do is play xbattle with my kids but I need to be able to display the board to three different screens. In xbattle the command line is: % xbattle -red me -blue host1:0 -green host2:0 {and more stuff of no consequence to my question}

This opens a game board for player red locally, player blue on host1 and player green on host2. Or at least it should. If there is a way to make this work with "ssh -X" (or anything else for that matter) I'll be happy to use that instead, but so far as I can tell "ssh -X" only lets me redirect the display back to the one I ssh'd from whereas I need to direct to multiple displays to run xbattle.

View 2 Replies View Related

Server :: Local And Remote Paths On .htaccess?

Oct 15, 2010

As many developers probably do, I have a Windows based machine on which I run XAMPP locally to test my code and a Linux machine with Fedora as my remote server.As I sometimes use .htaccess as a way to authenticate some parts of the website, I end up having two .htaccess files: one with the local path (something line D:My_Webs) and one with my remote path (something like /var/www/html/) to the password file.I have searched high and low, but I cannot seem to find any trick so that I only have to maintain one version of the .htaccess file which can work on both Linux and on Windows machines.

View 6 Replies View Related

Server :: Remounting Drives / Paths After Reboot SAN Host

Jul 27, 2010

I'm relatively new to linux in this capacity. I've had to reboot a SAN host (iSCSI initiator). I took a grab of the df -h output before reboot to ensure I was all mounted again afterwards.

Code:
Jupiter:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 30G 18G 11G 64% /
udev 1007M 128K 1007M 1% /dev
/dev/sda3 30G 11G 18G 39% /var
/dev/sdb1 2.0T 1.2T 756G 61% /mnt/kvsan2/distribution
/mnt/kvsan2/distribution/wwwroot/kvAutoUpdate/publish 2.0T 1.2T 756G 61% /home/ftpupload.kv_users/config/ftp
/mnt/kvsan2/distribution/artwork 2.0T 1.2T 756G 61% /home/artwork
192.168.10.45:/mnt/KVSAN5_TH/mp3 2.0T 365G 1.7T 19% /home/ftpupload.kv_users/config/ftp/clips/mp3
192.168.10.45:/mnt/KVSAN5_TH/mpeg 2.0T 1.2T 878G 57% /home/ftpupload.kv_users/config/ftp/clips/mpeg
/mnt/kvsan2/distribution/wwwroot/kvAutoUpdate/publish/musiccon 2.0T 1.2T 756G 61% /home/artwork/Musiccon/autoupdate
/dev/sdc1 50G 23G 25G 49% /home/artwork/Musiccon/musicnew

However upon reboot I am faced with
Code:
Jupiter:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 30G 18G 11G 64% /
udev 1007M 128K 1007M 1% /dev
/dev/sda3 30G 11G 18G 39% /var
/dev/sdb1 2.0T 1.2T 756G 61% /mnt/kvsan2/distribution
Jupiter:~ #

View 14 Replies View Related

Ubuntu :: Use The Grep Command In Conjunction With An Editor?

Feb 16, 2011

Is there a way to use the grep command in conjunction with an editor such as nano or vi so that I can remove the commented out lines from a conf file and then proceed to edit it ? I can use grep -v "^#^" squid.conf (example ) which gives me a nicely tidy conf file but I can't edit it.Can this command be used with nano or ?

View 6 Replies View Related

Hardware :: RHEL4 LUN - Multipathing But Only 1 Device

Nov 22, 2010

I've got an older RHEL4 system (2.6.9-34.ELsmp) which I am needing to migrate off of one LUN and onto another. My plan was to simply have the storage team assign me a new LUN and to setup LVM mirroring then remove the origional LUN. My problem is with the new LUN. I had to reboot to get the system to even see it. It now shows up in /proc/scsi/scsi but there is only one new device in /dev and I cannot even open the sd* device.. I can only open the dm-* device.

[Code]...

View 3 Replies View Related

Fedora Hardware :: NVidia GeForce 310m - Use Card In Conjunction With 14?

Feb 17, 2011

Is there anything special I need to do to use this card in conjunction with Fedora 14? It's been acting a little strange lately. Also I think the card may have some type of 3D support although I'm not entirely sure on that.

View 1 Replies View Related

Software :: RHEL 6 W/LVM Volume Duplication Breaks Multipathing?

Mar 9, 2011

We're trying to take an existing system running multipathed SAN boot disks, duplicate that boot disk to another system volume, and boot a second system up with all the same parts running like the first system (think: cloning the system).However, multipathing is broke on the second system 'm sure I'm forgetting something stupid here after thecloning).Details:We have a freshly installed RHEL6 on IBM PPCThis is a boot off of a SAN volume with two paths. Installation went great - multipathing was auto-detected and used underneath the usual LVMs for the boot volumes. Looks and works great:

Code:
[root@goldimage dev]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on

[code]....

View 2 Replies View Related

Server :: Can't Create Partition Using Fdisk

May 6, 2011

I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)

I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?

View 9 Replies View Related

Server :: Adding Scsi Device Won't Show Up In Fdisk

Jul 27, 2011

I created a new disk on our scsi san. I then ran the following command: echo "- - -" > /sys/class/scsi_host/host1/scan. did that command for each host. and in dmesg, it shows it found a device /dev/sdg. but when i do a fdisk -l. It never lists /dev/sdg. I just did this other day on another server and it worked fine like that. This is RH 4.8.

View 7 Replies View Related

Server :: Motherboard Embeded RIAD1 - Two Disk In Fdisk -l Result?

Apr 27, 2010

I install centos 5.4 on my intel S5000vsa motherboard, and with embeded RAID1. I successfully config RAID1 in BIOS, and then I set to install centos use linux dd mode. And also successfully loaded raid drivers. In centos partition step, one disk appears. However, when centos installed and entered the system, strange result in fdisk -l.

fdisk -l
/dev/sda
...
/dev/sdb
...

Is it normal?

View 4 Replies View Related

Server :: Fdisk Does Not Like Md Devices On Machine Since Configured A Raid And Made Changes To Main Workstation

Mar 24, 2011

It's been a while since I configured a raid and have been making some changes to my main workstation/server.
fdisk does not like md devices on my machine... always says it has an invalid partition table. While this is said to be normal all over the net, I don't feel warm and fuzzy about that fact. What is best practice these days, to create a non-partitionable md device or a partitionable mdp device?

If I create a partitionable md device, I would imagine it would look good in fdisk. However, I am concerned about growing the array afterward. I would then have to grow the array, redefine the partition, and then grow the file system. The PITA factor goes up. Has anyone worked with both? Pro/Cons? My array was created with:

mdadm --create --verbose /dev/md0 --level=5 --force --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1

FYI: I have backups. I understand RAID 1 may be a better choice of raid level.

View 3 Replies View Related

Server :: Image Not Displaying On Webpage?

Mar 15, 2011

I'm using the "Beginning PHP5, Apache, MySQL Web Development" book from WROX to teach myself these processes. I'm a retired programmer and trying to keep my brain active. I've been able to get through most of the process and get things to work. But getting a picture upload and then display it is killing me. The picture is moved from the initial directory and placed in the destination but will not show on the web page, I get a place holder and all the information about the picture, but no pic. The MySQL is processing all the database stuff .I haven't a clue what is not working, Firefox, Apache or what. I'm running Fedora 14.

Here is the code I'm using:

Code:

upload_image.php
<html>
<head>

[code]....

View 11 Replies View Related

Server :: Samba Is Not Displaying Subfolders?

Apr 28, 2010

I have installed Samba and the Guest only share i've created works, I can connect and view, edit, create, delete files fine... However...I can NOT see or create subfolders.Google searches and playing around for six odd hours and no success...

----------smb.conf--------------
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed

[code]....

View 52 Replies View Related

Server :: Displaying An Alternate WebPage When Apache Is Down?

Sep 11, 2010

Code:

# service httpd stop
Stopping httpd: [ OK ]
And now we access the web site by typing the URL: http://192.168.56.10/ and the following message, as expected, is displayed:

Code:

This webpage is not available. The webpage at http://192.168.56.10/ might be temporarily down or it may have moved permanently to a new web address. But is there any way to display a different web page or message when we have brought down the Apache Server for maintenance so that a visitor on our web site would not think that we are gone with our bags and baggages...?

View 1 Replies View Related

Server :: PNG Images Not Displaying From Certain Directories In Apache?

Jan 13, 2011

I have a png file which I put into a user's directory: /~user/file.png This displays OK. When placed in the user's images directory: /~user/images/file.png the file does not display. If I put the file in the global images directory: /images/file.png the file displays OK. Finally if I change the format of the file to a jpg and save it in the user's images directory: /~user/images/file.jpg the file displays OK.

When I look at the Apache access_log and error_log files, there is not even an entry if the png image file is accessed from the user's images directory.

View 4 Replies View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

Ubuntu Servers :: 9.10 Server Downloading PHP Files Instead Of Displaying Them?

Mar 17, 2010

I have an Ubuntu 9.10 server set up at my house. I have Apache2 and PHP5 installed on it. Every time I go to the server on a web page and try to load the PHP index page it downloads instead of displaying.

I have virtual servers set up and have the files stored at /home/cusinndzl. If anyone needs to take a look I can let them into the webmin panel.

View 4 Replies View Related

Server :: Non-displaying Website Data: Javascripts And Images?

Mar 10, 2010

I have a weird problem I am experiencing with my Apache 2.2 w/ ISPConfig 3 running on Debian 5.0.4. It is not a website html issue.***PROBLEM***Images are not beind displayed,javascripts are not being run, however when the site is viewed from a local source as a file(like on a USB Flash Drive) they work fine and display properly.Here is the website URL:I have removed a lot of the images and content or changed it in order to troubleshoot it myself, so the site is stripped pretty bare. There is supposed to be a logo inside the "header" <div>, which is set in the CSS file "style.css". There are supposed to be images for navigation, but they show up as red "x"'s. I removed the javascript elements and just trying to work with barebone html/css and can't seem to get it to display properly.

View 3 Replies View Related

OpenSUSE Install :: How To Add More Paths

Dec 11, 2009

I also have an application installed under /usr/share/myappHow to make a link to the application installed under myapp in to a directory that is already in my env variable?

View 2 Replies View Related

Software :: Cd And Linked Paths ?

Oct 4, 2010

The shell is bash.

The directory path, /this/is/directory/aa, is actually linked to the path /this/is/link/aa.

So when I cd to the aa directory I am in /this/is/link/aa and there is no /this/is/link/bb hence the error with ls.

My question is how does cd understand relative paths and not return an error the way ls does?

View 1 Replies View Related

Programming :: Set Different Paths In Makefile?

Oct 8, 2010

at present I compile the same code for different systems (cross compilers)I need to call libs and include paths for the different processors. At present I simply comment out the paths not needed

eg
#INCDIR = -I/cross1/.......
#INCDIR = -I/cross2/.......

[code]....

View 2 Replies View Related

Ubuntu :: How To Use Network Paths In Apps

Jan 31, 2011

In nautilus I have but when I need to access that location from dialogs in other apps it doesn't work. E. g., "save page to" dialog in firefox.

View 4 Replies View Related

General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

Slackware :: Add Font Paths To XPDF?

Mar 12, 2010

Adobe Reader ain't available for 64-bit so I'm stuck with XPDF (or Okular, which is better than XPDF) and most stuff won't print worth a hoot. I've been reading the manual pages and somewhere or other I'm missing some thing about adding font paths (or replacing the default font paths). I have the complete Adobe Type Library plus TTF's installed in /usr/local/share/fonts (and they work just fine with OpenOffice.org) but I can't seem to figure out how to get them or the Slackware-provided fonts available to XPDF.

View 3 Replies View Related

Debian :: Rsync Backup: Which Paths Should Exclude?

Nov 28, 2010

I'd like to backup my whole system to a 2nd disk using rsync (other tools not possible).Which paths should I exclude from the packup?I was thinking about /proc, /dev, the lost+found directories...What other paths am I forgetting?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved