1 |
Howdy, |
2 |
|
3 |
I'm getting closer to swapping out a hard drive in one of my LVM |
4 |
groups. It has two drives in it. They are sdc and sdd as shown below. |
5 |
|
6 |
|
7 |
--- Physical volume --- |
8 |
PV Name /dev/sdc1 |
9 |
VG Name Home2 |
10 |
PV Size 2.73 TiB / not usable 3.44 MiB |
11 |
Allocatable yes (but full) |
12 |
PE Size 4.00 MiB |
13 |
Total PE 715396 |
14 |
Free PE 0 |
15 |
Allocated PE 715396 |
16 |
PV UUID ki26nc-pgTs-PCx9-qPBQ-RJNd-5Rd7-aj8sR4 |
17 |
|
18 |
--- Physical volume --- |
19 |
PV Name /dev/sdd1 |
20 |
VG Name Home2 |
21 |
PV Size 2.73 TiB / not usable 3.44 MiB |
22 |
Allocatable yes (but full) |
23 |
PE Size 4.00 MiB |
24 |
Total PE 715396 |
25 |
Free PE 0 |
26 |
Allocated PE 715396 |
27 |
PV UUID vg4f2b-1d6N-61hF-Adl7-0wzf-nxn6-Ol5ybJ |
28 |
|
29 |
|
30 |
|
31 |
I'm planning to change some connections while swapping and wanted to be |
32 |
sure of something before I do any moves like this. Let's say I move sdc |
33 |
and it becomes sdb. Will LVM still see it the same way? I suspect it |
34 |
tracks the drive by the UUID which stays the same no matter what port or |
35 |
sd letter it gets BUT I want to be sure. I've drawn out a diagram of |
36 |
how the drives are currently connected so I could go back if needed but |
37 |
still want to rearrange things. Am I correct that changing what drive |
38 |
connects to what sata port won't matter to LVM and how it sees them? |
39 |
Also, what if I connect one to the PCIe card I have? Will it still see |
40 |
it the same way? |
41 |
|
42 |
Also, I found a wonderful guide for my upcoming move. It is located here: |
43 |
|
44 |
http://tldp.org/HOWTO/LVM-HOWTO/removeadisk.html |
45 |
|
46 |
Scroll down a bit to: 13.5.2. Distributing Old Extents to a New |
47 |
Replacement Disk |
48 |
|
49 |
That covers exactly what I am doing. Even tho Grant and others say it |
50 |
is that easy, I still find it hard to believe. O_0 I sure am glad I |
51 |
was talked into using LVM. I think it was Alan that first mentioned it |
52 |
but not sure. |
53 |
|
54 |
Thanks much. |
55 |
|
56 |
Dale |
57 |
|
58 |
:-) :-) |
59 |
|
60 |
P. S. I'm still copying over my /home to the new 8TB backup drive. |
61 |
While it is copying at speeds of 20MBs/sec for some files to as high as |
62 |
160MBs/sec for other files, it takes a long time with that much data. |
63 |
It is running at a much better speed than it was when I started the |
64 |
other thread. |