Re: fsck: ERROR: cannot open

From: Sankili Raju Kumar (gksankili@yahoo.co.in)
Date: Mon May 16 2005 - 07:33:17 EDT


 Hi Mark,

Thanks a lot for your help. Your solution gave me the idea to do it. I
made the plex active again by two commands :

vxmend fix stale apps1-01
vxmend fix active apps1-01

Then restarted my file server then the server was able to do fsck to both
volumes and fixed the errors and booted normally. Everything is working
fine.

Thanks
Raju

Mark Carroll wrote:

  First:

  Can you see the disks using format command in Solaris?
  I.E. Can you see c6t0d0 c6t0d1 ?

  If so then:
  use command "vxdctl enable"

  use command "ls -al /dev/vx/rdsk/arraydg/
  to see if the apps1 files are there

  use command " vxrecover -g arraydg -sb apps1 " << to try to recover
  volume

  Then do a vxprint to see the state of the plexs. It looks like your
  plexs are currently trying to recover.
  Eventually they will "fail" or complete a recover. Since they are 1
  sided volumes. I.E. you only have 1 plex I'm betting they will fail.

  Once the plexs fail you can try to fix them manually.

  using procedures below:

  vxmend off -g array1dg apps1-01

  vxmend -g arraydg off apps1-01

  vxmend -g arraydg on apps1-01

  vxmend -g arraydg fix clean apps1-01

  vxvol -g arraydg start apps1

  If all else fails you can manually rebuild the volumes using the
  commands in the attached text file. The file contains a vxprint
  output and the commands used to build each item in the Veritas
  database. Just pick all the commands to build 1 volume. They will
  rebuild the device files missing(if they are missing and it is not
  being caused by the O/S not seeing the disks with format.
  This is safe to do as long as you "MAKE SURE" you use the exact same
  order of the disks to build and the "EXACT" length in the commands.

  First you will have to use vxedit -g arraydg -rf rm app1 to remove
  the volume.
  MAKE SURE YOU HAVE A CURRENT PRINTOUT OF "vxprint -ht" BEFORE YOU
  REMOVE THE VOLUME.
  As long as you have a vxprint output you can rebuild the volumes with
  NO data loss. Veritas is very forgiving as long as you
  don't use the "-f" option to force a mount or force it to "fix"
  something.

  once the device files are rebuilt you should be able to use "fsck -F
  vxfs /dev/vx/rdsk/arraydg/apps1"

  Raju wrote:

    Hi Mark Output of "vxprint -ht" .................... # vxprint
    -htDisk group: rootdg DG NAME NCONFIG NLOG
    MINORS GROUP-IDDM NAME DEVICE TYPE PRIVLEN
    PUBLEN STATERV NAME RLINK_CNT KSTATE STATE
    PRIMARY DATAVOLS SRLRL NAME RVG KSTATE
    STATE REM_HOST REM_DG REM_RLNKV NAME RVG
    KSTATE STATE LENGTH READPOL PREFPLEX UTYPEPL
    NAME VOLUME KSTATE STATE LENGTH LAYOUT
    NCOL/WID MODESD NAME PLEX DISK DISKOFFS
    LENGTH [COL/]OFF DEVICE MODESV NAME PLEX
    VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODEDC NAME
    PARENTVOL LOGVOLSP NAME SNAPVOL DCO dg
    rootdg default default 0 1085018576.1025.desh
    dm disk07 c6t0d6s2 sliced 4095 38402048 - Disk
    group: array1dg DG NAME NCONFIG NLOG MINORS
    GROUP-IDDM NAME DEVICE TYPE PRIVLEN PUBLEN
    STATERV NAME RLINK_CNT KSTATE STATE PRIMARY
    DATAVOLS SRLRL NAME RVG KSTATE STATE
    REM_HOST REM_DG REM_RLNKV NAME RVG KSTATE
    STATE LENGTH READPOL PREFPLEX UTYPEPL NAME
    VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODESD
    NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF
    DEVICE MODESV NAME PLEX VOLNAME NVOLLAYR
    LENGTH [COL/]OFF AM/NM MODEDC NAME PARENTVOL
    LOGVOLSP NAME SNAPVOL DCO dg array1dg
    default default 42000 1085021030.1154.desh dm
    array1dg00 c6t0d8s2 sliced 3839 112629760 -dm
    array1dg01 c6t0d0s2 sliced 4095 112629760 -dm
    array1dg02 c6t0d10s2 sliced 4095 112629760 -dm
    array1dg03 c6t0d11s2 sliced 4095 120832000 -dm
    array1dg04 c6t0d1s2 sliced 4095 112629760 -dm
    array1dg05 c6t0d2s2 sliced 4095 112629760 -dm
    array1dg06 c6t0d3s2 sliced 4095 112629760 -dm
    array1dg07 c6t0d4s2 sliced 4095 112629760 -dm
    array1dg08 c6t0d5s2 sliced 4095 112629760 -dm
    array1dg09 c6t0d7s2 sliced 4095 112629760 -dm
    array1dg10 c6t0d9s2 sliced 4095 112629760 - v
    apps1 - DISABLED ACTIVE 225259520 SELECT
    - fsgenpl apps1-01 apps1 DISABLED RECOVER
    225259520 CONCAT - RWsd array1dg01-01 apps1-01
    array1dg01 0 112629760 0 c6t0d0 ENAsd array1dg04-01
    apps1-01 array1dg04 0 112629760 112629760 c6t0d1 ENA v
    proj1 - DISABLED ACTIVE 901038080 SELECT
    - fsgenpl proj1-01 proj1 DISABLED RECOVER
    901038080 CONCAT - RWsd array1dg05-01 proj1-01
    array1dg05 0 112629760 0 c6t0d2 ENAsd array1dg06-01
    proj1-01 array1dg06 0 112629760 112629760 c6t0d3 ENAsd
    array1dg07-01 proj1-01 array1dg07 0 112629760 225259520
    c6t0d4 ENAsd array1dg08-01 proj1-01 array1dg08 0
    112629760 337889280 c6t0d5 ENAsd array1dg09-01 proj1-01
    array1dg09 0 112629760 450519040 c6t0d7 ENAsd array1dg00-01
    proj1-01 array1dg00 0 112629760 563148800 c6t0d8 ENAsd
    array1dg10-01 proj1-01 array1dg10 0 112629760 675778560
    c6t0d9 ENAsd array1dg02-01 proj1-01 array1dg02 0
    112629760 788408320 c6t0d10 ENA
    ThanksRaju Mark Carroll <mcarroll@iglou.com> wrote:

      post a "vxprint -ht" output.

      Raju wrote:

>When I booted my sun server I got the follwing error
>
>vxvm: Volume apps1 for mountpoint /array1/apps1 is not in
      rootdg disk group;
> Cannot start the volume early
>vxvm: Volume proj1 for mountpoint /array1/proj1 is not in
      rootdg disk group;
> Cannot start the volume early
>VxVM general startup...
>The system is coming up. Please wait.
>checking vxfs filesystems
>Running parallel replay fsck ...
>UX:vxfs fsck: ERROR: /dev/vx/rdsk/array1dg/proj1:Cannot open
      /dev/vx/rdsk/array1dg/proj1: No such device or address
>/dev/vx/rdsk/array1dg/proj1:file system check failure,
      aborting ...
>UX:vxfs fsck: ERROR: /dev/vx/rdsk/array1dg/apps1:Cannot open
      /dev/vx/rdsk/array1dg/apps1: No such device or address
>/dev/vx/rdsk/array1dg/apps1:file system check failure,
      aborting ...
>
>The following filesystems could not be repaired :
>/dev/vx/rdsk/array1dg/apps1
>/dev/vx/rdsk/array1dg/proj1
>
>WARNING - Unable to repair one or more filesystems.
>Run fsck manually (fsck filesystem...).
>Exit the shell when done to continue the boot process.
>
>Type control-d to proceed with normal startup,
>
>(or give root password for system maintenance):
>
>single-user privilege assigned to /dev/console.
>
>Entering System Maintenance Mode
>
>When I did fsck manually I got the error
>
># fsck /dev/vx/rdsk/array1dg/apps1
>UX:vxfs fsck: ERROR: Cannot open
      /dev/vx/rdsk/array1dg/apps1: No such device or
>address
>file system check failure, aborting ...
># fsck /dev/vx/rdsk/array1dg/proj1
>UX:vxfs fsck: ERROR: Cannot open
      /dev/vx/rdsk/array1dg/proj1: No such device or
>address
>file system check failure, aborting ...
># fsck -o p /dev/vx/rdsk/array1dg/apps1
>UX:vxfs fsck: ERROR: /dev/vx/rdsk/array1dg/apps1:Cannot open
      /dev/vx/rdsk/array1
>dg/apps1: No such device or address
>/dev/vx/rdsk/array1dg/apps1:file system check failure,
      aborting ...
>
>any help will be gratefull
>
>Thanks
>Raju
>
>Yahoo! India Matrimony: Find your life partneronline.
>_______________________________________________
>sunmanagers mailing list
>sunmanagers@sunmanagers.org
>http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
>
>

    Yahoo! India Matrimony : Find your life partner online .

  --------------------------------------------------------------------

  Disk group: rootdg
  
  DG NAME NCONFIG NLOG MINORS GROUP-ID
  DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
  V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
  PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
  SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
  
  dg rootdg default default 0 962219872.1025.bohr
  
  dm disk01 c0t1d0s2 sliced 3590 17678493 -
  dm rootdisk c0t0d0s2 sliced 3590 17682083 -
  
  sd rootdiskPriv - rootdisk 13588344 3590 PRIVATE c0t0d0 ENA
  
  v rootvol root ENABLED ACTIVE 13588344 ROUND -
  pl rootvol-01 rootvol ENABLED ACTIVE 13588344 CONCAT - RW
  sd rootdisk-B0 rootvol-01 rootdisk 13588343 1 0 c0t0d0 ENA
  sd rootdisk-02 rootvol-01 rootdisk 0 13588343 1 c0t0d0 ENA
  pl rootvol-02 rootvol ENABLED ACTIVE 13588344 CONCAT - RW
  sd disk01-01 rootvol-02 disk01 0 13588344 0 c0t1d0 ENA
  
  v swapvol swap ENABLED ACTIVE 4090149 ROUND -
  pl swapvol-01 swapvol ENABLED ACTIVE 4090149 CONCAT - RW
  sd rootdisk-01 swapvol-01 rootdisk 13591934 4090149 0 c0t0d0 ENA
  pl swapvol-02 swapvol ENABLED ACTIVE 4090149 CONCAT - RW
  sd disk01-02 swapvol-02 disk01 13588344 4090149 0 c0t1d0 ENA
  
  Disk group: datadg
  
  DG NAME NCONFIG NLOG MINORS GROUP-ID
  DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
  V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
  PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
  SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
  
  dg datadg default default 76000 955728367.1329.valence
  
  dm datadg01 c1t20d133s2 sliced 1919 17673600 -
  dm datadg02 c1t20d142s2 sliced 1919 17673600 -
  dm datadg03 c1t20d143s2 sliced 1919 17673600 -
  dm datadg04 c1t20d134s2 sliced 1919 17673600 -
  dm datadg05 c1t20d135s2 sliced 1919 17673600 -
  dm datadg06 c1t20d136s2 sliced 1919 17673600 -
  dm datadg07 c1t20d137s2 sliced 1919 17673600 -
  dm datadg08 c1t20d138s2 sliced 1919 17673600 -
  dm datadg09 c1t20d139s2 sliced 1919 17673600 -
  dm datadg10 c1t20d141s2 sliced 1919 17673600 -
  dm datadg11 c1t20d144s2 sliced 1919 17673600 -
  dm datadg12 c1t20d145s2 sliced 1919 17673600 -
  dm datadg13 c1t20d146s2 sliced 1919 17673600 -
  dm datadg14 c1t20d147s2 sliced 1919 17673600 -
  dm datadg15 c1t20d148s2 sliced 1919 17673600 -
  dm datadg16 c1t20d149s2 sliced 1919 17673600 -
  dm datadg17 c1t20d150s2 sliced 1919 17673600 -
  dm datadg18 c1t20d151s2 sliced 1919 17673600 -
  dm datadg19 c1t20d152s2 sliced 1919 17673600 -
  dm datadg20 c1t20d153s2 sliced 1919 17673600 -
  dm datadg21 c1t20d154s2 sliced 1919 17673600 -
  dm datadg22 c1t20d155s2 sliced 1919 17673600 -
  dm datadg23 c1t20d140s2 sliced 1919 17673600 -
  
  v u01 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl u01-01 u01 ENABLED ACTIVE 17672640 CONCAT - RW
  sd datadg01-01 u01-01 datadg01 0 17672640 0 c1t20d133 ENA
  
  v u02 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u02-01 u02 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg02-01 u02-01 datadg02 0 17673600 0 c1t20d142 ENA
  sd datadg03-01 u02-01 datadg03 0 17673600 17673600 c1t20d143 ENA
  
  v u03 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u03-01 u03 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg04-01 u03-01 datadg04 0 17673600 0 c1t20d134 ENA
  sd datadg05-01 u03-01 datadg05 0 17673600 17673600 c1t20d135 ENA
  
  v u04 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u04-01 u04 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg06-01 u04-01 datadg06 0 17673600 0 c1t20d136 ENA
  sd datadg07-01 u04-01 datadg07 0 17673600 17673600 c1t20d137 ENA
  
  v u05 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u05-01 u05 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg08-01 u05-01 datadg08 0 17673600 0 c1t20d138 ENA
  sd datadg09-01 u05-01 datadg09 0 17673600 17673600 c1t20d139 ENA
  
  v u06 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u06-01 u06 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg10-01 u06-01 datadg10 0 17673600 0 c1t20d141 ENA
  sd datadg11-01 u06-01 datadg11 0 17673600 17673600 c1t20d144 ENA
  
  v u07 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u07-01 u07 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg12-01 u07-01 datadg12 0 17673600 0 c1t20d145 ENA
  sd datadg13-01 u07-01 datadg13 0 17673600 17673600 c1t20d146 ENA
  
  v u08 fsgen ENABLED ACTIVE 35346432 SELECT -
  pl u08-01 u08 ENABLED ACTIVE 35347200 CONCAT - RW
  sd datadg14-01 u08-01 datadg14 0 17673600 0 c1t20d147 ENA
  sd datadg15-01 u08-01 datadg15 0 17673600 17673600 c1t20d148 ENA
  
  v u09 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl u09-01 u09 ENABLED ACTIVE 17672640 CONCAT - RW
  sd datadg16-01 u09-01 datadg16 0 17672640 0 c1t20d149 ENA
  
  v u10 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl u10-01 u10 ENABLED ACTIVE 17672640 CONCAT - RW
  sd datadg17-01 u10-01 datadg17 0 17672640 0 c1t20d150 ENA
  
  v u11 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl u11-01 u11 ENABLED ACTIVE 17672640 CONCAT - RW
  sd datadg18-01 u11-01 datadg18 0 17672640 0 c1t20d151 ENA
  
  v u12 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl u12-01 u12 ENABLED ACTIVE 17672640 CONCAT - RW
  sd datadg19-01 u12-01 datadg19 0 17672640 0 c1t20d152 ENA
  
  v u90 fsgen ENABLED ACTIVE 53020672 SELECT -
  pl u90-01 u90 ENABLED ACTIVE 53020800 CONCAT - RW
  sd datadg20-01 u90-01 datadg20 0 17673600 0 c1t20d153 ENA
  sd datadg21-01 u90-01 datadg21 0 17673600 17673600 c1t20d154 ENA
  sd datadg22-01 u90-01 datadg22 0 17673600 35347200 c1t20d155 ENA
  
  Disk group: localdg
  
  DG NAME NCONFIG NLOG MINORS GROUP-ID
  DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
  V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
  PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
  SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
  
  dg localdg default default 44000 963506630.1538.bohr
  
  dm localdg01 c1t20d128s2 sliced 1919 17673600 -
  dm localdg02 c1t20d131s2 sliced 1919 17673600 -
  
  v bgs fsgen ENABLED ACTIVE 614400 SELECT -
  pl bgs-01 bgs ENABLED ACTIVE 614400 CONCAT - RW
  sd localdg02-02 bgs-01 localdg02 307200 614400 0 c1t20d131 ENA
  
  v localu01 fsgen ENABLED ACTIVE 17672192 SELECT -
  pl localu01-01 localu01 ENABLED ACTIVE 17672640 CONCAT - RW
  sd localdg01-01 localu01-01 localdg01 0 17672640 0 c1t20d128 ENA
  
  v tivoli fsgen ENABLED ACTIVE 307200 SELECT -
  pl tivoli-01 tivoli ENABLED ACTIVE 307200 CONCAT - RW
  sd localdg02-01 tivoli-01 localdg02 0 307200 0 c1t20d131 ENA

  Commands below recreate the volumes from the vxprint output above.

  VERITAS Software
  Technical Support
  800-342-0652

  vxdg init datadg datadg01=c1t20d128s2
  vxdg -g datadg adddisk datadg02=c1t20d129s2
  vxdg -g datadg adddisk datadg03=c1t20d130s2
  vxdg -g datadg adddisk datadg04=c1t20d131s2
  vxdg -g datadg adddisk datadg05=c1t20d132s2
  vxdg -g datadg adddisk datadg06=c1t20d133s2
  vxdg -g datadg adddisk datadg07=c1t20d134s2
  vxdg -g datadg adddisk datadg08=c1t20d135s2
  vxdg -g datadg adddisk datadg09=c1t20d136s2
  vxdg -g datadg adddisk datadg10=c1t20d137s2
  vxdg -g datadg adddisk datadg11=c1t20d138s2
  vxdg -g datadg adddisk datadg12=c1t20d139s2
  vxdg -g datadg adddisk datadg13=c1t20d140s2
  vxdg -g datadg adddisk datadg14=c1t20d141s2
  vxdg -g datadg adddisk datadg15=c1t20d142s2
  vxdg -g datadg adddisk datadg16=c1t20d143s2
  vxdg -g datadg adddisk datadg17=c1t20d144s2
  vxdg -g datadg adddisk datadg18=c1t20d145s2
  vxdg -g datadg adddisk datadg19=c1t20d146s2
  vxdg -g datadg adddisk datadg20=c1t20d147s2
  vxdg -g datadg adddisk datadg21=c1t20d148s2
  vxdg -g datadg adddisk datadg22=c1t20d149s2
  vxdg -g datadg adddisk datadg23=c1t20d150s2

  vxmake -g datadg sd datadg01-01 disk=datadg01 offset=0 len=17672640
  vxmake -g datadg sd datadg02-01 disk=datadg02 offset=0 len=17673600
  vxmake -g datadg sd datadg03-01 disk=datadg03 offset=0 len=17673600
  vxmake -g datadg sd datadg04-01 disk=datadg04 offset=0 len=17673600
  vxmake -g datadg sd datadg05-01 disk=datadg05 offset=0 len=17673600
  vxmake -g datadg sd datadg06-01 disk=datadg06 offset=0 len=17673600
  vxmake -g datadg sd datadg07-01 disk=datadg07 offset=0 len=17673600
  vxmake -g datadg sd datadg08-01 disk=datadg08 offset=0 len=17673600
  vxmake -g datadg sd datadg09-01 disk=datadg09 offset=0 len=17673600
  vxmake -g datadg sd datadg10-01 disk=datadg10 offset=0 len=17673600
  vxmake -g datadg sd datadg11-01 disk=datadg11 offset=0 len=17673600
  vxmake -g datadg sd datadg12-01 disk=datadg12 offset=0 len=17673600
  vxmake -g datadg sd datadg13-01 disk=datadg13 offset=0 len=17673600
  vxmake -g datadg sd datadg14-01 disk=datadg14 offset=0 len=17673600
  vxmake -g datadg sd datadg15-01 disk=datadg15 offset=0 len=17673600
  vxmake -g datadg sd datadg16-01 disk=datadg16 offset=0 len=17672640
  vxmake -g datadg sd datadg17-01 disk=datadg17 offset=0 len=17672640
  vxmake -g datadg sd datadg18-01 disk=datadg18 offset=0 len=17672640
  vxmake -g datadg sd datadg19-01 disk=datadg19 offset=0 len=17672640
  vxmake -g datadg sd datadg20-01 disk=datadg20 offset=0 len=17673600
  vxmake -g datadg sd datadg21-01 disk=datadg21 offset=0 len=17673600
  vxmake -g datadg sd datadg22-01 disk=datadg22 offset=0 len=17673600
  
  vxmake -g datadg plex u01-01 layout=concat sd=datadg01-01
  vxmake -g datadg plex u02-01 layout=concat sd=datadg02-01,datadg03-01
  vxmake -g datadg plex u03-01 layout=concat sd=datadg04-01,datadg05-01
  vxmake -g datadg plex u04-01 layout=concat sd=datadg06-01,datadg07-01
  vxmake -g datadg plex u05-01 layout=concat sd=datadg08-01,datadg09-01
  vxmake -g datadg plex u06-01 layout=concat sd=datadg10-01,datadg11-01
  vxmake -g datadg plex u07-01 layout=concat sd=datadg12-01,datadg13-01
  vxmake -g datadg plex u08-01 layout=concat sd=datadg14-01,datadg15-01
  vxmake -g datadg plex u09-01 layout=concat sd=datadg16-01
  vxmake -g datadg plex u10-01 layout=concat sd=datadg17-01
  vxmake -g datadg plex u11-01 layout=concat sd=datadg18-01
  vxmake -g datadg plex u12-01 layout=concat sd=datadg19-01
  vxmake -g datadg plex u90-01 layout=concat sd=datadg20-01,datadg21-01,datadg22-01
  
  vxmake -g datadg -U fsgen vol u01 plex=u01-01 len=17672192
  vxmake -g datadg -U fsgen vol u02 plex=u02-01 len=35346432
  vxmake -g datadg -U fsgen vol u03 plex=u03-01 len=35346432
  vxmake -g datadg -U fsgen vol u04 plex=u04-01 len=35346432
  vxmake -g datadg -U fsgen vol u05 plex=u05-01 len=35346432
  vxmake -g datadg -U fsgen vol u06 plex=u06-01 len=35346432
  vxmake -g datadg -U fsgen vol u07 plex=u07-01 len=35346432
  vxmake -g datadg -U fsgen vol u08 plex=u08-01 len=35346432
  vxmake -g datadg -U fsgen vol u09 plex=u09-01 len=17672192
  vxmake -g datadg -U fsgen vol u10 plex=u10-01 len=17672192
  vxmake -g datadg -U fsgen vol u11 plex=u11-01 len=17672192
  vxmake -g datadg -U fsgen vol u12 plex=u12-01 len=17672192
  vxmake -g datadg -U fsgen vol u90 plex=u90-01 len=53020672

  *******
  
  to remove mistakes use command below to remove and correct mistake to plex u06-01

  vxedit -g datadg -rf rm u06-01
  # vxmake -g datadg sd datadg10-01 disk=datadg10 offset=0 len=17673600
  # vxmake -g datadg sd datadg11-01 disk=datadg11 offset=0 len=17673600
  # vxmake -g datadg plex u06-01 layout=concat sd=datadg10-01,datadg11-01
  vxvol -g datadg startall
  vxprint
  vxprint -ht
  ******
  #To start volumes one at a time
  
  vxmend -gdatadg off u01-01
  sleep 1
  vxmend -gdatadg on u01-01
  sleep 1
  vxmend -g datadg fix clean u01-01
  sleep 1
  vxvol -g datadg start u01
  sleep 1
  fsck -F vxfs /dev/vx/rdsk/datadg/u01
  mount -F vxfs /dev/vx/dsk/datadg/u01 /u01
  
  ##### SAve printout from below to preserve a file that can be used to restore entire configuration without going through manual
  vxprint -m
  vxprint -hmvpsQq

-- 
G.K. SankiliRajuKumar
DreamQuest Infotech Pvt. Ltd.
G1, Tawakkal Court,
#38, Davis Road, Cooke Town,
Bangalore - 560 005.
Phone : 080-30622738 / 080-30622739 / 080-30624032 / 080-51338523
Fax : 080-25490005 / 080-51121035
Mobile : 0-9344100746
Website : www.dreamqi.com
_______________________________________________
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:42 EDT