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


ADVERTISEMENT

Ubuntu :: Device Paths Change After Ever Reboot?

May 2, 2011

After I reboot my Ubuntu 10.04.2 LTS l machine my device paths change (even the boot drive) and this causes havoc on my two RAID5 arrays. The device paths change and causes a mismatch in my fstab and I have to manually mount both RAID arrays every time. It's quite frustrating and annoying and I would love for it to stop. This even happens for the boot path.

Example: my boot path is /dev/sde5 I reboot my machine and my boot path changes to /dev/sdm5

Why does this happen? And more importantly how can I stop it from happening so it stops messing with my RAIDs?

View 3 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

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 :: 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 View Related

Hardware :: Hard Drives Aren't Recognized Until Reboot

May 28, 2011

I have a computer with 2 internal hard drives and one of them doesn't show up in the bios until I reboot. Almost every time. Does this mean the drive is going to fail or the cable is bad or what?

View 4 Replies View Related

Software :: Partitions On Older Drives Not Showing Up After Reboot?

Aug 1, 2011

I want to re-setup a raid array on some older drives using mdadm. That involved adding a single partition on 4 of my drives (3 older, 1 brand new - a replacement drive), using mdadm to create the array, etc. However, upon restarting the box, the 3 older drives do not show up as having partitions and hence mdadm cannot immediately start the array because 'there are not enough disks to start'.For example, if I do an ls command before I restart, I will see:

Code:
ls -ltr /dev/sd*1
/dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1

[code]...

View 6 Replies View Related

Server :: Debian RAID 10 Spare Drives Versus Active Drives

Jun 9, 2011

so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?

root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]

[code]....

View 2 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

Server :: Apache2 Virtual Host Defaulting To Default Host

Oct 30, 2009

Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.

View 1 Replies View Related

Ubuntu :: WD15EARS Drives Not Working With Mdadm And RAID5, Especially After Reboot

Feb 18, 2011

I am getting really frustrated with trying to get my RAID5 working again. I had a RAID5 array built with 4 of the Western Digital 1.5tb "Advanced Format" drives, WD15EARS. However, when copying 1.5gb dvd encoded files to the drive, I was getting speeds of ~2mb/s. When researching how to make this faster, I came across all the posts about the Advanced Format drives and how that was causing a lot of issues for a lot of people. It looked like the solution was simple enough: partition starting at sector 64 or 2048 or whatever and then recreate the RAID. However, this is not working for me.

Here are my computer specs:
Motherboard: Gigabyte GA-EP43-DS3L LGA 775 Intel P43 ATX
CPU: Intel Core 2 Duo E8400 Wolfdale 3.0GHz 6MB L2 Cache LGA 775 65W
RAM: 4gb DDR2 1066 (PC2 8500)
Video card: ASUS GeForce 9600GT 512MB 256-bit
Linux: 10.04

[Code].....

View 1 Replies View Related

Ubuntu :: After A Reboot One Of The Hard Drives On Machine Refuses To Mount?

Feb 5, 2010

After a reboot (why did I do that???) one of the hard drives on my machine refuses to mount with the following message:

Code:
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error

[code]....

View 13 Replies View Related

OpenSUSE Install :: Remounting /tmp On Different Partition ?

Feb 27, 2010

I'd like to perform a system backup (yast/system/system bkp - SUSE 11.1) Despite I indicate an external drive with enough free space, system bkp first uses /tmp. My /tmp is mounted with / on a small size partition (sda6) with only 7 GB free. I'd like to (re)mount it on sda7, then restart the system backup.

How to do it exactly? (read somewhere I can only re-mount /tmp on empty partition, which is not my case)

Also I'd like a permanent change in /etc/fstab.

Code:

View 6 Replies View Related

General :: Unmounting And Remounting A Volume ?

Mar 9, 2011

I have a volume that shows as the following when I do a df -h. How would I go about unmounting it so I can run an e2fsck on it, then remounting it? normally it mounts when the server starts, so i'm not sure how to manually do it.

View 7 Replies View Related

Ubuntu :: Disks Constantly Remounting As Read Only

Jun 11, 2010

My disks are constantly being remounted as read only. Even after I manually mount them and explicitly specify the rw option, after a while I find they have become read only. Needless to say, working like that is impossible. Fortunately the root partition is not affected, but every other partition is.

View 7 Replies View Related

Ubuntu Servers :: Files Missing After Remounting Hdd?

Apr 20, 2011

i am running 10.10 server. i shut down the server to install a new hard drive for backups. When i remounted the drives and restarted the shares, About 10 very important files were missing. The rest of the data on the share is fine.

View 2 Replies View Related

General :: Resuming File Copying After Remounting CIFS Directory

Mar 13, 2011

I'm trying to resume copying from a mounted CIFS device to my local hdd with cURL. I tried

Code:
$ curl -C - -O file://myfile
and also

Code:
$ curl -C <manual offset> -O file://myfile
(looked up the manual offset using "$ wc -c")

This resumes copying if I cancel it eg with ^C.

But it does not work if I unmount and remount the CIFS device. cURL then ignores my given offset and continues again from start as if nothing were there without saying a word. With "-C -" the same effect.

View 2 Replies View Related

Fedora Installation :: Fc11 Install Hangs After Remounting Root Fs In R/w Mode

Jul 8, 2009

I have a Dell Optiplex 760 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz

running:

I tried to upgrade to FC11 via download and DVD and in both cases the install hangs on bootstrap right after remounting the root filesystem in read/write mode.

Since it hangs in this manner, I have not been able to gather any logs...

View 5 Replies View Related

Server :: File Server Machine To Store All Data So Being That Have Got Four Identical SATA Hard Drives?

Jan 25, 2011

I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:

/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/)Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?

View 1 Replies View Related

Server :: Host Is Not Configured As A Member Server: Samba Joining Windows 2003 AD?

Oct 15, 2009

Wanting to join my CentOS5.3 to a windows 2003 active directory. Configured kerberos and samba.

Code:

[libdefaults]
default_realm = domain
dns_lookup_realm = false

[code].....

View 5 Replies View Related

Server :: Rsync Files And Directories From A RedHat Host To A Windows Server 2003R2?

Jun 9, 2011

I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.

There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.

I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?

I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.

View 3 Replies View Related

Networking :: Bonded NICs At Host OS - Ubuntu Server - Bridged To Virtual OS - UServ - In VMware Server

Jul 19, 2009

Just something that struck me while working on our virtual servers today.

I have bonded 3 NICs at the host in Ubuntu Server 8.04 LTS. They are using mode 0 for Round-robin. Point is to increase the speed/performance of all the servers, but mainly the fileserver. The fileserver is a virtual server running Ubuntu Server 8.04 LTS on VMware Server 2.0.

1) I noticed the NIC in the slave OS reported link speed as 1000 and Im unable to change it as the NIC (virtual one) doesnt support it. Does this not really matter, as the NIC doesnt exist, and it will run at higher speeds anyway? Or do I have to remove the bond on the host, bridge all 3 interfaces from the host to the slave OS, and then make a bond in the slave OS?

2) While at it, does mode 0 only increase performance on data being sent from the host or does it also increase the available incoming bandwidth?

View 1 Replies View Related

Server :: Apache Server Not Recognizing Virtual Host Fedora 12

Apr 17, 2010

I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.

I have made the following additions to the /etc/httpd/conf/httpd.conf file

Code:

In addition to this, I have added this to my /etc/hosts file

Code:

I wanted to test the Apache server on my laptop only by putting an html file in /var/www/html and naming it as index.html. I want this index.html page to be displayed when I put www.chaalu-kam.com in my browser. What should I do? My firewall is off too

View 10 Replies View Related

Server :: SUA On Win2k3R2 Server Rsync Pull From Linux Host

Jun 10, 2011

Has anyone had any experience on using SUA(Services for UNIX Applications) rsync to "pull" files down to the Win2k3R2 server from a linux rsync host?I was trying to use cygwin rsync before until I found out from cygwin that the cygwin port of rsync was "flakey" and would fail intermittently for no apparent reason. cygwin suggested I use SUA or SFU for rsync services.

I've looked for/ am looking for any experience using SUA rsync to copy files down from a linux rsync host to the Windows host via rsync on the Windows host. Also, if you have done this successfully, do you have any pointers/caveats you can share on how you got it working? What I am basically looking to do is copy files and subdirectories of files from a linux host using rsync to some static location on a Windows server on a scheduled basis so that I can backup the windows server to tape using Symantec's Backup Exec application.

I'm doing it this way to avoid deploying the Remote Agents for either linux or Windows on the target hosts. As an alternative I've seen reference to a product called DeltaCopy that uses a native Windows rsync port with the native linux port of rsync to do what I need also.I realize this is not a strictly linux question, but more of a hybrid as I'm moving data to and from Windows and linux hosts. So, if this is too Windows-y a question, please say so and I'll withdraw my question.

View 2 Replies View Related

CentOS 5 Server :: Start Jboss And Tomcat Automatically, When I Do Reboot The Server?

Sep 9, 2009

I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?

View 1 Replies View Related

CentOS 5 Server :: Ipt_Sysrqd To Reboot A Server By Ping

Apr 26, 2009

I see this site: [url]

That explain how to reboot a freeze system by remote with only make a ping in other machine.

Well I want to know if that module is compatible with my centos 5 because it appear that run in kernel 2.6.X. is compatible ?

View 2 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

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







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