Hi. I'm running snv_122. I have some older boot environments that I'm trying to remove, but I'm unable to because I also had a ZFS pool I was testing which no longer exists.

-bash-3.2# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
snv_117                    yes      no     no        yes    -
snv_119                    yes      no     no        yes    -
snv_121                    yes      yes    yes       no     -

-bash-3.2# ludelete snv_117
System has findroot enabled GRUB
Checking if last BE on any disk...
ERROR: mount: /datapool1: No such file or directory
ERROR: cannot mount mount point </.alt.snv_117/datapool1> device </datapool1>
ERROR: failed to mount file system </datapool1> on </.alt.snv_117/datapool1>
ERROR: unmounting partially mounted boot environment file systems
ERROR: No such file or directory: error unmounting <rpool/ROOT/snv_117>
ERROR: cannot mount boot environment by name <snv_117>
ERROR: Failed to mount BE <snv_117>.
ERROR: Failed to mount BE <snv_117>.
ERROR: mount: /datapool1: No such file or directory
ERROR: cannot mount mount point </.alt.snv_119/datapool1> device </datapool1>
ERROR: failed to mount file system </datapool1> on </.alt.snv_119/datapool1>
ERROR: unmounting partially mounted boot environment file systems
ERROR: No such file or directory: error unmounting <rpool/ROOT/snv_119>
ERROR: cannot mount boot environment by name <snv_119>
ERROR: Failed to mount BE <snv_119>.
ERROR: Failed to mount BE <snv_119>.
cat: cannot open /tmp/.lulib.luclb.dsk.1828.snv_117: No such file or directory
ERROR: This boot environment <snv_117> 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 <snv_117>, please use the force option (-f).
Unable to delete boot environment.

-bash-3.2# lufslist snv_117
               boot environment name: snv_117

Filesystem fstype device size Mounted on Mount Options ----------------------- -------- ------------ ------------------- --------------
/dev/zvol/dsk/rpool/swap swap       2147483648 -                   -
rpool/ROOT/snv_117      zfs         111096832 /                   -
rpool                   zfs       34069631488 /rpool              -
rpool/export            zfs             45056 /export             -
datapool1               zfs                 ? /datapool1          -
rpool/export/home       zfs             21504 /export/home        -
datapool1/stores        zfs                 ? /datapool1/stores   -
datapool1/testing       zfs                 ? /datapool1/testing  -
datapool1/stores/vi     zfs                 ? /datapool1/stores/vi -
datapool1/stores/vi/shared zfs                 ? /datapool1/stores/vi/shared -

I'm not sure why the error says to use the '-f' flag but no such flag exists for ludelete.

Any ideas?

--------------------------------------------------------------------------------

This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient, be advised that any use, dissemination, forwarding, printing or copying is strictly prohibited. If you have received this email in error, please contact the sender and delete all copies.



_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to