Re: [zfs-discuss] gaining access to var from a live cd

2011-11-30 Thread Cindy Swearingen
Hi Francois, A similar recovery process in OS11 is to just mount the BE, like this: # beadm mount s11_175 /mnt # ls /mnt/var adm croninetlogadm preservetmp ai db infomailrun tpm apache2 dhcpinstalladm nfs

[zfs-discuss] gaining access to var from a live cd

2011-11-29 Thread Francois Dion
I've hit an interesting (not) problem. I need to remove a problematic ld.config file (due to an improper crle...) to boot my laptop. This is OI 151a, but fundamentally this is zfs, so i'm asking here. what I did after booting the live cd and su: mkdir /tmp/disk zpool import -R /tmp/disk -f rpool

Re: [zfs-discuss] gaining access to var from a live cd

2011-11-29 Thread Mike Gerdts
On Tue, Nov 29, 2011 at 3:01 PM, Francois Dion francois.d...@gmail.com wrote: I've hit an interesting (not) problem. I need to remove a problematic ld.config file (due to an improper crle...) to boot my laptop. This is OI 151a, but fundamentally this is zfs, so i'm asking here. what I did

Re: [zfs-discuss] gaining access to var from a live cd

2011-11-29 Thread Francois Dion
It is on openindiana 151a, no separate /var as far as But I'll have to test this on solaris11 too when I get a chance. The problem is that if I zfs mount -o mountpoint=/tmp/rescue (or whatever) rpool/ROOT/openindiana i get a cannot mount /mnt/rpool: directory is not empty. The reason for that

Re: [zfs-discuss] gaining access to var from a live cd

2011-11-29 Thread Mike Gerdts
On Tue, Nov 29, 2011 at 4:40 PM, Francois Dion francois.d...@gmail.com wrote: It is on openindiana 151a, no separate /var as far as But I'll have to test this on solaris11 too when I get a chance. The problem is that if I zfs mount -o mountpoint=/tmp/rescue (or whatever)

Re: [zfs-discuss] gaining access to var from a live cd

2011-11-29 Thread Francois Dion
In the end what I needed to do was to set the mountpoint with: zfs set mountpoint=/tmp/rescue rpool/ROOT/openindiana it ended up mounting it in /mnt/rpool/tmp/rescue but still, it gave me the access to var/ld/... and after removing the ld.config, doing a zpool export and reboot, my desktop is