Re: Finally getting rid of Windows (almost)

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

 



James Pifer wrote:
You added the partition as free space to your LVM, you must create new logical volumes or extend existing ones to use that space.

okay, lvextend is what I need to run, right? I can't figure out the
syntax.
My logical volume is at:
/dev/VolGroup00/LogVol00

fdisk shows:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3199    25695936   8e  Linux LVM
/dev/hda2            3200        3212      104422+  83  Linux
/dev/hda3            3213        9729    52347802+  8e  Linux LVM

AND

# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               74.41 GB
  PE Size               32.00 MB
  Total PE              2381
  Alloc PE / Size       1596 / 49.88 GB
  Free  PE / Size       785 / 24.53 GB
  VG UUID               vBWK8O-IFpc-J8sm-r1Vf-K1vh-sSKN-qZ4OQt

What would the correct syntax be for lvextend? Everything I have tried
based on the man page example and google examples has not worked.

To extend VolGroup00/LogVol00 by 10G, you would do:

# lvextend --size +10G /dev/VolGroup00/LogVol00

You would also need to extend the filesystem on that volume once the underlying volume is bigger. You may be able to do this using ext2online:

# ext2online /dev/VolGroup00/LogVol00

If ext2online tells you it can't do it, you'll need to use resize2fs after booting from a rescue CD since you seem to have just one big filesystem for the whole system and you can't unmount the root filesystem.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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