Software :: Using Multipath For Disk Created On SAN

Jul 27, 2010

I need to set up 1 disk, the disk is presented to the server on both fibre paths from the SAN. This is the current setup seen:

[Code]..

View 1 Replies


ADVERTISEMENT

Programming :: Looking For Last Five Files Created On Hard Disk

Aug 4, 2010

Kernel 2.6.21.5, GNU (Slackware 12.0).
Bash 3.1.17.

I want to search an entire subtree of /, in the file system, for all files, with extension html, created on the hard disk. In addition, these have to be the last five created. I think I could split the problem into two parts: (a) Forget about the last condition. Then this is a job for the find command. (b) Sort the output of find using the date as the key, then use 'head' to print the desired output. But even two such simple steps are enough to justify the writing of a shell script. And here lies my weakness.

My script writing knowledge is rudimentary. What's the final purpose? Well, I lately saved four or five LQ pages onto disk containing information I consider valuable to me. But I don't exactly remember where on the disk. Then: either the problem posed is really of a very simple nature or it is not, in the latter case a script being mandatory. One of the algorithm drawbacks (the one described above) is that find may be running a great deal of time. My machine resources (RAM and CPU speed are low) are scarce and there possible are a large number of HTML files on the disk.

View 8 Replies View Related

General :: 1TB Hard Disk Partition - Device Not Created

Apr 30, 2010

I have installed 1tb hard drive and would like to partition as follows:

1) / - 20g
2) /swap - 6G
3) /photos /150g
4) /videos /500g
5) /audio /300g

After 2-3 partition an extended partition automatically created in which I am not able to create specified capacity i.e., say I want 150g of /photos partition, the /videos partition is automatically reduced and a free space at the end appears. Some free space is always there which i am not able to understand. Nevertheless i clicked to create, but I get an error viz. 'device not created'.

View 7 Replies View Related

Ubuntu :: Get Time Of Disk Formated Or Partition Created Or Installed?

Jan 13, 2011

I need to know when I have bought a notebook. I know I have formatted disk myself and partition created and Ubuntu installed.Is there any way I can get info when I bought a notebook? Like time of disk formatting, partitions created, Ubuntu installed

View 2 Replies View Related

Ubuntu :: Ext USB NTFS Disk Unable To Read Files Created Under 10.10

Feb 9, 2011

Using Ubuntu 10.10 (installed via mythbuntu) I'm unable to read or see files/directories created under Ubuntu. I think it started happening after a reboot to Windows. Some of the directories created under Ubuntu have disappeared completely and some of them produce the following error:
/media/storage/videos/Kids Videos$ ls
ls: cannot access Justin Bieber: Input/output error
ls: cannot access Octonauts: Input/output error
rest of directory is seen fine...

Same on some files:
ls -l
ls: cannot access Dirk Gently.mp4: Input/output error
ls: cannot access Dirk Gently.nfo: Input/output error
ls: cannot access Dirk Gently.srt: Input/output error
ls: cannot access Dirk Gently.tbn: Input/output error
ls: cannot access Human Planet: Input/output error
ls: cannot access Russell Howard's Good News: Input/output error
ls: cannot access The Planets: Input/output error
ls: cannot access Lost Land of the Tiger: Input/output error
total 300160 .....

Just to make it worse I copied more data onto the disk from windows so may have lost some it completely. It there anyway I can repair this? When trying to check under Windows it says it can't. Some of the missing files can be reloaded but others can't. Ran chkdsk /f under Windows XP. Some files have reappeared, but there has been a lot of unrecoverable files lost. Conclusion: Ubuntu 10.10 is badly broken for writing to NTFS. As I would like to share between Windows & Ubuntu using the external disk, I'm not sure what to do at this stage.

View 1 Replies View Related

Red Hat / Fedora :: Delete The KVM Created Hard Disk Image File?

Feb 22, 2011

I want to delete the KVM created hard disk image file, so I would like to know where it is located .

View 6 Replies View Related

General :: Access Disk Druid Once All Of The Partitions Have Been Created In Rhel 5.3?

Feb 12, 2010

is there a way to access disk druid once all of the partitions have been created in rhel 5.3?

View 3 Replies View Related

Software :: Livecd-tools Created Usb Flash Disk Not Booting

Nov 4, 2010

My DVD drive has gone bad and with new Fedora 14 just launched I decided to install the same through the usb flash disk.

First I used dd: dd if=/home/prabhat/Download/Fedora-14-i386.iso of=/dev/sdb

It went on nicely and copied the iso nicely. But I could not boot with it.

Second time I tried livecd-tools: livecd-iso-to-disk /home/prabhat/Download/Fedora-14-i386.iso /dev/sdb1

It went on nicely, and finally declared something like - usb disk is not live .... But here again when I tried to boot it says MISSING OS. I checked the contents of the flash disk. It contained raw DVD iso image, one images directory, one syslinux directory. I checked the contents of the images directory, and I found it had the install.img. And yes, the /dev/sdb1 is bootable.

View 3 Replies View Related

General :: Find Out Maximum Size Of A Image Disk File Created By Kvm-img?

May 22, 2011

I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.

View 1 Replies View Related

Red Hat :: Multipath: Scanning New LUN Fail

May 12, 2011

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:

[Code].....

View 2 Replies View Related

Red Hat :: Unable To Get Multipath Configuration LVM / RHEL 5.3

Mar 24, 2011

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?

This is the actual configuration that I have:

1- /etc/lvm/lvm.conf

Code:

preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
filter = [ "a/dev/mapper/mpath.*/","a/dev/cciss/.*/","r/.*/" ]

2- /etc/multipath.conf

Code:

#blacklist {
# devnode "*"
#}

[code].....

View 3 Replies View Related

Hardware :: Installed Multipath-tools On The Server?

Jan 10, 2010

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

:~ # multipath -ll
360a98000572d4d414b4a522d7a62376d dm-2 NETAPP,LUN
[size=200G][features=0][hwhandler=0]

[code]....

View 3 Replies View Related

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.

RPMs
device-mapper-1.02.24-1.el5
device-mapper-event-1.02.24-1.el5
device-mapper-multipath-0.4.7-17.el5
hp_qla2x00src-8.02.11-6

View 1 Replies View Related

Red Hat :: Multipath Information In Vxvm Showing As 8 Paths

Apr 9, 2010

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.

[Code]....

View 1 Replies View Related

CentOS 5 Hardware :: Setting Multipath In RHEL 5.4?

Apr 7, 2010

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:

[Root @ c5 ~] # multipath-ll
mpath1 (1HITACHI_R45028F9022F) dm-2 HITACHI, OPEN-E
[Size = 14G] [features = 1 queue_if_no_path] [hwhandler = 0] [rw]
_ Round-robin 0 [prio = 0] [active]
_ 3:0:0:0 sdb 8:16 [active] [ready]
_ 4:0:0:0 sdc 8:32 [active] [ready]
_ 3:0:0:16384 sdd 8:48 [active] [ready]

[Code]...

Question: Why OS sees eight ways instead of two? Why do extra ways have such strange LUN (16384, 32768, etc.)?

View 1 Replies View Related

CentOS 5 :: Dm Multipath Kernel Driver Not Loaded?

Apr 17, 2011

after some yum update on my CentOS 5.6 server I noticed this error when the server is booting:

"dm multipath kernel driver not loaded"

View 10 Replies View Related

Debian Configuration :: Multipath Map Creation Takes Several Minutes In Stretch

Oct 14, 2015

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] ....

View 0 Replies View Related

Software :: Device-mapper-multipath - Slow Failover Period

May 10, 2010

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.

alias scsi_hostadapter2 qla2xxx

Code:

My multipath.conf looks like:

Code:

View 3 Replies View Related

Server :: Remove A Path - Kill The Zombie Processes - Multipath Errors?

Apr 12, 2011

i want to remove a path, but is in use.. How can i kill the zombie processes?

[Code]....

I guess i was wrong deleting first the disks that formed the path, but now how could i kill those zombie processes without a reboot?

[Code]....

View 2 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

OpenSUSE Hardware :: Setup Multipath With Failover Policy On 11 - Connection Failed Over To Second HBA Connection To SAN

Aug 13, 2009

I am trying to setup multipath with failover policy on openSuSE 11. I have two qla2xxx HBA's installed and they appear to be working. Here is the output of "multipath -l" command

[Code]....

While testing, I pulled one of the two connection to SAN, and the connection failed over to second HBA connection to SAN. When I plug the cable back in, it does not fall back to original connection... It stays in failed state. Also, I noticed that failed disk (sdd disk) comes back as (sdg disk), which is probably why connection does not fall back to original HBA. But, when I run "/sbin/service multipathd restart" sdg disk shows as as enabled in multipath -l...

View 9 Replies View Related

Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices

Jul 20, 2011

i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard

Here is the multipath.conf

[Code]....

So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun

View 1 Replies View Related

Fedora :: Set Up Multipath Properly To Two Devices Properly?

Mar 29, 2011

How can I set up multipath to two devices properly? I'm sure that I need to do something more then just: /etc/init.d/multipathd start

View 1 Replies View Related

Ubuntu :: Tty Not Created At Boot?

Jan 12, 2010

ly after updating, tty consoles are not created during boot. When using Ctrl+Alt+F[1-6] I get a blinking cursor and no login prompt. When I use:

Code:
sudo getty -8 38400 tty1
a tty port is created and I get the login prompt.

View 1 Replies View Related

Ubuntu :: How UUIDs Are Created

Jun 30, 2010

I have a 500GB SATA drive in a USB enclosure that I use to backup my system.My first step was to clone the 500GB drive in my computer to the USB drive.Now I would like to use rsync to copy changes made since that cloning to the filesystem on the USB drive.But Ubuntu will not let me mount the filesystem because it has the exact same UUID as the main filesystem! I don't know how the UUIDs are created, but without a unique UUID I do not know how to do the mount.

View 5 Replies View Related

Ubuntu :: How To Use Created Partition

Dec 9, 2010

I was able to create a new partition in my terminal using fdisk.

So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problem is, how can I use that partition or how can I save files or install applications on it?

I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it, but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though.

View 1 Replies View Related

CentOS 5 :: LVM /dev/ Device Not Being Created?

Feb 3, 2010

We are having issues with LVM on CentOS 5.4 both 32bit and 64bit on one particular machine. I just can't get my head around it. Usually a device in /dev/ is created when a LVM Volume Group is created. e.g. if you add a volume group called foo, you would have /dev/foo to work with to access LVs inside the volume group.

For some reason it's not being created. The udev service is running, the volume group is created ok, I cant see anything strange in logs or strace.

View 10 Replies View Related

Ubuntu :: Disk Space Used Doesn't Match What Is Shown In Disk Usage Analyzer?

Feb 26, 2011

Some thing is using up a huge amount of my disk space about 10G and I can not determine what it is. When I look at my disk usage in system monitor it say I have used about 25G and when I scan the directory in disk usage analyzer the entire file system used is 15G.

View 1 Replies View Related

Hardware :: Fedora 11 RAID 1 - Disk Failure - Boot From The Single Working Disk?

Oct 16, 2009

my Fedora 11 system is not starting anylonger. It stops with the message:

Code:

VFS: Can't find ext4 filesystem on dev dm-0

The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).

View 2 Replies View Related

Debian :: Disk Health Warning - Disk Part Of RAID5 Array

Feb 17, 2016

I received the following error when I got home from work today. If this was a windows environment, my first inclination would be to boot off my dvd and then run a chkdsk on the drive to flag any bad sectors that might exist. But there's a complication for me.

Code: Select allThis message was generated by the smartd daemon running on:
   host name:  LinuxDesktop
   DNS domain: [Empty]

The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors
Device info:
WDC WD5000AAKS-65V0A0, S/N:WD-WCAWF2422464, WWN:5-0014ee-157c5db9a, FW:05.01D05, 500 GB
For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.The original message about this issue was sent at Sun Feb 14 13:43:17 2016 MST.Another message will be sent in 24 hours if the problem persists.

From gnome-disks
Code: Select allDisk is OK, 418 bad sectors (28° C / 82° F)

I did a bit of reading and it seems that most people suggest using badblocks to first get a list of badblocks from the drive and save it to a file. Then use e2fsck to then mark the blocks listed in the badblocks file as bad on the hard drive. My problem here is that this drive is part of a RAID5 array that hosts my OS. I wanted to confirm if this was still the correct process.I boot to my Live Debian disk, stop the raid array if it's active. Then run badblocks + e2fsck commands on the drive in question and then reboot.

View 1 Replies View Related







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