[indiana-discuss] apps installing to /opt -> beadm create not working
Alexander Stecker
as at kollerbeck.de
Fri Dec 5 18:44:49 PST 2008
works as expected. update went fine. mountpoints look ok now:
as at solstice:~$ zfs mount
rpool/ROOT/opensolaris-9 /
rpool/ROOT/opensolaris-9/opt /opt
rpool/export /export
rpool/export/home /export/home
rpool/export/home/as /export/home/as
rpool/export/home/as/smb /export/home/as/smb
rpool /rpool
rpool/ROOT /rpool/ROOT
thanks again for your support!
-as
Evan Layton schrieb:
> I'm sorry it's taken me so long to respond to this. With everything
> going on and being out of town I lost track of this thread.
>
> 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
>
> A. Stecker wrote:
>> (all output also available on http://pastebin.ca/1242002)
>>
>> pkg image-update fails for the same reason.
>>
>>> I need a bit more information.
>>> What build are you seeing this on?
>>
>> opensolaris indiana snv98
>>
>>> What it the output of "zfs list"?
>>
>> as at solstice:~# zfs list
>> NAME USED
>> AVAIL REFER MOUNTPOINT
>> rpool 42,1G
>> 30,7G 64K /rpool
>> rpool at install 19,5K
>> - 55K -
>> rpool/ROOT 11,9G
>> 30,7G 18K /rpool/ROOT
>> rpool/ROOT at install 15K
>> - 18K -
>> rpool/ROOT/opensolaris 139M
>> 30,7G 2,26G legacy
>> rpool/ROOT/opensolaris-1 7,11M
>> 30,7G 2,31G legacy
>> rpool/ROOT/opensolaris-1/opt 0
>> 30,7G 3,61M /opt
>> rpool/ROOT/opensolaris-2 5,40M
>> 30,7G 2,46G legacy
>> rpool/ROOT/opensolaris-2/opt 0
>> 30,7G 3,61M /opt
>> rpool/ROOT/opensolaris-3 66,4M
>> 30,7G 2,68G legacy
>> rpool/ROOT/opensolaris-3/opt 0
>> 30,7G 3,61M /opt
>> rpool/ROOT/opensolaris-4 153M
>> 30,7G 4,92G legacy
>> rpool/ROOT/opensolaris-4/opt 0
>> 30,7G 98,0M //opt
>> rpool/ROOT/opensolaris-5 1,32G
>> 30,7G 4,25G legacy
>> rpool/ROOT/opensolaris-5/opt 0
>> 30,7G 3,61M ////opt
>> rpool/ROOT/opensolaris-6 10,1G
>> 30,7G 4,97G legacy
>> rpool/ROOT/opensolaris-6 at now 59,5M
>> - 2,23G -
>> rpool/ROOT/opensolaris-6 at static:-:2008-05-20-23:25:58 61,0M
>> - 2,23G -
>> rpool/ROOT/opensolaris-6 at static:-:2008-06-08-18:36:33 93,7M
>> - 2,31G -
>> rpool/ROOT/opensolaris-6 at static:-:2008-06-21-02:43:55 547M
>> - 2,46G -
>> rpool/ROOT/opensolaris-6 at opensolaris-4 606M
>> - 2,68G -
>> rpool/ROOT/opensolaris-6 at static:-:2008-10-15-03:39:20 157M
>> - 4,15G -
>> rpool/ROOT/opensolaris-6 at opensolaris-radeon 143M
>> - 4,18G -
>> rpool/ROOT/opensolaris-6 at static:-:2008-10-31-05:32:26 101M
>> - 4,82G -
>> rpool/ROOT/opensolaris-6/opt 98,3M
>> 30,7G 98,0M //opt
>> rpool/ROOT/opensolaris-6/opt at now 0
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at static:-:2008-05-20-23:25:58 0
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at static:-:2008-06-08-18:36:33 0
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at static:-:2008-06-21-02:43:55 0
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at opensolaris-4 0
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at static:-:2008-10-15-03:39:20 24K
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at opensolaris-radeon 24K
>> - 3,61M -
>> rpool/ROOT/opensolaris-6/opt at static:-:2008-10-31-05:32:26 0
>> - 98,0M -
>> rpool/ROOT/opensolaris-radeon 88,0M
>> 30,7G 4,25G legacy
>> rpool/ROOT/opensolaris-radeon/opt 0
>> 30,7G 3,61M //opt
>> rpool/ROOT/opensolaris/opt 0
>> 30,7G 3,61M /opt
>> rpool/export 30,2G
>> 30,7G 19K /export
>> rpool/export at install 17K
>> - 19K -
>> rpool/export/home 17,4G
>> 30,7G 20K /export/home
>> rpool/export/home at install 20K
>> - 21K -
>> rpool/export/home/as 17,4G
>> 30,7G 16,2G /export/home/as
>> rpool/export/home/as/smb 1,27G
>> 30,7G 1,27G /export/home/as/smb
>> rpool/export/winxp 12,8G
>> 30,7G 12,7G -
>> rpool/export/winxp at initialcopy 23,9M
>> - 12,6G -
>>
>> rpool/export/winxp at afterregistrycopy 24,0M
>> - 12,6G -
>>
>>
>>> What is the error from beadm you're getting?
>>
>> as at solstice:~# beadm create opensolaris-7
>> Unable to create opensolaris-7. Mount failed.
>>
>>> What is the output of "beadm list"?
>>
>> as at solstice:~# beadm list
>> BE Active Mountpoint Space Policy
>> Created -- ------ ---------- -----
>> ------ ------- opensolaris - -
>> 138.81M static 2008-05-09 02:05 opensolaris-1 -
>> - 7.11M static 2008-05-21 01:25 opensolaris-2
>> - - 5.40M static 2008-06-08 20:36
>> opensolaris-3 - - 66.38M static 2008-06-21
>> 04:43 opensolaris-4 N / 153.15M static
>> 2008-10-14 05:39 opensolaris-5 - - 1.32G
>> static 2008-10-15 05:39 opensolaris-6 R -
>> 11.95G static 2008-10-31 06:32 opensolaris-7 -
>> /tmp/.be.8PayEb 54.0K static 2008-10-31 23:51 opensolaris-radeon
>> - - 87.99M static 2008-10-17 06:49
>> note: although opensolaris-6 is active on restart, i always start
>> opensolaris-4 (5 and 6 contain 99 and 100, which won't boot due to
>> known atapi error, will be fixed in 101)
>>
>> opensolaris-7 didn't exist before "beadm create opensolaris-7"
>>
>>> What does "zfs list -o name,mountpoint <dataset for
>>> /opt>" show for the mountpoint of the dataset that should be getting
>>> mounted at /opt?
>>>
>>
>> i'm not exactly sure, which dataset this must be, but i think it is
>> rpool/ROOT/opensolaris-4/opt ?
>>
>> as at solstice:~# zfs list -o name,mountpoint rpool/ROOT/opensolaris-4/opt
>> NAME MOUNTPOINT
>> rpool/ROOT/opensolaris-4/opt //opt
>>
>>
>>> Thanks!
>>
>> thank you!
>>
>> as
>>
>>> -evan
>>> _______________________________________________
>>> indiana-discuss mailing list
>>> indiana-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/indiana-d
>>> iscuss
>
More information about the indiana-discuss
mailing list