Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 13:33:21 +0100
From:      Ali Abdallah <ali.abdallah@suse.com>
To:        techyNotes <techynotes@gmail.com>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Consistency of pkg db on UFS
Message-ID:  <20210104123321.nvjambhslmvzmiac@Fryzen495>
In-Reply-To: <EE118910-3021-435F-A982-1546998CD1C9@gmail.com>
References:  <20201211165713.syvzamtdtrbrgx44@frix230> <EE118910-3021-435F-A982-1546998CD1C9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12.12.2020 09:44, techyNotes wrote:
> Hi Ali

Hi

> 
> I had a similar problem with my HP Elitebook couple of days ago with UFS option. I had been experimenting with various modes and setup options including the file system ZFS and UFS. I would have installed and reinstalled Freebsd 12.2 more than 20 times! 
> 
> I guess the issue lies in the Installation process. Just before the final step of rebooting it takes sometime (more than when installing with ZFS option) to complete the installation closure tasks. This was not completed or you did not wait until the point the message popped up to reboot the system!
> 
> To verify if this is the case, check your loader.conf and/or rc.conf it would be empty. The options you selected during the install process would not be recorded in these files.
> 
> SOLUTION: I just reinstalled again with the option of UFS and waited on the last before step patiently and then finally rebooted upon the alter message of REBOOT option from the installer.

I'm no speaking about the installer, but an already installed system.

I don't believe there is a solution to the described issue, the blocks
of a newly installed package can make it to the disk and to the fs
metadata, but the information about it written by the package manager to
its database/plain file might not make it to the disk in case of power
failure/panic, so you would end up with an installed package that the
package manager itself doesn't know about! The issue can happen on any
filesystem, not only on UFS.

Regards,
Ali



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210104123321.nvjambhslmvzmiac>