Solved

what happens after removing a lun from lvm under linux

Posted on 2010-08-29
3
485 Views
Last Modified: 2012-06-21
Hi:

     We have been undergoing some disk problems on a type 6 raid.
     We have 4 luns and want to move the data to another lun. Then remove
     the problematic lun.
     This is run under Centos 5.3 and the 4 luns are grouped together by lvm.
     We added lun5 and put it under the lvm so linux now sees
     5 devices /dev/dm-0 through /dev/dm-4. I added /dev/dm-4 to the volume group.
    And am currently running pvmove. to move the extents from the problematic pv. (dm-1).

   The question is after I remove dm-1 from the volume group and then remove the lun
   will I have problems recognizing my data.

   The reason I ask is that normally linux may see the following disks:
  /dev/sda, /dev/sdb. /dev/sdc. When /dev/sdb is removed /dev/sdc will become
  /dev/sdb on a rescan. So I was wondering if I will see the same problems here.

  I have
    1 - luns, 2 - multipath mapping, and 3 - lvm.

  Thank you for your help.
   
           
0
Comment
Question by:kot_linuxoid
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jmslagle earned 500 total points
Comment Utility
If you are using LVM, then LVM will figure out the disk identities by metadata stored on disk, not the device name.  Additionally, it's usually wise to tell your FSTAB to mount by uuid or label for the same reason.
0
 

Author Comment

by:kot_linuxoid
Comment Utility
thank  you very much.
0
 

Author Closing Comment

by:kot_linuxoid
Comment Utility
He answered my concerns, and I knew that the
multipath drivers depend on a wwid to map.
So I didn't need info on the multipath. But to have been complete referring to the multipath(s) should
have been discussed as well.

In either case thanks to imslagle for his answer.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now