1 |
Am 17.11.2011 07:50, schrieb Dale: |
2 |
[...] |
3 |
> One more question. I have two drives. A 250Gb and a 750Gb. Originally |
4 |
> the data was on the 750Gb drive. I set the 250Gb up on LVM then moved |
5 |
> things over from the 750Gb. I then added the 750Gb to the VG and |
6 |
> resized the file system. So, in theory the data is on the 250Gb drive. |
7 |
> Let's say I want to remove the 250Gb drive. I would use pvmove to do |
8 |
> that right? When I ran pvmove /dev/sdb, which is the 250Gb drive, then |
9 |
> it would remove all the data from that drive so that it could be |
10 |
> removed. Am I close? |
11 |
> |
12 |
> I'm not planning to do that but just wanting to get a better |
13 |
> understanding of this LVM thing. |
14 |
> |
15 |
> Dale |
16 |
> |
17 |
|
18 |
Yes, that is correct. It moves the data by mirroring it temporarily on |
19 |
the new location before updating the metadata so that only the new |
20 |
location is used. Therefore you can safely reboot or abort operations. |
21 |
|
22 |
Regards, |
23 |
Florian Philipp |