Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Is netinstal 3.4.1 LVM stuff broken?

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Is netinstal 3.4.1 LVM stuff broken?


Chronological Thread 
  • From: Peter Gutierrez <>
  • To: Carl Hayter <>, "" <>
  • Subject: Re: [perfsonar-user] Is netinstal 3.4.1 LVM stuff broken?
  • Date: Fri, 21 Nov 2014 07:59:21 -0500
  • Organization: Gang of Peters

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/21/2014 06:13 AM, Carl Hayter wrote:
> Yesterday I downloaded
> pS-Performance_Toolkit-3.4.1-NetInstall-x86_64.iso and installed a
> couple of Dell R415 servers. Poking around today I see something
> strange...

This happened to me to. Refer to http://www.perfsonar.net/about/faq/#Q44

PeterG

>
> # df --si . Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/vg_zniperfsonar-lv_root 53G 2.3G 48G 5% /
>
> OMG where's all my disk?
>
> # df --si /home Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/vg_zniperfsonar-lv_home 431G 74M 409G 1% /home
>
> This isn't supposed to exist...
>
> # cat anaconda-ks.cfg ... %post --logfile /root/post_install.log
>
> ############################## # Resize default partition layout. #
> Interactive mode breaks partitioning # commands so have to do it here.
> ############################## # Backup /home though probably not much
> in it cp -r /home /home.bak # Remove the partition umount
> /dev/mapper/VolGroup-lv_home lvremove -f /dev/VolGroup/lv_home #
> restore home. might already be there by default, hence the somewhat #
> round-about copying mkdir -p /home mv /home.bak/* /home/ rm -rf
> /home.bak/ #Expand the root partition lvextend -r -l +100%FREE
> /dev/VolGroup/lv_root #Update fstab so it doesnt look for /home grep -v
> "VolGroup-lv_home" /etc/fstab > /etc/fstab.new mv -f /etc/fstab.new
> /etc/fstab ...
>
>
> It seems the "make it one big /" did not work. The LVM naming scheme
> is different:
>
> /dev/mapper/VolGroup-lv_home -> /dev/mapper/vg_zniperfsonar-lv_home
> /dev/VolGroup/lv_home -> /dev/vg-zniperfsonar/lv_home
> /dev/VolGroup/lv_root -> /dev/vg-zniperfsonar/lv_root
>
>
> I didn't see anything strange during the install process. Looks like
> CentOS has changed the default LVM naming schema to include the
> scrunched up hostname. This machine is: zni-perfsonar.usc.edu
>
> ____ Carl Hayter ITS - Data Network Operations University of Southern
> California
>


- --
Peter Gutierrez
Network Analyst
Lederle Graduate Research Center Lowrise A147
University of Massachusetts Amherst
740 N Pleasant St
Amherst MA 01003-9306

PGP: 0xE1668A41
413-545-1606
A: Because it interrupts the logical flow of discourse
Q: Why is top posting bad?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRvNykACgkQPTwtHOFmikHHBwCeOqemQYslUd324auzZo8fztlx
47MAoKnPxajfhl32XueBac20cLR40AQM
=uJyh
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

Top of Page