[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Rename physical volume



I made a little mistake a few months ago
when I added a disk to my VG:

----- s n i p -----
celia:~# pvdisplay | egrep 'PV Name|Allocatable'
  PV Name               /dev/md0
  Allocatable           yes (but full)
  PV Name               /dev/hdc
  Allocatable           yes (but full)
  PV Name               /dev/sdd1
  Allocatable           yes (but full)
  PV Name               /dev/md2
  Allocatable           yes (but full)
  PV Name               /dev/md3
  Allocatable           yes
----- s n i p -----

What id like to do is move all data from sdd1
(372Gb) to the new md3 (just added - empty 465Gb)
and then remove sdd1 and create it as md1 and
move the data back.

But I'm afraid of holes in the FS (XFS)...

Also, hdc is just a 80Gb disk which I forgot
to remove when I added sdd1 (I had a 80Gb disk
laying around and not enough money) so I'd
like to remove it completely (move the physical
data to some other PV - md3 because of free
space on that).


Any advice in which procedure I should use
to accomplish this?
-- 
arrangements Uzi SDI Waco, Texas Saddam Hussein Noriega KGB security
tritium colonel FSF NORAD FBI Qaddafi domestic disruption
[See http://www.echelonwatch.org/ for more about this]
http://www.theregister.co.uk/2001/09/06/eu_releases_echelon_spying_report/
http://www.aclu.org/safefree/nsaspying/23989res20060131.html#echelon


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]