Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Sašo Kiselkov
On 02/09/2013 02:52 AM, Jim Klimov wrote: Hello all, I found it not very convenient to have root's home directory as a part of rootfs - if I switch between different BEs, the homedir changes back and forth. It also consumes space in the snapshots, if a BE is cloned from a variant which

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Jim Klimov
On 2013-02-09 12:44, Sašo Kiselkov wrote: On 02/09/2013 02:52 AM, Jim Klimov wrote: 1) created dedicated dataset, i.e. rpool/export/home/root and transferred all contents of /root into it 2) created /root/.profile with this text: # === /root/.profile if [ x$_SLASH_PROFILE = x ]; then

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Reginald Beardsley
Why wouldn't using a separate filesystem in rpool take care of things? Am I missing something? zfs create -o mountpoint=/root rpool/root_home (obviously /root needs to be empty at creation) You could sync across multiple machines using any number of approaches. For admin across multiple

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Roel_D
Just a question out of interest: Let's say you put root's directory to another zfs dataset. This dataset has been backupped to an USB stick. I find it (the USB) and I take it to a new OI server and try to import it. This will work since it is not encrypted. On the new server i am root with a

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Sašo Kiselkov
On 02/09/2013 08:55 PM, Roel_D wrote: Just a question out of interest: Let's say you put root's directory to another zfs dataset. This dataset has been backupped to an USB stick. Hang on, you don't encrypt your back ups? Seriously? No offense dude, but if you did that at my place, you'd find

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Reginald Beardsley
--- On Sat, 2/9/13, Roel_D openindi...@out-side.nl wrote: From: Roel_D openindi...@out-side.nl Subject: Re: [OpenIndiana-discuss] Relocated root home directory To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org Date: Saturday, February 9, 2013, 1:55 PM Just a question

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Roel_D
It was hypothetical. I never backup ;-) You always end up with copies of old software ;-) Kind regards, The out-side Op 9 feb. 2013 om 21:41 heeft Sašo Kiselkov skiselkov...@gmail.com het volgende geschreven: On 02/09/2013 08:55 PM, Roel_D wrote: Just a question out of interest:

Re: [OpenIndiana-discuss] Relocated root home directory

2013-02-09 Thread Sašo Kiselkov
On 02/09/2013 10:59 PM, Roel_D wrote: It was hypothetical. I never backup ;-) You always end up with copies of old software ;-) I know this one, it's called the Torvalds method :-P Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world

[OpenIndiana-discuss] Relocated root home directory

2013-02-08 Thread Jim Klimov
Hello all, I found it not very convenient to have root's home directory as a part of rootfs - if I switch between different BEs, the homedir changes back and forth. It also consumes space in the snapshots, if a BE is cloned from a variant which had some junk in this path. I know this is