2013年6月11日 星期二

freebsd partition size expansion

1:vmdk resize --> either through command line or GUI
command line: vmkfstool -X finalsize vmdk_file

2:download lastest freebsd boot only iso file and then boot the system up from CD-ROM

3: start space expansion, if you'd like to specify space to partition, -s option is required, otherwise all free space will be assigned to target partition.
gpart show <-- info="" p="" partition="" show="">gpart resize -i 1 /dev/da0 <-- assign="" br="" free="" partition="" primary="" space="" to="">gpart resize -i 6 /dev/da0s1 <-- br="" da0s1f="" dev="" give="" space="" to="">growfs /dev/da0s1f <-- level="" os="" p="">

沒有留言: