Re: shrinking encrypted LVM's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 25, 2009 at 10:17 AM, solarflow99<solarflow99@xxxxxxxxx> wrote:
> I noticed resize2fs doesn't seem to work on my encrypted LVM, even the GUI
> tool cant do anything with the underlying filesystem.  Does anyone know what
> can be done about this?  I want to shrink a volume.
>
>   # resize2fs /dev/VolGroup00/LVspare 39G
> resize2fs 1.41.4 (27-Jan-2009)
> resize2fs: Device or resource busy while trying to open
> /dev/VolGroup00/LVspare
> Couldn't find valid filesystem superblock.
>

I don't know whether encryption has anything do to with the size.
But start by reading the lvresize man page.

"man lvresize"

DESCRIPTION
       lvresize allows you to resize a logical volume.  Be  careful
when  reducing  a  logical  volume’s  size,
       because  data in the reduced part is lost!!!  You should
therefore ensure that any filesystem on the vol-
       ume is shrunk first so that the extents that are to be removed
are not in use.  Resizing snapshot logical
       volumes  (see  lvcreate(8) for information about creating
snapshots) is supported as well.  But to change
       the number of copies in a mirrored logical volume use lvconvert(8).

~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux