cancel
Showing results for 
Search instead for 
Did you mean: 

VxVM 3.2 - Need Volume Clear Method

Phil_Forrest
Not applicable
Hey Guys,

I have Veritas 3.2 on Solaris Sparc. I had a disk crash and ended up moving affected home files to a different volume.

I replaced the disk and all volumes and plexes are back with the exception of the home1 volume:

v  home1        -            DISABLED ACTIVE   14680064 SELECT    -        fsgen
pl home1-01     home1        DISABLED RECOVER  14682624 STRIPE    2/128    RW
sd accting1-01-03 home1-01   accting-01 13636032 7341312 0/0      c0t4d0   ENA
sd accting1-02-03 home1-01   accting-02 13636032 7341312 1/0      c0t5d0   ENA
pl home1-02     home1        DISABLED STALE    14682624 STRIPE    2/128    RW
sd accting-03-02 home1-02    accting-03 3147360 7341312 0/0       c0t8d0   ENA
sd accting-04-02 home1-02    accting-04 3147360 7341312 1/0       c0t9d0   ENA
pl home1-03     home1        DISABLED RECOVER  LOGONLY  CONCAT    -        RW
sd accting-01-06 home1-03    accting-01 58006224 132    LOG       c0t4d0   ENA

I'd like to know how to tell veritas to just clear out the home1 volume and just forget about the data that is on there. I have good backups and just want to start over with the home1 volume.

If anyone has any syntax tips or URLs, I'd be most appreciative.

Thanks,
Phil
1 REPLY 1

sunshine_2
Level 4

here are the commands

 

# vxreattach          ( run this command only if the disks are in failed state.)

 

to recover the volumes

 

# vxmend -g <disk_group> -o force off <Plex_name>

 

# vxmend -g <disk_group> -on <Plex_name>

 

# vxmend -g <disk_group> fix clean <Plex_name>

 

# vxvol -g <disk_group> start <volume_name>