From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j3KHJOO22668 for ; Wed, 20 Apr 2005 13:19:24 -0400 Received: from imo-m18.mx.aol.com (imo-m18.mx.aol.com [64.12.138.208]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j3KHJOVV021388 for ; Wed, 20 Apr 2005 13:19:24 -0400 Received: from Infoteq@aol.com by imo-m18.mx.aol.com (mail_out_v38.7.) id e.1d4.3a6991e2 (4418) for ; Wed, 20 Apr 2005 13:19:05 -0400 (EDT) From: Infoteq@aol.com Message-ID: <1d4.3a6991e2.2f97e909@aol.com> Date: Wed, 20 Apr 2005 13:19:05 EDT MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1114017545" Subject: [linux-lvm] Problems with df and lvm Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com -------------------------------1114017545 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I just installed FC3 on a brand new 80gb hard drive. Up until this point I have been using Redhat 7.3, so this whole thing with LVM is pretty new to me. I had the drive partitioned into three parts (on top of the boot and swap partition): / 20gb /dstar 10gb /home 45gb However, when I use df, I get this: dracon:/home/infoteq# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 20158332 5611396 13522936 30% / When I use lvdsiplay, I get this: dracon:/home/infoteq# lvdisplay --- Logical volume --- LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID Ud4qo5-Ysba-HETb-mm0u-ntvi-oEI0-kzreZ7 LV Write Access read/write LV Status available # open 1 LV Size 19.53 GB Current LE 625 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:0 --- Logical volume --- LV Name /dev/VolGroup00/LogVol02 VG Name VolGroup00 LV UUID d2CYD9-8fOX-fVd5-VFdF-7kuL-7P7U-Ed9ERM LV Write Access read/write LV Status available # open 0 LV Size 9.78 GB Current LE 313 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 --- Logical volume --- LV Name /dev/VolGroup00/LogVol03 VG Name VolGroup00 LV UUID 7rHvJC-5SNh-HO7I-acKM-3n0B-teFy-XlVZMa LV Write Access read/write LV Status available # open 0 LV Size 44.06 GB Current LE 1410 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:2 --- Logical volume --- LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID AZ0FwK-KL1j-CAPS-emtT-3Uzt-Xlhi-I3t127 LV Write Access read/write LV Status available # open 1 LV Size 1.00 GB Current LE 32 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:3 My fstab shows this: /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/VolGroup00/LogVol02 /dstar ext3 defaults 1 2 /dev/VolGroup00/LogVol03 /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 So the drives are there, and I have put data on them, but for some reason, it won't display it on df. I've looked all over for some sort of clue as to why this happened, but have come up empty handed. Is there some way to fix df so that it will display the information correctly? If not, is there some way I can avoid causing this problem in the future? Thanks for your time, -Jay -------------------------------1114017545 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
I just installed FC3 on a brand new 80gb har= d drive. Up until this point I have been using Redhat 7.3, so this whole thi= ng with LVM is pretty new to me.
 
I had the drive partitioned into three parts= (on top of the boot and swap partition):
 
/ 20gb
/dstar 10gb
/home 45gb
 
However, when I use df, I get this:
 
dracon:/home/infoteq# df
Filesystem     &nbs= p;     1K-blocks      Used Avai= lable Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
  &nbs= p;            &n= bsp;      20158332   5611396  135229= 36  30% /
When I use lvdsiplay, I get this:
 
dracon:/home/infoteq# lvdisplay
  --= - Logical volume ---
  LV Name      &n= bsp;         /dev/VolGroup00/LogVol0= 0
  VG Name         &nb= sp;      VolGroup00
  LV UUID  &n= bsp;            = Ud4qo5-Ysba-HETb-mm0u-ntvi-oEI0-kzreZ7
  LV Write Access  = ;      read/write
  LV Status  &n= bsp;           available  # open          &= nbsp;      1
  LV Size   &nb= sp;            19.53=20= GB
  Current LE         = ;    625
  Segments     &nbs= p;         1
  Allocation&nb= sp;            inheri= t
  Read ahead sectors     0
  Block dev= ice           253:0
&nb= sp; 
  --- Logical volume ---
  LV Name  &nb= sp;            =20= /dev/VolGroup00/LogVol02
  VG Name     &nbs= p;          VolGroup00
 = ; LV UUID           &= nbsp;    d2CYD9-8fOX-fVd5-VFdF-7kuL-7P7U-Ed9ERM
  LV=20= Write Access        read/write
 =20= LV Status           &= nbsp;  available
  # open      &n= bsp;          0
  LV Si= ze            &n= bsp;   9.78 GB
  Current LE     &= nbsp;       313
  Segments  =              1  Allocation         &nb= sp;   inherit
  Read ahead sectors    = 0
  Block device        &nb= sp;  253:1
  
  --- Logical volume ---
 =20= LV Name           &nb= sp;    /dev/VolGroup00/LogVol03
  VG Name  =             &nbs= p; VolGroup00
  LV UUID       &nb= sp;        7rHvJC-5SNh-HO7I-acKM-3n0B-teF= y-XlVZMa
  LV Write Access       = read/write
  LV Status       &nb= sp;      available
  # open  &nbs= p;            &n= bsp; 0
  LV Size        &nbs= p;       44.06 GB
  Current LE &n= bsp;           1410
&nb= sp; Segments          &nbs= p;    1
  Allocation     &nb= sp;       inherit
  Read ahead sectors=      0
  Block device    &nb= sp;      253:2
  
  --- Logic= al volume ---
  LV Name       &nb= sp;        /dev/VolGroup00/LogVol01
&n= bsp; VG Name          &nbs= p;     VolGroup00
  LV UUID   &nb= sp;            AZ0FwK= -KL1j-CAPS-emtT-3Uzt-Xlhi-I3t127
  LV Write Access   =      read/write
  LV Status   &nb= sp;          available
 = ; # open           &n= bsp;     1
  LV Size    &nbs= p;           1.00 GB
&n= bsp; Current LE          &= nbsp;  32
  Segments       &= nbsp;       1
  Allocation  =            inherit
&nbs= p; Read ahead sectors     0
  Block device =           253:3
My fstab shows this:
 
/dev/VolGroup00/LogVol00 /   =             &nbs= p;       ext3    defaults =        1 1
LABEL=3D/boot   &= nbsp;         /boot   = ;            &nb= sp;   ext3    defaults     = ;   1 2
none        &nb= sp;           /dev/pts&nbs= p;            &n= bsp;  devpts  gid=3D5,mode=3D620  0 0
none  &nbs= p;            &n= bsp;    /dev/shm       &nb= sp;        tmpfs   defaults&nbs= p;       0 0
/dev/VolGroup00/LogVol02 /dsta= r            &nb= sp;     ext3    defaults   = ;     1 2
/dev/VolGroup00/LogVol03 /home  &= nbsp;            = ;    ext3    defaults    &= nbsp;   1 2
none        = ;            /proc&nb= sp;            &= nbsp;     proc    defaults  &nb= sp;     0 0
none      &= nbsp;            = ; /sys           &nbs= p;        sysfs   defaults = ;       0 0
/dev/VolGroup00/LogVol01 swap&n= bsp;            =        swap    defaults &n= bsp;      0 0
 
So the drives are there, and I have put data= on them, but for some reason, it won't display it on df. I've looked all ov= er for some sort of clue as to why this happened, but have come up empty han= ded.
 
Is there some way to fix df so that it will=20= display the information correctly? If not, is there some way I can avoid cau= sing this problem in the future?
 
Thanks for your time,
 
-Jay
-------------------------------1114017545--