LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-30-2014, 07:52 AM   #1
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Rep: Reputation: 32
best way to move data from one disk to another


Environment:
Red hat 5.9
EMC powerpath devices
This is a SERVER not a laptop or desk top.
-----------------

We have a system that has around 10T of data on it.
It has EMC attached devices from several EMC frames.

My SAN admin wants to retire one of the frames this machine has disk from. (9 disk in total)

There is one large volume group.

In AIX we have a command called migratepv that allows us to move data from one disk to another without system downtime or impact to the users.

Is there a similar command in Linux that will allow me to extend my vg to include a new disk and then move the data off the old disk to the new one without rebuilding the vg or taking the system down etc.

If downtime is needed what other options other than rebuilding a 10T filesystem is there if any?

Any help would be great. I am googling the heck out of this and all I am coming up with is commands to back up you OS disk and install another one and clone it back and similar articles. Nothing for SAN attached devices.
 
Old 01-30-2014, 09:51 AM   #2
unix1adm
Member
 
Registered: Oct 2008
Posts: 688

Original Poster
Rep: Reputation: 32
I am using lvm and I have found out about a command pvmove I will review the manpages on that command and see if that will do it for me or not.
 
Old 01-30-2014, 09:52 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,131

Rep: Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464Reputation: 6464
Quote:
Originally Posted by unix1adm View Post
Environment:
Red hat 5.9
EMC powerpath devices
This is a SERVER not a laptop or desk top.
-----------------

We have a system that has around 10T of data on it. It has EMC attached devices from several EMC frames. My SAN admin wants to retire one of the frames this machine has disk from. (9 disk in total)

There is one large volume group. In AIX we have a command called migratepv that allows us to move data from one disk to another without system downtime or impact to the users. Is there a similar command in Linux that will allow me to extend my vg to include a new disk and then move the data off the old disk to the new one without rebuilding the vg or taking the system down etc.

If downtime is needed what other options other than rebuilding a 10T filesystem is there if any?

Any help would be great. I am googling the heck out of this and all I am coming up with is commands to back up you OS disk and install another one and clone it back and similar articles. Nothing for SAN attached devices.
Rather than Googling for it, have you contacted either your SAN vendor or Red Hat support?

You don't mention what kind of SAN you have, but I know on EMC SAN's, the SAN administrator can copy/clone disks/volume-groups in the SAN itself. The only downtime needed will be a reboot, as the old frame is pulled out, and your FC connection migrates to the new frame. Your SAN administrator should be familiar with whatever migration processes they've got available to them. In EMC land, this is either a BCV clone or snapshot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux rescue disk for data recovery of data on windows laptop with corrupt os Jonjo-k Linux - Newbie 10 01-04-2014 06:00 PM
Doing a zero-copy move of data from a kernel buffer to hard disk. neeraj.kumar01 Linux - Kernel 1 12-17-2010 06:48 PM
Hard Disk Failure: How do I move data to a new hard disk drive? spyros Linux - Software 2 10-31-2008 03:01 PM
How to view/mount separate disk -- move /home to second disk Spearhead40 Ubuntu 12 11-03-2007 03:37 PM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration