Home > lvm > Multipath device unpresented to host. How to delete it from LVM and the system?

Multipath device unpresented to host. How to delete it from LVM and the system?

August 9Hits:1
Advertisement

OS: Red Hat Enterprise Linux AS release 4

Storage people had unpresented a couple of disks previously exported to the system (things that... sometimes happens). Well, there is no problem with this because that disk were empty and data was migrated to other PV's. The problem is that the devices were removed without the previously remove process in the system.

How can i delete that missing disks from whole system?

multipath -ll:

mpath10 (350002ac01bde0e96) [size=50 GB][features="0"][hwhandler="0"] \_ round-robin 0 [enabled]  \_ 0:0:1:2 sdf  8:80   [failed][faulty]  \_ 0:0:2:2 sdk  8:160  [failed][faulty]  \_ 1:0:0:2 sdp  8:240  [failed][faulty]  \_ 1:0:2:2 sdx  65:112 [failed][faulty] 

pvdisplay:

/dev/dm-9: read failed after 0 of 4096 at 53687025664: Input/output error /dev/dm-9: read failed after 0 of 4096 at 53687083008: Input/output error /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error /dev/dm-9: read failed after 0 of 4096 at 4096: Input/output error /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error 

Thanks in advance and, please, excuse me for my english

Answers

I don't know if this holds true for RHEL4, as I've only tried it on newer OS:es, but

To delete the mpath device;

multipath -f mpath10

to remove a block device from the linux OS, run a

echo 1 > /sys/block/sdf/device/delete

When the mpath device is gone, pvdisplay will no longer complain if that's where the pv is.

Tags:lvm, multipath

Related Articles

  • Multipath device unpresented to host. How to delete it from LVM and the system?August 9

    OS: Red Hat Enterprise Linux AS release 4 Storage people had unpresented a couple of disks previously exported to the system (things that... sometimes happens). Well, there is no problem with this because that disk were empty and data was migrated to

  • /dev/disk/by-id/scsi-* links pointing to sdX instead of multipath deviceMay 3

    We have two similar SLES10SP2 servers both using multipath on the same devices from the same storage array. On one server, the /dev/disk/by-id/scsi-* devices properly point at the multipath devices: server1:/dev/disk/by-id # ls -l scsi-* | awk '{prin

  • Local disks detected as multipath deviceOctober 22

    My local partitions are detected as multipath device $multipath -l mpathb (360014380125d90420000a000003e0000) dm-9 HP,HSV450 size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=0 status=active `- 3:0:0:1 sdb 8

  • Why higher await time for DM multipath device than underlying device?May 27

    We have a CentOS 6.4 based server attached to Hitachi HNAS 3080 storage and observed the kernel remount the filesystem in read-only mode: May 16 07:31:03 GNS3-SRV-CMP-001 kernel: [1259725.675814] EXT3-fs (dm-1): error: remounting filesystem read-only

  • How to create multipath deviceOctober 16

    Running a Red Hat Enterprise Linux Server release 6.6. Created new LUN, re-scanned the bus, created PV on one of the 4 new devices created, then created VG-LV on te same. The LUN is multi-pathed but I forgot to modify the multipah.conf at blacklist_e

  • Mounting multipath devices by UUID in fstabFebruary 2

    I have several multipath iSCSI LUN's formatted as ocfs2 filesystems. They are part of an Ubuntu 14.04 cluster using local heartbeat. This all appears to be working fine if I mount them manually after rebooting. If I try to automatically mount them by

  • How can I delete a row in a case system in MS Word 2011 for Mac?

    How can I delete a row in a case system in MS Word 2011 for Mac?March 30

    I gave up trying to make MS Word work with LaTeX syntax, so I decided to learn to use its equation system. I'm using MS Word for Mac, 2011. I wanted to insert a case structure. I usually accidentally insert new cases, like this: See, the fourth case

  • Why does my lvm2 volume group only work with multipath device mapper and not powerpath?May 8

    My server is an Oracle Enterprise Linux 5.4 (RHEL5) on an hp blade (x64) with qlogic HBAs connected to an EMC clariion SAN. We are migrating from multipath to powerpath, because emc and the company storage team will not support multipath. Currently m

  • Multipath device name doesn't display correctlyMarch 1

    I'm playing with iscsi and I'm trying to figure out why the vendor/product names aren't showing up correctly. I've restarted all the appropriate services along with a reboot. Listed below are the output along with an excerpt of the config file. Outpu

  • RHEL 5 How to set mount location of multipath device?January 16

    I have a RHEL5 + 3Par FC SAN storage environment and am unsure how to setup a multipathed FC device to mount to particular location like /data. I have the 3Par Implementation guide for RHEL and it still doesn't make sense to me. I'm following the gui

  • How to install Debian wheezy on a multipathed DeviceJune 23

    I wanted to know how to install the Debian on Multipathed Luns since i did not found any complete Instructions I like to share my way to do it. Press TAB to enter additional settings. Type at the end of the line install disk-detect/multipath/enable=t

  • multipath, device mapper, and disk i/o schedulerDecember 17

    We have two machines with a multi path SAS controller, each with 12 physical disks attached. We were looking into some I/O speed oddness, and noticed that on one machine, where /dev/mpath/mpath*p1 maps to dm-13 through dm-24 in various ways, dm-13 an

  • device mapper on RHEL6 unable to create devs for LVM logical volumeApril 3

    I have XEN guest running RHEL6, and it has a LUN presented from the Dom0. This contains an LVM volume groups called vg_ALHINT (INT for Integration and ALH is an abbreviation of its Oracle database name). The data is Oracle 11g. The VG was imported, a

  • How to delete a Play store accpunt through system December 8

    This question already has an answer here: Deleting a device from the Google Play Store? 1 answer I have sold my old android mobile to a person and made sure that the mobile was completely formatted. But, when I try to view the list of devices in Play

  • How to delete all local mail from a system account?June 30

    The root mail account has been blown up by mischieveous cronjobs, and I want to completely delete the mail from the account. Is there a key for that in the mail command? I deleted /var/mail/root but I don't know if that's the proper way to do it, or

  • How to delete these Folders that created by system with long name?

    How to delete these Folders that created by system with long name? November 6

    Possible Duplicate: Can't delete folder in Windows 7 After 2 months of installing windows 7 and my applications i found a lot of useless folders in D:\ as in the below image and i can't delete them although they are empty Is there any way to delete s

  • Accidental deletion of the Gmail (IMAP) Trash 'System Label' in EvolutionJune 25

    I am using 11.04 and Evolution 2.32.2 I accidentally deleted the Gmail (IMAP) Trash 'System Label' in Evolution. Because this is Gmail object and (not a label per say), it is not deletable in Gmail. Under my Gmail account settings, I have made sure t

  • I deleted a C file from my system using rm-rf August 2

    Possible Duplicates: How to recover a removed file under linux Undo an "rm -rf ~" command? I deleted a newly created C file from my system. My assumption was that I did a svn commit. But I forgot to add the new C file to svn repository. And surp

  • Will deleting (Default) entries in registry cause system instability?

    Will deleting (Default) entries in registry cause system instability?October 14

    What is the point of the (Default) registry items? For example, in HKCU\Software\Microsoft\Windows\CurrentVersion\Run: Is it okay if I delete the (Default) entry? Will it cause system instability? --------------Solutions------------- It depends on wh

  • Delete action on a user management systemNovember 27

    I'm working on User Management System in ASP.NET MVC3. Administrator/Editor can search, insert, update and delete other users from the system. What should I do when admin/editor clicks on Delete user link? Should I redirect him to new yes/no confirma

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.758 s.