Re: [linux-lvm] Reducing ext3 LV

From: Mark Sargent (powderkeg_at_snow.email.ne.jp)
Date: 10/21/05

  • Next message: Masopust Christian: "yum update failing with "Header is not complete""
    Date: Fri, 21 Oct 2005 16:06:45 +0900
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    >Well, umm, the answer's right there in the link you posted:
    >
    >
    I guess so...

    ># umount /home
    ># resize2fs /dev/myvg/homevol 524288
    ># lvreduce -L-1G /dev/myvg/homevol
    ># mount /home
    >
    >resize2fs handles both ext2 & ext3 (most of the tools are like this -
    >mke2fs & e2fsck got their names before ext3 existed, but both handle
    >ext3 as well).
    >
    >
    >
    ok, I'm with ya...

    >The only thing is the comment about having to know block sizes is bogus.
    >This will work fine:
    >
    >umount /mount
    >e2fsck -f /dev/myvg/myvol
    >resize2fs /dev/myvg/myvol 20G
    >lvreduce -L 20G /dev/myvg/myvol
    >mount /mount
    >
    >Obviously, you need to replace /mount and /dev/myvg/myvol with the
    >appropriate mount point & device name for your system. The e2fsck is a
    >good idea before doing something like this. iirc, e2fsadm used to do it
    >automatically.
    >
    >
    >
    great stuff...truly appreciated as I was about to post about how to find
    the actual block size..

    >Kind regards,
    >
    >Bryn.
    >
    Cheers.

    Mark Sargent

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

  • Next message: Masopust Christian: "yum update failing with "Header is not complete""

    Relevant Pages

    • RE: Help with ES v3 Raid1 (Mirror)
      ... Can you make some full fsck to filesystem? ... Hi, I used ext3. ... > 4- when it was complete I tested the mount using mount -t ... > TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu ...
      (RedHat)
    • RE: Help with ES v3 Raid1 (Mirror)
      ... Which option did u use while creating the filesystem, ext2 or ext3 via ... I'm trying to setup a Raid1 mirror between 2 hard drives. ... I'm trying to Mirror SDB to SDC by doing the following. ... 4- when it was complete I tested the mount using mount -t ...
      (RedHat)
    • wipe and journalling file systems (was Re: Deleting a Folder)
      ... In the case of ext3 file systems, ... journals file data in addition to just metadata. ... mount man page. ...
      (Debian-User)
    • Re: Odd Thing ? usb drive
      ... and going with ext3 for that extra security. ... Q. since this is a usb drive, and if I do reformat it with ext3 filing ... If you take the lazy way out like me and use pmount, ... pmount is a wrapper around the standard mount program which permits normal ...
      (Debian-User)
    • Re: [Ext2-devel] [RFC 0/13] extents and 48bit ext3
      ... attribute feature without first asking the user's permission. ... You can call the new filesystem ext4, and mount an old ext3 as ...
      (Linux-Kernel)