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

From: NetComrade (netcomrade_at_bookexchange.net)
Date: 05/03/05

  • Next message: bbb bb: "[Q] ON-LINE replace T3 battary ??"
    Date: Tue, 3 May 2005 15:42:08 -0400 (EDT)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: bbb bb: "[Q] ON-LINE replace T3 battary ??"

    Relevant Pages

    • Re: SortMerge avoids thrashing (was: Baileys "two pass" FFT algorithm question)
      ... of size that match the backing store to assure locality of reference. ... For RAM backed by disk, the key thing which takes the most time is ... you need to localize sector reads within that one ... Sweeps your RAM once when you load original data from disk. ...
      (comp.programming)
    • Re: FUD about CGD and GBDE
      ... > a sector that has been rewritten. ... zone, otherwise it would expose the remaining sectors is the zone. ... contents and regular data written to the disk by the user. ... > possible to determine this fairly quickly using traffic analysis. ...
      (freebsd-hackers)
    • Re: Hard Drive Issues
      ... I'm assuming that particular sector on the drive is dying, ... Looks like you disk is on its way out, from the look of the above ... bsdlabel and newfs the new disk the way you want it. ... Ignore all the stuff above where it displays the partition information. ...
      (freebsd-questions)
    • Re: How to play an old floppy disk.
      ... Both were detected as double density with a sector size of 256 bytes ... that he had never seen a disk like this, 5.25 floppy, for a macintosh, ...   Should I look into that further? ... I can see the disc ...
      (comp.sys.ibm.pc.hardware.storage)
    • Re: LVM Submirror issue
      ... We mirror the root disk so the the partition table is built ... 24620 accessible cylinders ... Partition Tag Flags Sector Count Sector Mount Directory ...
      (comp.unix.solaris)