Hello Gentlemen, I would like to ask a question about an issue I have with the Centos 6.3 installation. 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 present. 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. #version=DEVEL install cdrom lang en_US.UTF-8 keyboard us network --onboot yes --device eth0 --mtu=1500 --bootproto static --ip <server IP> --netmask 255.255.255.0 --gateway <our gateway> --noipv6 --nameserver 8.8.8.8 --hostname newserver rootpw --iscrypted <root password> # Reboot after installation reboot 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 --useexisting #logvol / --fstype=ext4 --name=LogVol00_root --vgname=VolGroup00 --useexisting #logvol swap --name=LogVol00_swap --vgname=VolGroup00 --useexisting #logvol /tmp --fstype=ext4 --name=LogVol00_tmp --vgname=VolGroup00 --useexisting #logvol /var --fstype=ext4 --name=LogVol00_var --vgname=VolGroup00 --useexisting #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 %packages @Base @Core @base @core @hardware-monitoring @server-platform @server-policy epel-release pax puppet puppetlabs-release sgpio -hunspell -hunspell-en %end -- HALAC Matej
On Mon, October 15, 2012 05:03, HALAC Matej wrote:> > 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 present. > > Can you please tell me what went wrong? Or if this can be fixed > somehow?What is in the mount directory when the lv is not mounted? -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
On 10/15/2012 02:03 AM, HALAC Matej wrote:> 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.Is it possible that one of your puppet scripts formatted the volume?