On Tue, Aug 18, 2009 at 1:16 AM, Kaya Saman<SamanKaya at netscape.net> wrote: > >> >> >> Creating new privileged user for new boot env ... >> Username: admin >> 992 blocks >> New Password: >> Re-enter new Password: >> passwd: password successfully changed for admin >> cannot mount '/opt': directory is not empty >> property may be set but unable to remount filesystem >> >> > I guess I could just do a rm -rf /opt/* but then that dir is loaded with: > > root at NotinoC2200:~# ls /opt > DTraceToolkit ?csw > > DTrace I am guessing is a developer toolkit and CSW looks like blastwave > repo.... > > Anyway will stand by for further instructions!
OMG !!! Another person facing an issue with /opt ! :) I face the exact same problem, and didn't write about it since I thought that "it's just me with a fancy /opt partition !". Here's how I solved this: 1. zfs list 2. Note down the entry that has /opt and change that mount point. e.g. in my case: rpool/ROOT/belenix08 4.14G 1.73G 4.14G legacy rpool/ROOT/belenix08/opt 3.60M 1.73G 3.60M /opt rpool/ROOT/opensolaris-2/opt 0 1.73G 7.09M - rpool/ROOT/opensolaris-3/opt 27K 1.73G 7.09M /mnt/opt rpool/ROOT/opensolaris-4/opt 27K 1.73G 7.09M - I then used zfs set mountpoint to change the point points for everything except belenxi08/opt rpool/ROOT/belenix08 4.14G 1.73G 4.14G legacy rpool/ROOT/belenix08/opt 3.60M 1.73G 3.60M /opt rpool/ROOT/opensolaris-2/opt 0 1.73G 7.09M /mnt/opt2 rpool/ROOT/opensolaris-3/opt 27K 1.73G 7.09M /mnt/opt3 rpool/ROOT/opensolaris-4/opt 27K 1.73G 7.09M /mnt/opt4 A quick test with zfs mount -a told me that everything was mounted again. Thisis something I'd love to investigate in depth. -- Sriram
