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

Disk in volume group going bad...



Hello Everyone,

I have a hard disk in a volume group that's going bad. I want to move the data
from this disk to another.  I think I have a good idea of what needs to be done
but want to make sure:

1. Add new drive to volume group
   - pvcreate /dev/sdb
   - vgextend root_vg /dev/sdb

2. Move the data from the old physical volume to the new one
  - pvmove -v /dev/sda /dev/sdb

3. Remove the bad drive...
  - vgreduce root_vg /dev/sda

Could somebody let me know if I'm missing something?

Thanks,
James


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