2 Replies Latest reply: Sep 12, 2013 9:17 PM by Raven Blueriver RSS

    Rename a mounted BE on solaris 11

    Raven Blueriver

      Hi all:

       

      I tried to rename a mounted BE on solaris 11.

      The following error occurred:

       

      ______________________________________________________________________

      # beadm list

      BE               Active Mountpoint Space  Policy Created

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

      solaris          NR     /          13.87G static 2013-05-20 16:15

      #

      # beadm create test

      # beadm mount test /tmp/mnt/

      # beadm list

      BE               Active Mountpoint Space  Policy Created

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

      solaris          NR     /          13.87G static 2013-05-20 16:15

      test           -      /tmp/mnt   61.0K  static 2013-09-11 11:00

      #

      # beadm rename test renametest

      be_rename: failed to rename dataset (rpool/ROOT/test): failure mounting

      parent dataset

      Rename of BE test failed.

      Mount failed.

      #

      ★★★★★★★★★★★★★★★★★★★★

      The above command did rename the be,   

      but did not mount it.            

      ★★★★★★★★★★★★★★★★★★★★

      # beadm list

      BE               Active Mountpoint Space  Policy Created

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

      solaris          NR     /          13.87G static 2013-05-20 16:15

      renametest     -      -          74.0K  static 2013-09-11 11:00

      #

      _______________________________________________________________________

       

      ______________________________OS info__________________________________

      # cat /etc/release

                                Oracle Solaris 11 11/11 SPARC

        Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights

      reserved.

                                  Assembled 18 October 2011

      _______________________________________________________________________

       

       

      I did the same test on openindiana(the latest version) , there was no

      such error.

       

      Is it a slightly bug of solaris 11 which has been fixed in illumos?

      I am trying to use Dtrace to dive into the error, but it seems much

      difficult for me.

       

      I would appreciate for any replay.

       

      Thanks.