netfrag.org . Pad . UmlResizeFilesystem
|
Resize UML Filesystem
- see
- http://user-mode-linux.sourceforge.net/resize.html
quepasa # halt
papaya:/home/uml/quepasa/datafs #
#> e2fsck -f data_fs.ext3
#> dd if=/dev/zero of=data_fs.ext3 bs=1M count=1 seek=6000 conv=notrunc
#> resize2fs -p data_fs.ext3
The "dd" command above resizes the filesystem to 6 Gigabytes. The option "conv=notrunc" should prohibit truncation less than previous size if you specify the file beeing to small.
-- Main.joko - 22 Nov 2006
----- Revision r1.1 - 22 Nov 2006 - 02:41 - Main.joko
|