VxVM 5.0- Replacing rootdisk from rootdg – failing with error "Disk public region is too small"

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

Loading Facebook Comments ...

18 Responses

  1. Al Vidad says:

    Thanks for the information. This was very helpful!!!

  2. Saurabh says:

    Thanks for the info. Very Helpfu. I am looking for these pdf’s

    1. Veritas Storage Foundation 5.1 for UNIX : Install & Configure

    2. Veritas Storage Foundation 5.1 for UNIX: Manage & Administrator

    could you pls share my id is saurabh.ec2006@gmail.com pls Thanks

  3. Yogesh Raheja says:

    @Saurabh, you will be able to download the same from Symantec site. 

  4. Saurabh says:

    Hi Yogesh, every time i am searching on google it is pointing me to register for the course……..i am not finding any download link to get his ……….i am looking for these pdf’s for a very long time……..could you check it once………it will higly appreciated….inspite of the result….Thanks my id is saurabh.ec2006@gmail.com pls check once if you can get those.

  5. Yogesh Raheja says:

    @Saurabh, sent on your email id. 

  6. Saurabh says:

    Thanks Yogesh and Ram :)

  7. srikanth says:

    Hi Friends,

    First of all, Thanks for sharing such an excellent information. I am also looking for the 
    1. Veritas Storage Foundation 5.1 for UNIX : Install & Configure
    2. Veritas Storage Foundation 5.1 for UNIX: Manage & Administrator
    3. Veritas Cluster installation and configuration.

    Please share at srikanthjun6@gmail.com.

  8. shekar says:

    Hi Ram

    I’m trying t remove the last disk from rootdg and getting the following error , however i can remove the last disk from some other disk group and destroy the DG .How to remove the last disk from rootdg and decommision it

    Server1:/# vxdg -g rootdg rmdisk disk01
    vxvm:vxdg: ERROR: disassociating disk-media disk01:
    Cannot remove last disk in disk group

    cxtydzs2 sliced disk01 rootdg online
    – – disk01-m rootdg removed was:cx1tydzs2

    Many Thanks

  9. Ramdev says:

    Hi Shekar, please try  /etc/vx/bin/vxunroot to unencapsulate the rootdg to native paritions. please makes sure the rootdisk has no volumes other than non-systems volumes.

  10. shekar says:

    I continued the cmd you gave but geeting the response as

    /etc/vx/bin/vxunroot
    /etc/vx/bin/vxunroot: No rootvol found..when i exe this cmd vxprint -v -g rootdg
    TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
    v db_inst fsgen DISABLED 18874368 – CLEAN – –
    v db_inst-d01 fsgen DISABLED 18874368 – CLEAN – my vol is disable still i can’t remove the disk frm rootdg ,pl advise

  11. Ramdev says:

    Is that volume disabled before vxunroot? if so please enable and try the command

    alternatively, use the traditional process: ( please be cautious, and implement on your own risk)

    before proceeding check that you have the original disk partition layout  i.e. vtoc ” /etc/vx/reconfig.d/disk.d/vtoc””

    — take the system down to failsafe mode/ or cdrom boot  and mount the root disk to /a
    — modify the /etc/system to  comment out  “rootdev” and “set vxio ..” entries
    — modify /etc/vfstab to use native disk partitions instead of root volumes
    — remove root volumes – vxedit -rf rm
    — remove the last disk with — vxdg rmdisk
    — restore original vtoc to disk. with below command
    /etc/vx/bin/vxedvtoc -f /etc/vx/reconfig.d/disk.d/vtoc /dev/rdsk/s2
    — boot to single user mode

  12. shekar says:

    thanks for your response .
    Ok , let me explain , Solairs is mirrored on (svm )booting on native disk , on top of that VVM is installed they are not encap with solaris disk .
    vxdisk list
    DEVICE TYPE DISK GROUP STATUS
    c0t0d0s2 sliced – – error (not VVM control )
    c0t1d0s2 sliced – – error( not VVM control )
    c1t0d0s2 sliced disk01 rootdg online
    – – disk01-m rootdg removed was:c2t0d0s2

    Ignore the error in the status for 1st two disk as those are not VVM control

    This server is being veritasclustered with another node ,since rootdg is created at the time of installtion of VVM ,so i have only option left now to uninstall Vertitas Volume manager that will remove the rootdg .

    1 will this affect the existing VCS between two node
    2. Alternatevely ,is there option or commnd to remove rootdg or the last disk in rootdg ?

    • Ramdev says:

      Hi Sekhar, Thanks for explaining the setup

      >>1 will this affect the existing VCS between two node
      if VCS using any of the VxVM volumes then removing VxVM will affect the VCS

      >>> 2. Alternatevely ,is there option or commnd to remove rootdg or the last disk in rootdg ?
      Case a. if you are using vxvm 3.5 and earlier versions, there you shouldn’t remove the rootdg because that is mandatory DG.
      Case b. If you are using vxvm 4.0 and later versions, then simply deport the rootdg and run vxdiskunsetup against the rootdisk which will clear the both public and private regions of the disk.

  13. prajwala says:

    Hi Ramdev,

    I totally confused about how to mirror and un-mirror the root disk and rootmirror disks . can you provide a detailed steps how to mirror and unmirror root disks in veritas

    • Ramdev says:

      Hi Prajwala, I understand your confusion. This post is to help troubleshooting the error “VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2: Disk public region is too small” during the rootdisk replacement. and that won’t happens regularly.

      I will post the normal procedure little later.

  14. Raju says:

    hi ramdev., thanks for sfaring

Leave a Reply

Your email address will not be published.

[contact-form to='ramkumar.ramadevu@gmail.com' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us