|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
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 |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Thanks for trying - its not working though.
|
|
#4
|
||||
|
||||
|
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.. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Veritas not attaching replaced disk | masloff | Solaris | 1 | 03-04-2011 04:50 AM |
| Configure disk group with veritas | enkei17 | UNIX for Dummies Questions & Answers | 0 | 03-02-2011 02:26 PM |
| Remove internal disk from Veritas Control | BobSmith | AIX | 2 | 08-25-2010 10:17 PM |
| Veritas root disk mirroring | Jartan | Solaris | 10 | 12-12-2006 05:46 PM |
| FSCK on veritas managed disk | ozzmosiz | Filesystems, Disks and Memory | 2 | 02-07-2005 11:59 PM |
|
|