11-07-2010 11:51 PM
# vxdisk list | grep -i disk_1
Disk_1 auto:none - - online invalid
# vxdisk -e list | grep -i disk_1
Disk_1 auto - - online c1t2d0s2
# prtvtoc /dev/rdsk/c1t2d0s2
* /dev/rdsk/c1t2d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 848 sectors/track
* 24 tracks/cylinder
* 20352 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 286698624 286698623
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 286698624 286698623
not able to initialise the disk
giving following error
# vxdisksetup -i c1t2d0
VxVM vxdisksetup ERROR V-5-2-3535 c1t2d0s2: Invalid dmpnodename for disk device c1t2d0.
tried specifying the format as sliced also syill same error
Solved! Go to Solution.
11-08-2010 02:44 AM
you have to use Disk_1 instead of cxtxdx name..
# vxdisksetup -i Disk_1
Veritas understands Disk Access names i.e Disk_1 for c1t2d0s2
Gaurav
11-08-2010 02:44 AM
you have to use Disk_1 instead of cxtxdx name..
# vxdisksetup -i Disk_1
Veritas understands Disk Access names i.e Disk_1 for c1t2d0s2
Gaurav
11-08-2010 03:02 AM
thanx Gaurav resolved the issue
just curious;
how come its showing online in vxdisk -e list and online disabled in vxdisk list
11-08-2010 03:09 AM
did you offline the disk using vxdisk offline ? try out vxdisk online Disk_x ..
Gaurav
11-08-2010 03:47 AM
Assuming you're referring to the output from before you initialised the disk - the disk shows online in both vxdisk list and vxdisk -e list as this means VxVM can see the disk / has access to the disk.
The vxdisk list also shows an additional state of "invalid" meaning it was not a VxVM disk / had not been initialised by VxVM / did not have a VxVM private region. The vxdisk -e list does not have this additional status (presumably to save space, as it already has an additional column to display the OS path to the disk).
Once you have initialised the disk, vxdisk list should still show online, but will no longer show "invalid" as the disk has now been initialised / can be used by VxVM.
11-08-2010 05:21 AM
thanks alot glee and gaurav
online status in vxdisk -e list ===> checking of the disk in searching for particular disk IDs is enabled,it can be turned offline by the command that gaurav gave