dick hoogendijk writes:
> I have two BE's, snv98 and snv99. Since snv_99 runs fine I want to
> remove the snv98 BE. A ludelete snv98 ERRORS out however. On snv98 this
> also happened and I was able to remove it doing "ludelete -f BE" This
> does not work now ;-(
>
> I've removed the old BE with "zfs destroy rpool/ROOT/snv98" Thsi freed
> the space. But in lustatus I keep seeing this non-existant BE.
> Can I do something about this; wipe some file? Or what?
Before doing anything else, make sure you file a bug. You shouldn't
have to remove file systems by hand in order to remove an old boot
environment.
Take a look first at /etc/lutab. You'll see a block of entries that
should look something like this:
8:snv98:C:0
8:/:rpool/ROOT/snv98:1
8:boot-device:/dev/dsk/c1t0d0s0:2
That first column is the index number. There's a corresponding pair
of files here:
/etc/lu/INODE.8
/etc/lu/ICF.8
To delete the entry, just edit /etc/lutab to remove it, and then
remove the INODE and ICF files.
--
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677