The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to remove Veritas Volume Manager 3.5 and add S. DiskSuite mg2 SUN Solaris 2 01-28-2008 11:52 AM
How to remove disk from mirror? Yac AIX 3 09-24-2007 02:40 PM
Veritas root disk mirroring Jartan SUN Solaris 10 12-12-2006 06:46 PM
How to remove Veritas Volume Manager 3.5 and install Solstice DiskSuite mg2 UNIX for Dummies Questions & Answers 1 03-30-2006 11:25 AM
FSCK on veritas managed disk ozzmosiz Filesystems, Disks and Memory 2 02-08-2005 12:59 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-04-2007
kiem kiem is offline
Registered User
  
 

Join Date: Nov 2004
Location: Elk Grove, CA
Posts: 20
Need to remove a disk from Veritas

I have a bogus disk that keeps showing up as failed from vxdisk list

- - disk hpdg failed was:c2t0d11s2


There isnt any c2 devices on the system:

# ls /dev/dsk/c2*
/dev/dsk/c2*: No such file or directory
# ls /dev/rdsk/c2*
/dev/rdsk/c2*: No such file or directory
# ls /dev/vx/dmp/c2*
/dev/vx/dmp/c2*: No such file or directory
# ls /dev/vx/rdmp/c2*
/dev/vx/rdmp/c2*: No such file or directory


These arent even in the format neither:


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/sbus@3,0/SUNW,fas@3,8800000/sd@0,0
1. c0t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
/sbus@3,0/SUNW,fas@3,8800000/sd@1,0
2. c4t0d0 <HP-OPEN-8-SUN-0110 cyl 9964 alt 2 hd 15 sec 96>
/sbus@a,0/fcaw@2,0/sd@0,0
3. c4t0d1 <HP-OPEN-8-SUN-0110 cyl 9964 alt 2 hd 15 sec 96>


I've done devfsadm -C; devfsadm and c2 they're not discovered neither.


I've restarted the vxconfigd daemon too and it still wont go away.


vxprint shows that disk as "NODEVICE"

dm disk - - - - NODEVICE



When I list the disks from vxdiskadm - that disk isnt listed:


List disk information
Menu: VolumeManager/Disk/ListDisk
Use this menu operation to display a list of disks. You can
also choose to list detailed information about the disk at
a specific disk device address.

Enter disk device or "all" [<address>,all,q,?] (default: all)

DEVICE DISK GROUP STATUS
c0t0d0 disk01 rootdg online
c0t1d0 rootdisk rootdg online
c4t0d0 disk00 hpdg online
c4t0d1 disk01 hpdg online
c4t0d2 disk02 hpdg online
c4t0d3 disk03 hpdg online
c4t0d4 disk04 hpdg online
c4t0d5 disk05 hpdg online
c4t0d6 disk06 hpdg online
c4t0d7 disk07 hpdg online
c4t0d8 disk08 hpdg online
c4t0d9 disk09 hpdg online
c4t0d10 disk10 hpdg online
c4t0d11 disk11 hpdg online
c4t0d12 disk12 hpdg online
c4t0d13 disk13 hpdg online
c4t0d14 disk14 hpdg online
c4t0d15 disk15 hpdg online
c4t0d16 disk16 hpdg online
c4t0d17 disk17 hpdg online
c4t0d18 disk18 hpdg online
c4t0d19 disk19 hpdg online
c4t0d20 - - online invalid
c4t0d21 - - online invalid
c4t0d22 - - online invalid
c4t0d23 - - online invalid
c4t0d24 - - online invalid
c4t0d25 - - online invalid
c4t0d26 - - online invalid



The regular vxdisk list is still showing it though:

# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:sliced disk01 rootdg online
c0t1d0s2 auto:sliced rootdisk rootdg online
c4t0d0s2 auto:sliced disk00 hpdg online
c4t0d1s2 auto:sliced disk01 hpdg online
c4t0d2s2 auto:sliced disk02 hpdg online
c4t0d3s2 auto:sliced disk03 hpdg online
c4t0d4s2 auto:sliced disk04 hpdg online
c4t0d5s2 auto:sliced disk05 hpdg online
c4t0d6s2 auto:sliced disk06 hpdg online
c4t0d7s2 auto:sliced disk07 hpdg online
c4t0d8s2 auto:sliced disk08 hpdg online
c4t0d9s2 auto:sliced disk09 hpdg online
c4t0d10s2 auto:sliced disk10 hpdg online
c4t0d11s2 auto:sliced disk11 hpdg online
c4t0d12s2 auto:sliced disk12 hpdg online
c4t0d13s2 auto:sliced disk13 hpdg online
c4t0d14s2 auto:sliced disk14 hpdg online
c4t0d15s2 auto:sliced disk15 hpdg online
c4t0d16s2 auto:sliced disk16 hpdg online
c4t0d17s2 auto:sliced disk17 hpdg online
c4t0d18s2 auto:sliced disk18 hpdg online
c4t0d19s2 auto:sliced disk19 hpdg online
c4t0d20s2 auto:none - - online invalid
c4t0d21s2 auto:none - - online invalid
c4t0d22s2 auto:none - - online invalid
c4t0d23s2 auto:none - - online invalid
c4t0d24s2 auto:none - - online invalid
c4t0d25s2 auto:none - - online invalid
c4t0d26s2 auto:none - - online invalid
- - disk hpdg failed was:c2t0d11s2


I've had Veritas walked me through and removing all the c2 devices and rebooted the server but it's still showing up.


Is there a veritas database where I can go in and remove this bogus disk?
  #2 (permalink)  
Old 04-04-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
if you're sure it's really bogus:

Make sure there are no dead plexes hanging around, and remove them if there are.

You can check with
Code:
vxprint -pg hpdg | grep NODEVICE
Column 2 is plex name. If there are some dead plexes, disassociate and remove them:
Code:
vxplex -g hpdg -o rm dis <plex name>
Then vxedit the disk out of hpdg:
Code:
vxedit -g hpdg -rf rm disk
  #3 (permalink)  
Old 04-04-2007
kiem kiem is offline
Registered User
  
 

Join Date: Nov 2004
Location: Elk Grove, CA
Posts: 20
Thanks for trying - its not working though.
  #4 (permalink)  
Old 04-04-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
It might help if you said what part wasn't working, and what error message you got, because the method described, does work:


Code:
#: vxprint -g rootdg
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg rootdg       rootdg       -        -        -        -        -       -

dm rootdisk     c0t0d0s2     -        35358848 -        -        -       -
dm rootmirr     -            -        -        -        NODEVICE -       -

v  rootvol      root         ENABLED  20624424 -        ACTIVE   -       -
pl rootvol-01   rootvol      ENABLED  20624424 -        ACTIVE   -       -
sd rootdisk-02  rootvol-01   ENABLED  20624424 0        -        -       -
pl rootvol-02   rootvol      DISABLED 20624424 -        NODEVICE -       -
sd rootmirr-01  rootvol-02   DISABLED 20624424 0        NODEVICE -       -

v  swapvol      swap         ENABLED  14682592 -        ACTIVE   -       -
pl swapvol-01   swapvol      ENABLED  14682592 -        ACTIVE   -       -
sd rootdisk-B0  swapvol-01   ENABLED  1        0        -        -       Block0
sd rootdisk-01  swapvol-01   ENABLED  14682591 1        -        -       -
pl swapvol-02   swapvol      DISABLED 14682592 -        NODEVICE -       -
sd rootmirr-02  swapvol-02   DISABLED 14682592 0        NODEVICE -       -

#: vxplex -g rootdg -o rm dis rootvol-02
#: vxplex -g rootdg -o rm dis swapvol-02

#: vxprint -g rootdg
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg rootdg       rootdg       -        -        -        -        -       -

dm rootdisk     c0t0d0s2     -        35358848 -        -        -       -
dm rootmirr     -            -        -        -        NODEVICE -       -

v  rootvol      root         ENABLED  20624424 -        ACTIVE   -       -
pl rootvol-01   rootvol      ENABLED  20624424 -        ACTIVE   -       -
sd rootdisk-02  rootvol-01   ENABLED  20624424 0        -        -       -

v  swapvol      swap         ENABLED  14682592 -        ACTIVE   -       -
pl swapvol-01   swapvol      ENABLED  14682592 -        ACTIVE   -       -
sd rootdisk-B0  swapvol-01   ENABLED  1        0        -        -       Block0
sd rootdisk-01  swapvol-01   ENABLED  14682591 1        -        -       -

#: vxedit -g rootdg -rf rm rootmirr
 #: vxprint -g rootdg
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg rootdg       rootdg       -        -        -        -        -       -

dm rootdisk     c0t0d0s2     -        35358848 -        -        -       -

v  rootvol      root         ENABLED  20624424 -        ACTIVE   -       -
pl rootvol-01   rootvol      ENABLED  20624424 -        ACTIVE   -       -
sd rootdisk-02  rootvol-01   ENABLED  20624424 0        -        -       -

v  swapvol      swap         ENABLED  14682592 -        ACTIVE   -       -
pl swapvol-01   swapvol      ENABLED  14682592 -        ACTIVE   -       -
sd rootdisk-B0  swapvol-01   ENABLED  1        0        -        -       Block0
sd rootdisk-01  swapvol-01   ENABLED  14682591 1        -        -       -

#: vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:sliced     rootdisk     rootdg       online
c0t1d0s2     auto:sliced     rootdisk     rootdg2      online
c1t1d0s2     auto:cdsdisk    disk1        datadg        online
c2t1d0s2     auto:cdsdisk    disk1mirr    datadg        online

Last edited by reborg; 04-04-2007 at 05:26 PM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0