# vxprint -vht Disk group: rootdg V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v local - ENABLED ACTIVE 4194304 SELECT - fsgen pl local-01 local ENABLED ACTIVE 4197879 CONCAT - RW sd disk01-01 local-01 disk01 0 4197879 0 c0t1d0 ENA v sundepot - ENABLED ACTIVE 25165824 SELECT - fsgen pl sundepot-01 sundepot ENABLED ACTIVE 25166862 CONCAT - RW sd disk02-01 sundepot-01 disk02 0 17690400 0 c0t4d0 ENA sd disk01-02 sundepot-01 disk01 4197879 7476462 17690400 c0t1d0 ENA Disk group: dvd V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v movies - ENABLED ACTIVE 284499968 SELECT - fsgen pl movies-01 movies ENABLED ACTIVE 284499968 CONCAT - RW sd dvd01-01 movies-01 dvd01 0 142249984 0 c1t1d0 ENA sd dvd02-01 movies-01 dvd02 0 142249984 142249984 c1t1d1 ENA v tivo - DISABLED ACTIVE 124473344 SELECT - fsgen pl tivo-01 tivo DISABLED RECOVER 124473344 CONCAT - RW sd dvd03-01 tivo-01 dvd03 0 124473344 0 c1t3d0 ENA # vxmend fix clean tivo-01 vxvm:vxmend: ERROR: Plex tivo-01 not in STALE state # vxmend on tivo-01 vxvm:vxmend: ERROR: Plex tivo-01 in volume tivo is not OFFLINE # vxreattach ksh: vxreattach: not found # vxrecover tivo # vxprint -vht Disk group: rootdg V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v local - ENABLED ACTIVE 4194304 SELECT - fsgen pl local-01 local ENABLED ACTIVE 4197879 CONCAT - RW sd disk01-01 local-01 disk01 0 4197879 0 c0t1d0 ENA v sundepot - ENABLED ACTIVE 25165824 SELECT - fsgen pl sundepot-01 sundepot ENABLED ACTIVE 25166862 CONCAT - RW sd disk02-01 sundepot-01 disk02 0 17690400 0 c0t4d0 ENA sd disk01-02 sundepot-01 disk01 4197879 7476462 17690400 c0t1d0 ENA Disk group: dvd V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v movies - ENABLED ACTIVE 284499968 SELECT - fsgen pl movies-01 movies ENABLED ACTIVE 284499968 CONCAT - RW sd dvd01-01 movies-01 dvd01 0 142249984 0 c1t1d0 ENA sd dvd02-01 movies-01 dvd02 0 142249984 142249984 c1t1d1 ENA v tivo - DISABLED ACTIVE 124473344 SELECT - fsgen pl tivo-01 tivo DISABLED RECOVER 124473344 CONCAT - RW sd dvd03-01 tivo-01 dvd03 0 124473344 0 c1t3d0 ENA # ps -ef | grep reco root 13656 11751 0 21:53:32 pts/1 0:00 grep reco # vxvol recover tivo vxvm:vxvol: INFO: fsgen/vxvol - Perform gen usage type volume operations vxvm:vxvol: INFO: Usage: fsgen/vxvol [-o useopt] [-t tasktag] [-ZUVfgRrm] keyword arg ... Recognized keywords: init what vol object ... rdpol policy vol [plex] set var=value ... vol ... start vol ... stop vol ... resync vol ... maint vol ... noderecover vol ... assoc [-m] rvg vol [primary_datavol] aslog rvg vol dis vol # vxvol -g dvd recover tivo vxvm:vxvol: INFO: fsgen/vxvol - Perform gen usage type volume operations vxvm:vxvol: INFO: Usage: fsgen/vxvol [-o useopt] [-t tasktag] [-ZUVfgRrm] keyword arg ... Recognized keywords: init what vol object ... rdpol policy vol [plex] set var=value ... vol ... start vol ... stop vol ... resync vol ... maint vol ... noderecover vol ... assoc [-m] rvg vol [primary_datavol] aslog rvg vol dis vol # vxplex enable tivo-01 vxvm:vxplex: INFO: vxplex - Perform Volume Manager plex operations vxvm:vxplex: INFO: Usage: vxplex [-g diskgroup] [-U usetype] [-o useopt] [-t taskgag] [-V] [-v vol] [-c checkpoint_version] [-s srcplex] keyword arg ... Recognized keywords: [-s srcplex] att vol plex1 plex2 ... det plex ... dis plex ... cp vol plex ... snapstart vol snapplex [-c checkpoint_version] snapshot snapplex newvol snapback origvol plex mv oldplex newplex # vxplex att tivo-01 vxvm:vxplex: ERROR: Incorrect usage vxvm:vxplex: TO FIX: Usage: vxplex [ -g diskgroup ] [-U usetype] [-o useopt] [-V] [-v vol] [-s srcplex] att vol plex1 plex2 ... # vxplex att tivo tivo-01 vxvm:vxplex: ERROR: Plex tivo-01, Volume tivo: Associated plex cannot be attached volume not enabled # vxvol start tivo vxvm:vxvol: ERROR: Volume tivo has no CLEAN or non-volatile ACTIVE plexes # vxvol -f start tivo # vxprint -vht Disk group: rootdg V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v local - ENABLED ACTIVE 4194304 SELECT - fsgen pl local-01 local ENABLED ACTIVE 4197879 CONCAT - RW sd disk01-01 local-01 disk01 0 4197879 0 c0t1d0 ENA v sundepot - ENABLED ACTIVE 25165824 SELECT - fsgen pl sundepot-01 sundepot ENABLED ACTIVE 25166862 CONCAT - RW sd disk02-01 sundepot-01 disk02 0 17690400 0 c0t4d0 ENA sd disk01-02 sundepot-01 disk01 4197879 7476462 17690400 c0t1d0 ENA Disk group: dvd V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE v movies - ENABLED ACTIVE 284499968 SELECT - fsgen pl movies-01 movies ENABLED ACTIVE 284499968 CONCAT - RW sd dvd01-01 movies-01 dvd01 0 142249984 0 c1t1d0 ENA sd dvd02-01 movies-01 dvd02 0 142249984 142249984 c1t1d1 ENA v tivo - ENABLED ACTIVE 124473344 SELECT - fsgen pl tivo-01 tivo ENABLED ACTIVE 124473344 CONCAT - RW sd dvd03-01 tivo-01 dvd03 0 124473344 0 c1t3d0 ENA # ls /export/tivo # fsck /dev/vx/rdsk/dvd/tivo ** /dev/vx/rdsk/dvd/tivo BAD SUPER BLOCK: MAGIC NUMBER WRONG USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; eg. fsck [-F ufs] -o b=# [special ...] where # is the alternate super block. SEE fsck_ufs(1M). # mount /dev/vx/rdsk/dvd/tivo mount: mount point cannot be determined # mount /dev/vx/rdsk/dvd/tivo /export/tivo mount: /dev/vx/rdsk/dvd/tivo not a block device # mount /dev/vx/dsk/dvd/tivo /export/tivo mount: /dev/vx/dsk/dvd/tivo is not this fstype. # mount -F vxfs /dev/vx/dsk/dvd/tivo /export/tivo vxfs mount: /dev/vx/dsk/dvd/tivo is corrupted. needs checking # fsck /dev/vx/rdsk/dvd/tivo ** /dev/vx/rdsk/dvd/tivo BAD SUPER BLOCK: MAGIC NUMBER WRONG USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; eg. fsck [-F ufs] -o b=# [special ...] where # is the alternate super block. SEE fsck_ufs(1M). # fsck -t vxfs /dev/vx/rdsk/dvd/tivo fsck: illegal option -- t Usage: fsck [-F FSType] [-V] [-m] [special ...] fsck [-F FSType] [-V] [-y|Y|n|N] [-o specific_options] [special ...] # fsck -F vxfs /dev/vx/rdsk/dvd/tivo log replay in progress replay complete - marking super-block as CLEAN # mount -F vxfs /dev/vx/dsk/dvd/tivo /export/tivo # ls /export/tivo Alias DesperateHousewives lost+found Rides AmericanMuscleCar DreamCarGarage NascarPerformance TwoGuysGarage CarAndDriver HorsePowerTV Other UltimateCars # dfspace / : Disk space : 1169 Mb of 1805 Mb available 63% /usr : Disk space : 417 Mb of 1491 Mb available 24% /proc : Disk space : 0 Mb of 0 Mb available 100% /var : Disk space : 198 Mb of 482 Mb available 34% /opt : Disk space : 1189 Mb of 2615 Mb available 44% /usr/local : Disk space : 462 Mb of 2048 Mb available 21% /export/dvd : Disk space : 9693 Mb of 138916 Mb available 6% /usr/local/sundepot : Disk space : 4180 Mb of 12288 Mb available 33% /cdrom/oracle8i : Disk space : 0 Mb of 427 Mb available 0% /var/opt/SUNWbb/root/proc : Disk space : 0 Mb of 0 Mb available 100% /var/opt/SUNWbb/root/tmp/SUNWut/sessions : Disk space : 2739 Mb of 2739 Mb available 99% /var/opt/SUNWbb/root/tmp/SUNWut/units : Disk space : 2739 Mb of 2739 Mb available 99% /export/tivo : Disk space : 7072 Mb of 60778 Mb available 11% # cd /export/tivo