Is it possible to have /etc on separate zfs pool in OpenSolaris? The purpose is to have rw non-persistent main pool and rw persistent /etc... I''ve tried to make legacy etcpool/etc file system and mount it in /etc/vfstab... Is it possible to extend boot-archive in such a way that it include most of the files necessary for mounting /etc from separate pool? Have someone tried such configurations? -- This message posted from opensolaris.org
On 22 Jan 2010, at 08:55, Alexander wrote:> Is it possible to have /etc on separate zfs pool in OpenSolaris? > The purpose is to have rw non-persistent main pool and rw persistent /etc... > I''ve tried to make legacy etcpool/etc file system and mount it in /etc/vfstab... > Is it possible to extend boot-archive in such a way that it include most of the files necessary for mounting /etc from separate pool? Have someone tried such configurations?What does the live CD do? Cheers, Chris
> > Is it possible to extend boot-archive in such a way > that it include most of the files necessary for > mounting /etc from separate pool? Have someone tried > such configurations? > > What does the live CD do?I''m not sure that it is the same configuration, but maybe it is quite similar... LiveCD has ramdisk which is mounted on boot. /etc is on this ramdisk... And in real system configuration we need some way to sync real /etc and ramdisk (or boot archive) /etc. With ramdisk this may be a problem. But 1) I don''t understand deeply how livecd boots (maybe need to look at this process more attentively) 2) In my opinion its boot process is quite specific and quite different from real sustem behavior. I''m not sure that this practices may be adopted... However, I''m not confident (1)... -- This message posted from opensolaris.org
Hi Alexander, I''m not sure about the OpenSolaris release specifically, but for the SXCE and Solaris 10 releases, we provide this requirement: http://docs.sun.com/app/docs/doc/817-2271/zfsboot-1?a=view * Solaris OS Components ? All subdirectories of the root file system that are part of the OS image, with the exception of /var, must be in the same dataset as the root file system. In addition, all Solaris OS components must reside in the root pool with the exception of the swap and dump devices. Maybe someone else can comment on their OpenSolaris experiences. I''m not sure we''ve done enough testing to relax this requirement for OpenSolaris releases. In the meantime, I would suggest following the above requirement until we''re sure alternate configurations are supportable. Thanks, Cindy On 01/22/10 05:17, Alexander wrote:>>> Is it possible to extend boot-archive in such a way >> that it include most of the files necessary for >> mounting /etc from separate pool? Have someone tried >> such configurations? >> >> What does the live CD do? > I''m not sure that it is the same configuration, but maybe it is quite similar... LiveCD has ramdisk which is mounted on boot. /etc is on this ramdisk... > And in real system configuration we need some way to sync real /etc and ramdisk (or boot archive) /etc. With ramdisk this may be a problem. > But > 1) I don''t understand deeply how livecd boots (maybe need to look at this process more attentively) > 2) In my opinion its boot process is quite specific and quite different from real sustem behavior. I''m not sure that this practices may be adopted... However, I''m not confident (1)...
On 01/22/10 01:55, Alexander wrote:> Is it possible to have /etc on separate zfs pool in OpenSolaris? > The purpose is to have rw non-persistent main pool and rw persistent /etc... > I''ve tried to make legacy etcpool/etc file system and mount it in /etc/vfstab... > Is it possible to extend boot-archive in such a way that it include most of the files necessary for mounting /etc from separate pool? Have someone tried such configurations? >There have been efforts (some ongoing) to enable what you are trying to do, but they involve substantial changes to Solaris configuration and system administration. As Solaris works right now, it is not supported to have /etc in a separate dataset, let alone a separate pool. Lori