Re: how to resize/grow an existing partition

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

 




----- Original Message ----
> From: Kevin Kempter <kevin@xxxxxxxxxxxxxxxxxxx>
> To: For users of Fedora <fedora-list@xxxxxxxxxx>
> Sent: Friday, March 7, 2008 5:37:13 AM
> Subject: how to resize/grow an existing partition
> 
> Hi List;
> 
> My laptop running Fedora 7 had a 100G SATA drive. I went out yesterday and 
> purchased a 320G drive.
> 
> First I used dd to transfer my entire existing drive to the new drive, it 
> worked perfectly - I'm typing this on my system via the new drive now.
> 
> Can someone give me some guidance per resizing my existing file systems to 
> take advantage of the new space. If I run resize2fs straight away I get this:
> 
> # resize2fs -p /dev/sda5 25G
> resize2fs 1.40.2 (12-Jul-2007)
> The containing partition (or device) is only 3711007 (4k) blocks.
> You requested a new size of 6553600 blocks.
> 
> I suspect I need to do something with fdisk first?

I've done something like in the past when having the same situation although not on FC7, but it should work:

1) Backup
2) e2fsck before increasing the size to make sure.
3) Use fdisk to remove the existing partition and create a new one with the new size. Make sure you start at the same spot.
4)sfdisk -R re-read the partition table
5)e2fsck again.
6)ext2online ( or resize2fs may work offline )

Hope that helps.

--Victor

 
> Thanks in advance
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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