Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

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


Chronological Thread 
  • From: Carl Hayter <>
  • To: "" <>
  • Subject: [perfsonar-user] Is netinstal 3.4.1 LVM stuff broken?
  • Date: Fri, 21 Nov 2014 03:13:01 -0800

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...

# 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



Archive powered by MHonArc 2.6.16.

Top of Page