[Solved]Re: PV and LVM resize ext4

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

 



On Sat, 2009-10-17 at 15:45 +0200, Roberto Ragusa wrote:
> Ambrogio wrote:
> 
> >> e2fsck -f /dev/vg_taitsvolume/lv_root
> >> resize2fs -p /dev/vg_taitsvolume/lv_root 30G
> >> lvreduce --size 30G vg_taitsvolume/lv_root --test
> >> lvreduce --size 30G vg_taitsvolume/lv_root
> > i suggest to reduce the LV to a little more than 30G, or you have to
> > calculate at block level the right dimension. Maybe 31GB is a good
> > choise to eliminate the risks of lost the last blocks in the filesystem.
> 
> Well said.
> Never trust the definition of GB, the padding and rounding
> rules etc.
> 
> Resize the filesystem to 20GB, then resize the volume to 30GB,
> then resize the fileystem again with no size specification:
> it will fill the available space (30GB).
> 
> > But... you can use a more simple algoritm
> > 
> > make the LV on the new disks
> > resize the old fs to feet the size of the new lv (a little less)
> > dd the filesystem to the new LV
> > resize the new fs as to feet the entire LV
> 
> Agreed on this one too.
> 
> -- 
>    Roberto Ragusa    mail at robertoragusa.it
> 

Alright, so I basically took the same steps I outlined in my OP. This
was because I wanted to keep the same names for the VG and LVs without
having to change too much of the other configurations.

If anyone would like, I can send them the exact steps I took, but they
were almost exactly as I had laid out in the OP.

Thanks for the suggestions and advice,

Tait


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
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