FreeBSD expand partition size with gpart

FreeBSD expand partition size with gpart

It’s not necessary to use this nowadays.
From Freebsd 8.3 (or you can just boot live cd of bsd 9) you can do

gpart show (remember the extendable partition)
gpart resize -i index_of_partition geom
gpart resize -i index_of_partition geom_slice
growfs geom_slice_partition

maybe must to do fsck_ufs /dev/partition or reboot system

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s