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

A. Stecker as at kollerbeck.de
Wed Dec 3 20:43:58 PST 2008


some time ago i got the following answer to a similar (or maybe even the same) problem. haven't tried myself yet.

Evan Layton wrote:
>It definitely looks like you've hit a similar issue as that described in 3452. To make sure of that we need to see if /opt is actually mounted and if you've ended up installing things into the /opt mount point directory when the BE boots it will fail to mount /opt on rpool/ROOT/<be_name>/opt and when a new BE is created it will have that same issue with /opt. Looking at the ZFS output you can see that the mount points for /opt in several BE's have more than one / in front of them which tends to indicate that there's been issues with mounting those datasets. To clean this issue up you'll need to move everything out of /opt zfs mount the rpool/ROOT/<be_name>/opt dataset and copy in what was moved out of /opt. Make sure that /opt is empty before attempting to mount the dataset.
>
>Also for those datasets affected the following zfs command can be used to clean up the mount point:
># zfs set mountpoint=/opt rpool/ROOT/<be_name>/opt
>
>Thanks for your patience!
>
>-evan
-- 
This message posted from opensolaris.org



More information about the indiana-discuss mailing list