Re: merging two ext4 partitions

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

 



On 12/6/20 1:56 PM, Jorge Fábregas wrote:
On 12/6/20 4:21 PM, Samuel Sieb wrote:
You *can* do this, but you have to understand what is happening.  First
the entire partition is moved (copied) to the new position.  So all
881GB of data has to be read and written.  And if the process gets
interrupted for any reason, your filesystem is toast.  After the move is
done, then the filesystem can be expanded.

I didn't know this was possible.  Do you use a partition editor like
GParted, erase the first partition, move the starting point of partition
#2 to the beginning  and then use resize2fs afterwards?  I didn't know
resize2fs would do that whole movement.  Can  it do it online
(filesystem mounted?

I think you misunderstood what I said. gparted will do that, but it's not really something you would want to do, at least for a partition this big and data you care about. resizefs cannot move the starting point of the filesystem, only the end. gparted has to copy the entire 881GB of partition data from where it is to the new position. Then it will call resizefs to adjust the filesystem end.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux