• Re: Delete all SVM metadevices

    From John de Sousa@21:1/5 to All on Tue Mar 21 09:19:37 2023
    On Friday, October 28, 2005 at 8:05:09 AM UTC+1, js wrote:
    js wrote:

    1) Cannot take ownership or delete a metaset:

    # metaset -s testset

    Set name = testset, Set number = 2

    Host Owner
    syddb280r
    syddbe220r

    Drive Dbase

    c3t0d5 Yes

    c4t0d5 Yes

    # metaset -s testset -t -f
    metaset: syddb280r: testset: there are no existing databases

    bash-2.05# metaset -s testset -t
    metaset: syddb280r: testset: there are no existing databases

    bash-2.05# metaset -s testset -d c3t0d5
    metaset: syddb280r: testset: must be owner of the set for this command

    Sun support offered this gem:
    metaset -s testset -P
    ... and the diskset is now gone.
    Interestingly, the -P option is not in the man page of metaset in Solaris9, but it seems that it is in Solaris10. Fortunately, it also works on
    Solaris9.


    18 years later and I needed this info, the -P is a gem indeed!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YTC#1@21:1/5 to John de Sousa on Wed Mar 22 11:47:04 2023
    On 21/03/2023 16:19, John de Sousa wrote:
    On Friday, October 28, 2005 at 8:05:09 AM UTC+1, js wrote:
    js wrote:

    1) Cannot take ownership or delete a metaset:

    # metaset -s testset

    Set name = testset, Set number = 2

    Host Owner
    syddb280r
    syddbe220r

    Drive Dbase

    c3t0d5 Yes

    c4t0d5 Yes

    # metaset -s testset -t -f
    metaset: syddb280r: testset: there are no existing databases

    bash-2.05# metaset -s testset -t
    metaset: syddb280r: testset: there are no existing databases

    bash-2.05# metaset -s testset -d c3t0d5
    metaset: syddb280r: testset: must be owner of the set for this command

    Sun support offered this gem:
    metaset -s testset -P
    ... and the diskset is now gone.
    Interestingly, the -P option is not in the man page of metaset in Solaris9, >> but it seems that it is in Solaris10. Fortunately, it also works on
    Solaris9.


    18 years later and I needed this info, the -P is a gem indeed!

    Hi John :-) You mut still be working on some old kit then :-)


    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Wed Mar 22 19:22:08 2023
    Am 22.03.2023 um 11:47:04 Uhr schrieb YTC#1:

    On 21/03/2023 16:19, John de Sousa wrote:
    18 years later and I needed this info, the -P is a gem indeed!

    Hi John :-) You mut still be working on some old kit then :-)

    No, Solaris even runs on new x64 hardware - I tried it out last week in VirtualBox.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YTC#1@21:1/5 to Marco Moock on Thu Mar 23 09:16:53 2023
    On 22/03/2023 18:22, Marco Moock wrote:
    Am 22.03.2023 um 11:47:04 Uhr schrieb YTC#1:

    On 21/03/2023 16:19, John de Sousa wrote:
    18 years later and I needed this info, the -P is a gem indeed!

    Hi John :-) You mut still be working on some old kit then :-)

    No, Solaris even runs on new x64 hardware - I tried it out last week in VirtualBox.


    You misunderstood my comment, it was about the use of SVM/ODS/SDS, not
    Solaris.

    I still work with Solaris (all versions), usually SPARC, and only come
    across SVM on Sol 8 or 9 instances (or very early S10), and these are
    usually servers that are being migrated to newer tin (LDoms/zones),
    whenever possible I will get the client to shift to ZFS.

    I also know John, and the government depts he often works at, and am
    surprised that there is still stuff to be modernised.

    --
    Bruce Porter
    "The internet is a huge and diverse community but mainly friendly" http://ytc1.blogspot.co.uk/
    There *is* an alternative! http://www.openoffice.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)