[indiana-discuss] How to deal with /opt folder?

Aubrey Li aubreylee at gmail.com
Wed Dec 3 19:30:03 PST 2008


Hi list,

This problem remains in the 200811.  When /opt folder is not empty,
"pkg image-update" will fail due to image-update cannot be done on live image.
Empty the /opt folder solved the problem.

Similarly, beadm create new-BE will fail too if /opt folder is not empty.
The workaround of image-update works as well for new BE creation.

The following is the zfs list on my side:

$ zfs list
NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool                         30.3G   114G  61.5K  /rpool
rpool/ROOT                    11.3G   114G    18K  /rpool/ROOT
rpool/ROOT/opensolaris-8      11.3G   114G  6.70G  legacy
rpool/ROOT/opensolaris-8/opt  3.81M   114G  3.60M  /////opt
rpool/export                  18.9G   114G    19K  /export
rpool/export/home             18.9G   114G  18.9G  /export/home

Every time image-update, I removed everything under /opt folder and it was
successful. Now, I saw the weird mountpoint is ////opt.

I'm not sure if it's a known bug or I did something wrong.
How to deal with /opt folder?

Thanks,
-Aubrey



More information about the indiana-discuss mailing list