Re: LVM question. Missing about 11GB of Space..

From: Michael D. Setzer II (mikes_at_kuentos.guam.net)
Date: 10/30/05

  • Next message: Matthew Saltzman: "Eclipse plugins"
    To: Andy Green <andy@warmcat.com>, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 30 Oct 2005 08:22:15 +1000
    
    

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

    On 29 Oct 2005 at 19:44, Andy Green wrote:

    Date sent: Sat, 29 Oct 2005 19:44:58 +0100
    From: Andy Green <andy@warmcat.com>
    To: "Michael D. Setzer II" <mikes@kuentos.guam.net>
    Copies to: For users of Fedora Core releases <fedora-list@redhat.com>
    Subject: Re: LVM question. Missing about 11GB of Space..

    > Michael D. Setzer II wrote:
    >
    > > I wasn't looking at going ot 0, but what would be a more reasonable
    > > number than 12GB. Even the 12GB would be fine, if there was a
    >
    > The -m parameter is the percentage of the drive space to reserver, so
    >
    > tune2fs -m 1 /dev/hda2
    >
    > will be 1/5th of your current size.
    >
    > > way to make all or most of it nulls, so it would compress greatly The
    > > rest of the drives 206GB of space was all nulls, and compress very
    > > well.
    >
    > The problem is not that this 5% or whatever is full of nonzero data, all
    > of the blocks on your filesystem that once belonged to deleted files are
    > not zeroed upon file deletion and contain whatever they had in them when
    > they made up your files.
    >
    > There is a trick that might help though: say you see you have something
    > more than 1GByte free on df -h
    >
    > dd if=/dev/zero of=/root/temp bs=1024 count=1000000
    > rm /root/temp
    >
    > will zero most all of your free blocks, then free them again (as tested
    > on ext3).

    I use a similar process that would write to a file called /0bits until it
    used up all the space, and then remove the file, but it wouldn't touch
    this reserved space. This is done as root, but perhaps doing the file
    in the /root directory would make a difference. Will give it a try...

    >
    > -Andy
    >

    +----------------------------------------------------------+
      Michael D. Setzer II - Computer Science Instructor
      Guam Community College Computer Center
      mailto:mikes@kuentos.guam.net
      mailto:msetzerii@gmail.com
      http://www.guam.net/home/mikes
      Guam - Where America's Day Begins
    +----------------------------------------------------------+

    http://setiathome.berkeley.edu
    Number of Seti Units Returned: 18,400
    Processing time: 32 years, 74 days, 14 hours, 42 minutes
    (Total Hours: 282,111)

    -----BEGIN PGP SIGNATURE-----
    Version: PGP 6.5.8 -- QDPGP 2.61c
    Comment: http://community.wow.net/grt/qdpgp.html

    iQA/AwUBQ2NpeCzGQcr/2AKZEQJlRQCgqWC7xnXYXxKeFlHtI0bj4nRupZ8AoLgC
    p7u3GJOo++HaAChmM33GftZV
    =AlU6
    -----END PGP SIGNATURE-----

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Matthew Saltzman: "Eclipse plugins"