From: Greg Hanson <greg@perusion.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] difference in space used
Date: Fri, 18 May 2007 15:04:35 -0700 [thread overview]
Message-ID: <464E22F3.5040108@perusion.com> (raw)
Hi all,
Very new to LVM, running into the following problem: We have a logical
volume /dev/mapper/vg0-lv2 mounted on /log. While the disk usage for the
/log shows only about 23 megs, running df for the logical volume is
showing over 1 gig.
The logical volume was previously set to 6 gigs, and when the /log mount
point only had 123 megs, the LV was full.
We redirected the output from /log to another location, unmounted
/dev/mapper/vg0-lv2, ran fsck, extended the LV to 12 gigs and remounted.
But now the system is filling up again quickly as shown below.
[root@newbox1 ~]# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext3 12389324 7195644 4564336 62% /
none tmpfs 1037404 0 1037404 0% /dev/shm
/dev/mapper/vg0-lv0
ext3 15118728 1890900 12459828 14% /var/lib
/dev/mapper/vg0-lv1
ext3 5039616 728048 4055568 16% /home
10.202.2.100:/share1
nfs 352982176 125698112 226931088 36% /snap
/dev/mapper/vg0-lv4
ext3 71523868 25955308 41935408 39% /backup
/dev/mapper/vg0-lv2
ext3 12385456 1411556 10470584 12% /log
[root@newbox1 ~]# df /log/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg0-lv2 12385456 1391740 10490400 12% /log
[root@newbox1 ~]# du /log/
16 /log/lost+found
23696 /log/httpd
23716 /log/
[root@newbox1 ~]# vgdisplay
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 10
Metadata Sequence No 18
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 10
Act PV 10
VG Size 107.51 GB
PE Size 4.00 MB
Total PE 27522
Alloc PE / Size 25812 / 100.83 GB
Free PE / Size 1710 / 6.68 GB
VG UUID 2WzghL-C7Nf-17oy-ISA9-hZu4-Bhtc-WvHF8Z
[root@newbox1 ~]# lvdisplay /dev/vg0/lv2
--- Logical volume ---
LV Name /dev/vg0/lv2
VG Name vg0
LV UUID DHb2dZ-zYpx-bipG-rjmL-CxBu-q0At-1oOBJB
LV Write Access read/write
LV Status available
# open 1
LV Size 12.00 GB
Current LE 3072
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:2
Any ideas as to what could be going on?
Thank you,
Greg
--
Greg Hanson
1506 Gilbert Ave
Coeur d'Alene, ID 83815
email greg@valuemedia.com
Phone 208-667-2442
Toll Free 800-949-1889
Fax 775-256-2231
next reply other threads:[~2007-05-18 22:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 22:04 Greg Hanson [this message]
2007-05-19 1:00 ` [linux-lvm] difference in space used Ross Vandegrift
2007-05-19 2:12 ` Greg Hanson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464E22F3.5040108@perusion.com \
--to=greg@perusion.com \
--cc=greg@valuemedia.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.