Solved

what happens after removing a lun from lvm under linux

Posted on 2010-08-29
3
493 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jmslagle earned 500 total points
ID: 33558520
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
ID: 33564617
thank  you very much.
0
 

Author Closing Comment

by:kot_linuxoid
ID: 33564639
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Server Backup - listing of files that were backed up 26 128
WD MybookLive Data disappear 6 67
Perc RAID Controller Poweredge T110 3 69
NTPD Client Port Usage 12 65
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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