Skip to main content
Rollback to Revision 1
Source Link
Stephen Kitt
  • 481.5k
  • 60
  • 1.2k
  • 1.4k

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. If your system supports hot swapping disks, swap one small disk for a large one; if it doesn’t, powerPower down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. If your system supports hot swapping disks, swap one small disk for a large one; if it doesn’t, power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. Power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Hot swapping might be possible.
Source Link
Stephen Kitt
  • 481.5k
  • 60
  • 1.2k
  • 1.4k

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. PowerIf your system supports hot swapping disks, swap one small disk for a large one; if it doesn’t, power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. Power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. If your system supports hot swapping disks, swap one small disk for a large one; if it doesn’t, power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.

Source Link
Stephen Kitt
  • 481.5k
  • 60
  • 1.2k
  • 1.4k

Yes, this is possible, but you need to follow the instructions in the chapter on Replacing a failed RAID device in a logical volume:

  1. Back up your data.

  2. Power down the system, remove one disk, add a new larger disk, power the system back up; if the system doesn’t come back up correctly, you can revert the replacement (and ignore the rest of these instructions…).

  3. Create a PV on the new disk (pvcreate) and add it to the volume group (vgextend).

  4. Repair the logical volumes and the volume group:

    lvconvert --repair vg_storage/lv_data
    lvconvert --repair vg_storage/lv_database
    vgreduce --removemissing vg_storage
    
  5. Repeat with the remaining disks until the entire array has been migrated.

The documentation you looked at assumes the old and new disks are connected simultaneously.