/dev/rdsk/c5t0d0s5 (/opt) gone after manual VxVM removal

From: NetComrade (netcomrade@bookexchange.net)
Date: Tue May 03 2005 - 15:42:08 EDT


All,

We had a test server running vxvm3.1, where we tried removing VxVM3.1,
together with dbed2.1. Can opt be recovered, and why was it lost?
Here are the steps taken:
a) /etc/system edited to take out all vxvm3.1
b) system rebooted, but VxVM license was missing
c) system rebooted off second disk (which had pre-vm disk config) (system
refused to boot from cdrom with MMU error)
d) /etc/vfstab overwritten with /etc/vfstat.prevm on original boot disk
e) system rebooted again with -s
f) all veritas pkgs removed
g) system rebooted

/dev/rdsk/c5t0d0s5: I/O error
Can't open /dev/rdsk/c5t0d0s5
/dev/rdsk/c5t0d0s5: CAN'T CHECK FILE SYSTEM.
/dev/rdsk/c5t0d0s5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

fsck fails

[root@v880]-> format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
Unable to open /dev/tty.

[root@v880]-> prtvtoc /dev/rdsk/c5t0d0s5
* /dev/rdsk/c5t0d0s5 partition map
*
* Dimensions:
* 512 bytes/sector
* 424 sectors/track
* 24 tracks/cylinder
* 10176 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 4019520 4290947776 4294967295
* 143349312 4155637504 4019519
* 12414720 79382976 91797695
* 99999552 43339584 143339135
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
       0 2 00 0 4019520 4019519 /
       1 7 00 4019520 8395200 12414719 /var
       2 5 00 0 143349312 143349311
       4 15 01 143339136 10176 143349311
       6 4 00 91797696 8201856 99999551 /usr
       7 14 01 0 143349312 143349311

this is the only thing I had saved:
[root@v880]-> cat rootdg.vxprint
dg rootdg default default 0 1112383996.1025.v880

dm rootdisk c5t0d0s2 sliced 10175 143339136 -

v opt - ENABLED ACTIVE 12292608 fsgen -
ROUND
pl opt-01 opt ENABLED ACTIVE 12292608 CONCAT -
RW
sd rootdisk-04 opt-01 rootdisk 79505087 12292608 0 c5t0d0
ENA

v rootdisk3vol - ENABLED ACTIVE 67090368 swap -
ROUND
pl rootdisk3vol-01 rootdisk3vol ENABLED ACTIVE 67090368 CONCAT -
RW
sd rootdisk-01 rootdisk3vol-01 rootdisk 12414719 67090368 0 c5t0d0
ENA

v rootvol - ENABLED ACTIVE 4019520 root -
ROUND
pl rootvol-01 rootvol ENABLED ACTIVE 4019520 CONCAT -
RW
sd rootdisk-B0 rootvol-01 rootdisk 143339135 1 0 c5t0d0
ENA
sd rootdisk-02 rootvol-01 rootdisk 0 4019519 1 c5t0d0
ENA

v usr - ENABLED ACTIVE 8201856 fsgen -
ROUND
pl usr-01 usr ENABLED ACTIVE 8201856 CONCAT -
RW
sd rootdisk-03 usr-01 rootdisk 91797695 8201856 0 c5t0d0
ENA

v var - ENABLED ACTIVE 8395200 fsgen -
ROUND
pl var-01 var ENABLED ACTIVE 8395200 CONCAT -
RW
sd rootdisk-05 var-01 rootdisk 4019519 8395200 0 c5t0d0
ENA
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:38 EDT