[CentOS] ext3 partition on LVM lost all data

Mon Oct 15 09:03:57 UTC 2012
HALAC Matej <m.halac at cpce.net>

Hello Gentlemen,

I would like to ask a question about an issue I have with the Centos 6.3 

I have installed a Centos 6.3 on a server we used before with 5.4 on 
Friday. I have created a KS file to let me connect to the server via VNC 
and have all repos and packages preconfigured. I only needed to 
partition the hard drive using VNC.

During the partition process I selected which volumes should be 
formatted and which should be left alone.

The installation went perfectly, without a problem. I added the server 
to our Puppet infrastructure and started to assign modules to it.

After I have installed and configured samba I wanted to mount the data 
volume so that people could continue their work on Monday.

Unfortunately the partition was empty. Only the lost+found directory was 

Can you please tell me what went wrong? Or if this can be fixed somehow?

Here is the anaconda generated KS file that is based on my own that I 
included in my Centos image:

# Kickstart file automatically generated by anaconda.

lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --mtu=1500 --bootproto static --ip 
<server IP> --netmask --gateway <our gateway> --noipv6 
--nameserver --hostname newserver
rootpw  --iscrypted <root password>

# Reboot after installation
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Europe/Bratislava
bootloader --location=mbr --driveorder=ddf1_Default 
--append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --none
#volgroup VolGroup00 --pesize=32768 --useexisting --noformat pv.253002
#logvol None --fstype=ext3 --name=LogVol00_data --vgname=VolGroup00 
--useexisting --noformat
#logvol /home --fstype=ext4 --name=LogVol00_home --vgname=VolGroup00 
#logvol / --fstype=ext4 --name=LogVol00_root --vgname=VolGroup00 
#logvol swap --name=LogVol00_swap --vgname=VolGroup00 --useexisting
#logvol /tmp --fstype=ext4 --name=LogVol00_tmp --vgname=VolGroup00 
#logvol /var --fstype=ext4 --name=LogVol00_var --vgname=VolGroup00 

#part /boot --fstype=ext4 --onpart=ddf1_Defaultp1
#part pv.253002 --onpart=ddf1_Defaultp2 --noformat

repo --name="CentOS"  --baseurl=cdrom:sr0 --cost=100
repo --name="Centos 6.3 Base - x86_64"  --baseurl= --cost=1000
repo --name="Centos 6.3 Extras - x86_64"  --baseurl= --cost=1000
repo --name="Centos 6.3 Updates - x86_64"  --baseurl= --cost=1000
repo --name="epel"  --baseurl= --cost=1000
repo --name="puppet" 
--baseurl=http://yum.puppetlabs.com/el/6/products/x86_64/ --cost=1000