Sponsored Content
Operating Systems Solaris veritas volume in DETACH STATE Post 302486902 by upengan78 on Monday 10th of January 2011 04:43:31 PM
Old 01-10-2011
veritas volume in DETACH STATE

Hello,

recently some disks lost contact with solaris 10 system but the disks came back online on their own. I used "vxreattach disk" to attach them to dg and started raid 5 volume.

Voulme's kstate is Enabled however state is DETACH. It bothers me a lot.

In this state also I can mount the volume and perform rw operations on the mounted volume.

How can I take care of DETACH STATE for this volume ?

vxprint -htr
Code:
Disk group: myapp-dg

DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL
RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK
CO NAME         CACHEVOL     KSTATE   STATE
VT NAME         RVG          KSTATE   STATE    NVOLUME
V  NAME         RVG/VSET/CO  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
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE

dg myapp-dg    default      default  95000    1267475668.79.server

dm myapp-dg01  c1t2d0s2     auto     65536    143283520 SPARE
dm myapp-dg02  c1t3d0s2     auto     65536    143283520 -
dm myapp-dg03  c2t0d0s2     auto     65536    71061376 -
dm myapp-dg04  c2t1d0s2     auto     65536    71061376 -
dm myapp-dg05  c2t2d0s2     auto     65536    71061376 -
dm myapp-dg06  c2t8d0s2     auto     65536    71061376 -
dm myapp-dg07  c2t9d0s2     auto     65536    71061376 -
dm myapp-dg08  c2t10d0s2    auto     65536    71061376 -

v  myapp-vxvol -            ENABLED  DETACH   355305600 RAID     -        raid5
pl myapp-vxvol-01 myapp-vxvol ENABLED ACTIVE 355305600 RAID     6/32     RW
sd myapp-dg02-01 myapp-vxvol-01 myapp-dg02 0 71061120 0/0      c1t3d0   ENA
sd myapp-dg03-01 myapp-vxvol-01 myapp-dg03 0 71061120 1/0      c2t0d0   ENA
sd myapp-dg04-01 myapp-vxvol-01 myapp-dg04 0 71061120 2/0      c2t1d0   ENA
sd myapp-dg05-01 myapp-vxvol-01 myapp-dg05 0 71061120 3/0      c2t2d0   ENA
sd myapp-dg06-01 myapp-vxvol-01 myapp-dg06 0 71061120 4/0      c2t8d0   ENA
sd myapp-dg07-01 myapp-vxvol-01 myapp-dg07 0 71061120 5/0      c2t9d0   ENA
pl myapp-vxvol-03 myapp-vxvol ENABLED LOG    5760     CONCAT    -        RW
sd myapp-dg08-UR-001 myapp-vxvol-03 myapp-dg08 0 5760 0        c2t10d0  ENA

Can someone please help? Smilie

Thanks in advance.

Last edited by upengan78; 01-10-2011 at 06:05 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

veritas filesystem and volume manager

WHat is the difference between Veritas filesystem and veritas volume manager? Regards (2 Replies)
Discussion started by: knarayan
2 Replies

2. Filesystems, Disks and Memory

VEritas Volume Manager command

Hi, Somebody can help me to retrieve the command to use in Solaris 8 to display the space free on a Virtual disk created by VVM ? Thanks very much, Fabien Renaux (1 Reply)
Discussion started by: unclefab
1 Replies

3. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

4. UNIX for Advanced & Expert Users

Regarding Veritas Volume manager

hy guys I am new at this thread , i have installed sf 5.0 and wanted to encapsulate root disk but when i get to optionn to enter private region i get this error: Enter desired private region length (default: 65536) 512 VxVM ERROR V-5-2-338 The encapsulation operation failed with the... (2 Replies)
Discussion started by: charneet
2 Replies

5. Solaris

veritas volume manager links

Hi all, Anybody know the URLs of veritas volume manager disk problems,volume problems,root disk problems ...etc. Please share the URL's. i really appreciate for cooperation. regards krishna (4 Replies)
Discussion started by: murthy76
4 Replies

6. Solaris

Veritas volume manager in solaris.

Can you please let me know the certification code for veritas volume manager in solaris ? Thanks in advance. (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

7. Solaris

problem in volume resizing in veritas

Hi all i have a veritas volume with the size of 600MB and formatted with vxfs filesystem. I want to grow the filesystem to 700MB. I knew that three ways are there to resize. vxresize, vxvol and vxassit. vxresize works fine. I want to try the same thing with vxvol and vxassist. Can someone tell me... (4 Replies)
Discussion started by: kingston
4 Replies

8. Solaris

Veritas volume manager resize

Hiii, Can any one sugge me best practices for resizing a veritas voulume with vxfs file system? I tried doing this vxassist -g stg shrinkto stgvol 209715200 VxVM vxassist ERROR V-5-1-7236 Shrinking a FSGEN or RAID5 usage type volume can result in loss of data. It is recommended... (1 Reply)
Discussion started by: anwesh
1 Replies

9. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

10. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies
vxpfto(1M)																vxpfto(1M)

NAME
vxpfto - set Powerfail Timeout (pfto) SYNOPSIS
vxpfto -g diskgroup -t timeout vxpfto [-g diskgroup] -t timeout volume_list vxpfto [-g diskgroup] -o pftostate={enabled|disabled} vxpfto [-g diskgroup] -o pftostate={enabled|disabled} volume_list DESCRIPTION
Powerfail Timeout is an attribute of a SCSI disk connected to an HP-UX host (see the pfto(7) man page). The vxpfto command sets the Power- fail Timeout interval on a set of Volume Manager disks, either all disks in a disk group, or all disks underlying the volumes listed. The first form of the command sets the same PFTO value for all the disks in the specified VxVM diskgroup. In the second form, all disks underlying the given list of volumes are selected, optionally restricted by the disk group specified with the -g option. If you specify a diskgroup, any volume in the list not belonging to the diskgroup is ignored. Use the -o pftostate option to disable or enable PFTO. By default, PFTO is enabled. You can enable PFTO either on all disks in a disk group, or on all disks underlying the volumes listed. If you invoke vxpfto without arguments, it displays a usage message. OPTIONS
-g diskgroup Specifies the disk group for the operation, either by disk group ID or by disk group name. -o pftostate={enabled|disabled} Enables or disables the use of PFTO for IO. -t timeout Specifies the PFTO value in seconds. The value must be zero or a positive integer. Zero represents the system default PFTO value. The default value depends on the disk driver controlling the disk device. volume_list A list of VxVM volume names. List items must be separated by white-space. EXIT CODES
vxpfto returns a zero if successful. If it encounters an error, vxpfto exits and displays a message on standard error. Defined exit codes are: 0 Success. 1 No PFTO value specified. 2 No diskgroup or volume list specified. 3 Illegal PFTO value specified. EXAMPLES
Set the PFTO value on all disks in disk group testdg to 100 seconds: vxpfto -t 100 -g testdg Set the PFTO value to 50 seconds on all disks underlying volume01 and volume02 in disk group testdg: vxpfto -t 50 -g testdg volume01 volume02 Set the PFTO value to 300 seconds on all disks underlying volume01 and volume02, even though they are not in the same disk group: vxpfto -t 300 volume01 volume02 Disable PFTO on all disks in disk group testdg: vxpfto -g testdg -o pftostate=disabled Enable PFTO on all disks underlying volume01 and volume02i in disk group testdg: vxpfto -g testdg -o pftostate=enabled volume01 volume02 SEE ALSO
vxdisk(1M), pfto(7) VxVM 5.0.31.1 24 Mar 2008 vxpfto(1M)
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy