On Sat, Aug 2, 2008 at 12:43 PM, Sherry Moore <[EMAIL PROTECTED]> wrote:
> Hi Dennis,
>
> Yes I have seen this.  /opt was set up as a separate file system by the
> installation process, and the "canmount" proterty was set to "no" (not
> sure by which step yet), as a result post-upate /opt is no longer
> mounted.

ahhh .. I should have used zfs get all zfsfoo to see that .. missed that detail.

> If you run
>
>    # zfs mount rpool/ROOT/opensolaris/opt.
>
> It should stick on reboot.

okay .. beauty .. thank you !

now then .. next issue .. is which /opt is /opt ?

-bash-3.2# zfs list | grep -E "USED|opt"
NAME                                                        USED
AVAIL  REFER  MOUNTPOINT
rpool/ROOT/opensolaris-1/opt                               1.24M
26.0G  1013M  legacy
rpool/ROOT/opensolaris-2/opt                               1013M
26.0G  1013M  legacy
rpool/ROOT/opensolaris-2/[EMAIL PROTECTED]                         73K
-  3.60M  -
rpool/ROOT/opensolaris-2/[EMAIL PROTECTED]:-:2008-07-02-03:20:17   352K
-   842M  -
rpool/ROOT/opensolaris-2/[EMAIL PROTECTED]:-:2008-07-15-01:43:22      0
-  1013M  -
rpool/ROOT/opensolaris-2/[EMAIL PROTECTED]                     0
-  1013M  -
rpool/ROOT/opensolaris/opt                                  122K
26.0G   842M  legacy

If I take a reasonable guess I see :

rpool/ROOT/opensolaris-2/opt uses 1013M of disk space.

-bash-3.2# zfs set mountpoint=/opt rpool/ROOT/opensolaris-2/opt
-bash-3.2# zfs mount rpool/ROOT/opensolaris-2/opt
-bash-3.2# ls -lap /opt
total 44
drwxr-xr-x   8 root     sys            8 Jun 30 08:23 ./
drwxr-xr-x  28 root     root          33 Jul 15 03:06 ../
drwxr-xr-x  31 root     bin           50 Jun 16 07:52 DTT/
drwxr-xr-x   4 root     bin            5 Jun 16 07:52 SUNWmlib/
drwxr-xr-x  13 root     sys           15 Jun 30 08:25 SunStudioExpress/
drwxr-xr-x  15 root     bin           18 Jun 25 20:57 csw/
drwxr-xr-x   9 root     sys           17 Jun 30 08:24 netbeans-6.0ss/
drwxr-xr-x   4 root     bin            4 Jun 18 12:19 sfw/

woo hoo .. okay .. back in business here.

-bash-3.2# /opt/SunStudioExpress/bin/cc -V
cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04
usage: cc [ options] files.  Use 'cc -flags' for details
-bash-3.2# /opt/SunStudioExpress/bin/CC -V
CC: Sun Ceres C++ 5.9 SunOS_i386 2008/04/04

that will do nicely .. thanks for the help.

I'll try a reboot to confirm that things "stick".

Dennis
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to