Platform: E420R, Solaris 8 (10/01), Veritas 3.0.2 Problem: Veritas volume won't mount, complains of "no such device", disk group doesn't show up (vxdg list). Fix: Vipin Sharma, Jesse Trucks and Ken Zachmann nailed this one: vxdctl enable vxvol -g troilusdg startall Thsn I had to fsck the volume to fix the file system state. All is well. I had mentioned that it complained about missing device /dev/vx/dsk/troilusdg, and then I showed that /dev/vx/rdsk/troilusdg existed. This was a brain f*rt, both devices were in fact present. This list is amazing! I learned more about Veritas in an hour than (obviously) my entire career! Other Suggestions: 1) Use 'vmsa' to see what's going on (I couldn't because the VxVM server wasn't started and it actually wouldn't start until I did the Fix above). 2) vxdg import <diskgroup> (couldn't import until Fix applied) 3) Do you see the disk group with 'vxdg list' or 'vxdisk -o alldgs list' No and Yes (lists deported volumes as well--but I couldn't import it) 4) Check your license with 'vxlicense -p' (it was fine) Helpful explanations: All the volume information is in associated diskgroup. So until that diskgroup is imported you will not see the volume and hence get error "no such device". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If this is an external disk array, make sure Solaris can see it in format. If not, correct your connection issue and do: drvconfig; disks; vxdctl enable If you can see it, try "vxdctl enable" first. This command forces Veritas VM to re-read the private region data on each disk and build the volume tables from that. Also, make sure you can see the disk group it is assigned to with: vxdg list If it does not show up, you may be missing some drives. If none of this works: Reboot the server if you can, and make sure everything loads on boot correctly. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If the disk group isn't showing up in vxdg list or vxprint, you need to import it (vxdg import troilusdg). Then you will need to start all of the volumes (vxvol -g troilusdg startall). Then you will be able to mount it. You're getting the new device because the volume isn't active/enabled. Why your disk group disappeared is a mystery you will have to investigate, but assuming that nothing it wrong with the system, the commands above will get you going again. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Thanks to: Steve Hammond Ravi Channavajhala Darren Dunham Thomas Knox Robert L. Harris Patel, Rahulkumar John Sellin Vipin Sharma Frank_DeMontier Ken Zachmann TRUCKS, JESSE Smith, Kevin C Steve Camp utkarsh joshi Changa Aanderson > > I'm just starting up the Veritas VM learning curve, any > help greatly appreciated. > > One of the Veritas (3.0.2) volumes on our E420R (Solaris 8) system > won't mount, complaining "no such device" even though it appears > to be there: > > $ mount /keck1e > mount: /dev/vx/dsk/troilusdg/vol01 no such device > > $ ls -al /dev/vx/rdsk/troilusdg > total 2 > drwxr-xr-x 2 root root 512 Feb 14 13:25 . > drwxr-xr-x 4 root root 512 Feb 14 13:19 .. > crw------- 1 root root 233, 80000 Feb 14 14:08 vol01 > > The disk group doesn't show up in vxprint: > > Disk group: rootdg > > TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 > dg rootdg rootdg - - - - - - > > dm disk01 c0t1d0s2 - 17678493 - - - - > dm rootdisk c0t0d0s2 - 17682083 - - - - > > sd rootdiskPriv - ENABLED 3590 - - - PRIVATE > > v rootvol root ENABLED 13484205 - ACTIVE - - > pl rootvol-01 rootvol ENABLED 13484205 - ACTIVE - - > sd rootdisk-B0 rootvol-01 ENABLED 1 0 - - Block0 > sd rootdisk-02 rootvol-01 ENABLED 13484204 1 - - - > pl rootvol-02 rootvol ENABLED 13484205 - ACTIVE - - > sd disk01-01 rootvol-02 ENABLED 13484205 0 - - - > > v swapvol swap ENABLED 4194288 - ACTIVE - - > pl swapvol-01 swapvol ENABLED 4194288 - ACTIVE - - > sd rootdisk-01 swapvol-01 ENABLED 4194288 0 - - - > pl swapvol-02 swapvol ENABLED 4194288 - ACTIVE - - > sd disk01-02 swapvol-02 ENABLED 4194288 0 - - - > > > If anyone could point me in the right direction on this > I'd greatly appreciate it. This is one of our primary NFS > servers and this volume decided to go down at a very bad > time (of course!). > > Dave > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > David Foster National Center for Microscopy and Imaging Research > Programmer/Analyst University of California, San Diego > dfoster@ucsd.edu Department of Neuroscience, Mail 0608 > (858) 534-7968 http://ncmir.ucsd.edu/ > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > "The reasonable man adapts himself to the world; the unreasonable one > persists in trying to adapt the world to himself. Therefore, all progress > depends on the unreasonable." -- George Bernard Shaw > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers << All opinions expressed are mine, not the University's >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= David Foster National Center for Microscopy and Imaging Research Programmer/Analyst University of California, San Diego dfoster@ucsd.edu Department of Neuroscience, Mail 0608 (858) 534-7968 http://ncmir.ucsd.edu/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable." -- George Bernard Shaw _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Mar 15 17:16:41 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:37 EST