Stephen Hahn wrote: > * Dan Groves <Daniel.Groves at Sun.COM> [2007-04-10 11:41]: >> Hi, >> >> I noticed at some point during boot the SMF repository is read-only. >> How long does this last? > > The persistent portion of the repository is read-only until the root > filesystem is remounted read-write. For a global zone, the repository > becomes read-write when system/filesystem/usr comes online. >
OK, thanks for the information! >> Here's how I noticed it, and what I noticed. >> >> In working on the UV persistence work, I noticed at boot attempts to >> persist link data as the result of a physical link attachment would fail >> with error 1018 (SCF_ERROR_BACKEND_READONLY). These requests come in >> very early, either when network/linkmgmtd starts up (a new service we're >> adding as part of the UV work) or when network/physical starts up. >> (Note that network/physical depends on network/linkmgmtd). I'm not sure >> when exactly when the persistence requests come in, however, they come >> in sometime when SMF starts either the network/linkmgmtd or >> network/physical services. > > The tricky piece in early boot between network/ and system/filesystem/ > services is preserving the kernel's initial interface setup so that > diskless clients continue to work. You may have to hold on to your > settings and retry committing them to the repository--or, if they are > set every boot, instead consider treating them as non-persistent. > > - Stephen > thanks! Dan