* [linux-lvm] Aftermath of a dead hard disk
@ 2007-03-15 19:17 Will May
2007-03-15 19:39 ` Georges Giralt
0 siblings, 1 reply; 2+ messages in thread
From: Will May @ 2007-03-15 19:17 UTC (permalink / raw)
To: linux-lvm
I recently had a hard disk die on me that was in my LVM group and so had
to replace it with a new one. When I added the new hard disk into the
group, I didn't format it first and so LVM still thinks the new hard
disk (250GB) is the size of the old one (60GB). I'd like to convince LVM
of the new size. Anyone know how?
I've tried just formatting the hard disk, but that just causes LVM to
cry that it can't find the pv on the disk.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Aftermath of a dead hard disk
2007-03-15 19:17 [linux-lvm] Aftermath of a dead hard disk Will May
@ 2007-03-15 19:39 ` Georges Giralt
0 siblings, 0 replies; 2+ messages in thread
From: Georges Giralt @ 2007-03-15 19:39 UTC (permalink / raw)
To: LVM general discussion and development
Will May a �crit :
> I recently had a hard disk die on me that was in my LVM group and so had
> to replace it with a new one. When I added the new hard disk into the
> group, I didn't format it first and so LVM still thinks the new hard
> disk (250GB) is the size of the old one (60GB). I'd like to convince LVM
> of the new size. Anyone know how?
>
> I've tried just formatting the hard disk, but that just causes LVM to
> cry that it can't find the pv on the disk.
Hi !
Just in case, did you pvremove the failed disk ?
If not, unplug the new one, pvremove -f the old one
re-plug the new one,
pvcreate the new one
vgextend the vg.
and enjoy.
read the manpages carefully in order to avoid mistakes.
Hope this helps.
--
Ce message est constitu� d'au moins 50 % d'�lectrons recycl�s.
S'il vous pla�t, aidez nous � conserver nos ressources,
recyclez vos �lectrons !
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-15 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 19:17 [linux-lvm] Aftermath of a dead hard disk Will May
2007-03-15 19:39 ` Georges Giralt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).