Newsgroups: comp.unix.solaris From: Dick Hoogendijk <dick at nagual.nl> Subject: Re: FYI: s10u6 LU issues quoting cindy (Mon, 3 Nov 2008 13:01:07 -0800 (PST)):> Besides the release notes, I''m collecting many issues here as well: > > http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_GuideHi Cindy, As you are collecting weird things with ZFS I think I have one for you: I have s10u6 fully running off ZFS, including my sparse zones. Yesterday I did a "lucreate -n zfsBE" and the new snapshots/clones were created as expected. The clones were fully mountable too and seemed in order. That pleased me, because on UFS the zones never were handled OK with LU and now they were. However, today I did a ludelete zfsBE and it was/is refused. Here are some messages from lustatus, ludelete, zfs list and df. The BE cannot be deleted and I can''t understand the errors. I do know how to get rid of zfsBE (/etc/lutab and /etc/lu/ICF.x) and I can remove the zfs data by removing the clone/snapshot, I guess. But ludelete should be able to do it too, don''t you think? To be able to create == to be able to delete ;-) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ | SunOS 10u6 10/08 ++
Would you send the messages that appeared with the failed ludelete? Lori Dick Hoogendijk wrote:>Newsgroups: comp.unix.solaris >From: Dick Hoogendijk <dick at nagual.nl> >Subject: Re: FYI: s10u6 LU issues > >quoting cindy (Mon, 3 Nov 2008 13:01:07 -0800 (PST)): > > >>Besides the release notes, I''m collecting many issues here as well: >> >>http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide >> >> > >Hi Cindy, > >As you are collecting weird things with ZFS I think I have one for you: >I have s10u6 fully running off ZFS, including my sparse zones. >Yesterday I did a "lucreate -n zfsBE" and the new snapshots/clones were >created as expected. The clones were fully mountable too and seemed in >order. That pleased me, because on UFS the zones never were handled OK >with LU and now they were. > >However, today I did a ludelete zfsBE and it was/is refused. >Here are some messages from lustatus, ludelete, zfs list and df. >The BE cannot be deleted and I can''t understand the errors. >I do know how to get rid of zfsBE (/etc/lutab and /etc/lu/ICF.x) and I >can remove the zfs data by removing the clone/snapshot, I guess. But >ludelete should be able to do it too, don''t you think? >To be able to create == to be able to delete ;-) > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081104/36c68e4d/attachment.html>
On Tue, 04 Nov 2008 18:00:29 -0700 Lori Alt <Lori.Alt at Sun.COM> wrote:> Would you send the messages that appeared with > the failed ludelete?Sure. Cindy also asked about them. I forgot to insert them ;-) [part of the former message] However, today I did a ludelete zfsBE and it was/is refused. Here are some messages from lustatus, ludelete, zfs list and df. The BE cannot be deleted and I can''t understand the errors. I do know how to get rid of zfsBE (/etc/lutab and /etc/lu/ICF.x) and I can remove the zfs data by removing the clone/snapshot, I guess. But ludelete should be able to do it too, don''t you think? To be able to create == to be able to delete ;-) [messages] arwen# lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- -------- ------ --------- ------ ---------- s10BE2 yes yes yes no - zfsBE yes no no yes - =============================== arwen# ludelete zfsBE Checking if last BE on any disk... ERROR: unable to mount zones: cannot mount ''/zones/shire'': directory is not empty zoneadm: zone ''shire'': zone root /zones/shire/root already in use by zone shire zoneadm: zone ''shire'': call to zoneadmd failed ERROR: unable to mount zone <shire> in </.alt.zfsBE> ERROR: unmounting partially mounted boot environment file systems ERROR: No such file or directory: error unmounting <rpool/ROOT/zfsBE> ERROR: umount: warning: rpool/ROOT/zfsBE not in mnttab umount: rpool/ROOT/zfsBE no such file or directory ERROR: cannot unmount <rpool/ROOT/zfsBE> ERROR: cannot mount boot environment by name <zfsBE> ERROR: Failed to mount BE <zfsBE>. ERROR: Failed to mount BE <zfsBE>. cat: cannot open /tmp/.lulib.luclb.dsk.2692.zfsBE ERROR: This boot environment <zfsBE> is the last BE on the above disk. ERROR: Deleting this BE may make it impossible to boot from this disk. ERROR: However you may still boot solaris if you have BE(s) on other disks. ERROR: You *may* have to change boot-device order in the BIOS to accomplish this. ERROR: If you still want to delete this BE <zfsBE>, please use the force option (-f). Unable to delete boot environment. ========================arwenarwen# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 76.9G 151G 28.5K /rpool rpool/ROOT 7.49G 151G 18K /rpool/ROOT rpool/ROOT/s10BE2 7.49G 151G 7.47G / rpool/ROOT/s10BE2 at zfsBE 19.6M - 7.47G - rpool/ROOT/zfsBE 121K 151G 7.47G /.alt.zfsBE rpool/dump 2.00G 151G 2.00G - rpool/export 47.3G 151G 46.5G /export rpool/export/home 824M 151G 824M /export/home rpool/swap 8.01G 159G 19.9M - rpool/zones 12.1G 151G 23K /zones rpool/zones/midgard 5.24G 151G 5.22G /zones/midgard rpool/zones/midgard at zfsBE 20.3M - 5.22G - rpool/zones/midgard-zfsBE 49K 151G 5.22G /zones/midgard-zfsBE rpool/zones/shire 5.04G 151G 4.97G /zones/shire rpool/zones/shire at zfsBE 73.6M - 4.95G - rpool/zones/shire-zfsBE 52K 151G 4.95G /zones/shire-zfsBE rpool/zones/yanta 1.86G 151G 1.81G /zones/yanta rpool/zones/yanta at zfsBE 52.7M - 1.80G - rpool/zones/yanta-zfsBE 74K 151G 1.80G /zones/yanta-zfsBE ======================== arwen# df (truncated) /export (rpool/export ):317581993 blocks 317581993 files /export/home (rpool/export/home ):317581993 blocks 317581993 files /rpool (rpool ):317581993 blocks 317581993 files /rpool/ROOT (rpool/ROOT ):317581993 blocks 317581993 files /zones (rpool/zones ):317581993 blocks 317581993 files /zones/midgard (rpool/zones/midgard):317581993 blocks 317581993 files /zones/shire (rpool/zones/shire ):317581993 blocks 317581993 files /zones/yanta (rpool/zones/yanta ):317581993 blocks 317581993 files df: cannot statvfs /.alt.zfsBE/zones: No such file or directory df: cannot statvfs /.alt.zfsBE/var/run: No such file or directory df: cannot statvfs /.alt.zfsBE/zones/shire: No such file or directory ======================== -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv101 ++ + All that''s really worth doing is what we do for others (Lewis Carrol)