NetBSD-Users archive

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

Re: resize_root result in fsck and not resizing ffs



tm%NetBSD.org@localhost (Thomas Merkel) writes:

>4.
>  Boot shows "Resizing /"
>  df -h does not show any difference
>  reboot again

Sounds like after resizing you boot into multiuser and run df -h.

Resizing the rootfs is a hack and the system should reboot immediately
afterwards. The rc script checks $resize_root_postcmd which should
be set like:

resize_root_postcmd="/sbin/reboot -n"

Continuing with the normal boot will mount the root filesystem read/write
and may damage the filesystem.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index