Re: Trouble replacing an LVM disk

2014-02-19 Thread st
st wrote: Somehow, creating and adding a disk manually gives 1 PE less: And I think I've found where the disk space went to. root@hulk:~# pvck /dev/sdb1 Found label on /dev/sdb1, sector 1, type=LVM2 001 Found text metadata area: offset=4096, size=195584 root@hulk:~# pvck /dev/sde Found

Re: Trouble replacing an LVM disk

2014-02-18 Thread st
Nuno Magalhães wrote: Does pvcreate imply pvscan? I.e. is LVM aware of the new pv so you can move onto it? It becomes aware when the PV is added to VG. That's also when pvdisplay starts showing how many extents LVM thinks the volume's got so I have to do it anyway. LVM doesn't start moving be

Re: Trouble replacing an LVM disk

2014-02-18 Thread Nuno Magalhães
Does pvcreate imply pvscan? I.e. is LVM aware of the new pv so you can move onto it? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADqA9ub_YHpeR3fZjvA4=ezecmab6a4e

Trouble replacing an LVM disk

2014-02-18 Thread st
So there's an LVM volume consisting of 3 disks that was created by the Debian Installer. One of the disks develops problems (offline uncorrectable sectors) so I buy a fourth, the same size exactly. Now, I pvcreate /dev/sde, and I vgextend bigstore /dev/sde, and I try to pvmove /dev/sdb1. Doesn't w