[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] restoring my lvm
- From: Luca Berra <bluca comedia it>
- To: linux-lvm redhat com
- Subject: Re: [linux-lvm] restoring my lvm
- Date: Sat, 22 Apr 2006 10:06:22 +0200
On Sat, Apr 22, 2006 at 12:06:55AM +0100, Jannetta S Steyn wrote:
My problem was that the new system (also FC4 and also a vanilla install)
already had VolGroup00. I then did a 'vgcreate VolGroup01 /dev/hdb2'. I
vgcreate = msdos format
you just wiped your disk
PV /dev/hdb2 VG VolGroup01 lvm2 [2.93 GB / 2.93 GB free]
PV /dev/hda2 VG VolGroup02 lvm2 [3.91 GB / 32.00 MB free]
Total: 2 [6.83 GB] / in use: 2 [6.83 GB] / in no VG: 0 [0 ]
if you are certain that the previous logical volume spanned the whole
disk, you can:
# vgdisplay /dev/VolGroup01
and look at the "Total PE" value, then
# lvcreate -Z n -l TOTAL_PE -n LogVol01 /dev/VolGroup01
but i'd rater first try with http://www.cgsecurity.org/wiki/TestDisk
which might be able to recover the damage you did.
L.
--
Luca Berra -- bluca comedia it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]