Forum Discussion
- Gaurav_SModeratormate,
you can't choose to use a PATH name in vxdisksetup command.... you need to choose Disk Access names to initialize the disk..... Disk Access names are displayed in first coulmn of "vxdisk list" output...
In vxdisksetup command, if you try to give a PATH name..... it won't accept it & will throw an error
if any path is active, vxdisksetup should succeed (only once labeled)
Gaurav - g_leeLevel 6Gaurav is correct - you can't pick/specify the path to use with vxdisksetup - use the DANAME as he's instructed above (once you've labelled the disks with format, obviously)
- stefanhanseLevel 3
OK next step after have had labeled all the needed LUNs I will start to initialise all the disks with "xvdisksetup -i cXtXdX format=sliced"
after that had been done vxdisk should list up also the latest initiliased 10 disks.
The last step would be "vxdg init <dg_name> <disk_name_n>=<device> plus next 9 disk_name_n+9=<device>
After this step the new dg should be useable for the application as expected. - stefanhanseLevel 3Hi folk,
I have detected a new problem while start to initialize the first disk, what should I do to fix this problem?
# /etc/vx/bin/vxdisksetup -i c3t5006016D3CE00BB6d196 format=sliced
prtvtoc: /dev/vx/rdmp/c3t5006016D3CE00BB6d196s2: No such file or directory
root@iusv095 # ls -lrt /dev/vx/rdmp | tail -10
crw------- 1 root root 311, 1786 Aug 31 11:44 c3t500601643CE00BB6d197
crw------- 1 root root 311, 1783 Aug 31 11:44 c3t500601643CE00BB6d196s7
crw------- 1 root root 311, 1782 Aug 31 11:44 c3t500601643CE00BB6d196s6
crw------- 1 root root 311, 1781 Aug 31 11:44 c3t500601643CE00BB6d196s5
crw------- 1 root root 311, 1780 Aug 31 11:44 c3t500601643CE00BB6d196s4
crw------- 1 root root 311, 1779 Aug 31 11:44 c3t500601643CE00BB6d196s3
crw------- 1 root root 311, 1778 Aug 31 11:44 c3t500601643CE00BB6d196s2
crw------- 1 root root 311, 1777 Aug 31 11:44 c3t500601643CE00BB6d196s1
crw------- 1 root root 311, 1776 Aug 31 11:44 c3t500601643CE00BB6d196s0
crw------- 1 root root 311, 1778 Aug 31 11:44 c3t500601643CE00BB6d196
root@iusv095 # prtvtoc /dev/rdsk/c3t5006016D3CE00BB6d196s2
* /dev/rdsk/c3t5006016D3CE00BB6d196s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 60 sectors/track
* 256 tracks/cylinder
* 15360 sectors/cylinder
* 61440 cylinders
* 61438 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 15360 15359
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 943687680 943687679
3 15 01 15360 15360 30719
4 14 01 30720 943656960 943687679
- Gaurav_SModerator
Is this a disk or a path name ? Also, put an s2 at the end...
# vxdisksetup -i c3t5006016D3CE00BB6d196s2
please paste below:
# vxdisk list | grep c3t5006016D3CE00BB6d196
Gaurav - stefanhanseLevel 3
It is a disk and the result of vxdisk list |grep c3t5006016D3CE00BB6d196 is empty ! - Gaurav_SModerator
ok, if above output is empty, that means its not a veritas disk, that might be a solaris disk name .... you need to find the corresponding veritas disk name for that..
# vxdisk -e list | grep c3t5006016D3CE00BB6d196
In above output first coulmn will show veritas disk name & last coulmn will show OS disk name... if you find the disk in last coulmn, use the corresponding veritas disk name from first coulmn..
Gaurav - stefanhanseLevel 3
Ok, the vxdisk -e list c3t5006016D3CE00BB6d196 is empty!
the only result with the d196 in his WWN is the following:
vxdisk -e list | grep c3t500601643CE00BB6d196s2
c3t500601643CE00BB6d196s2 auto - - error c3t500601643CE00BB6d196s2 -
What is needed to make all the new disk visible for veritas and not only for the OS? - Gaurav_SModeratordisk is there but since its in error state thats why u r unable to initialize it...
what does prtvtoc shows ? have you labelled this disk already ?
# prtvtoc /dev/rdsk/c3t500601643CE00BB6d196s2
# prtvtoc /dev/vx/rdmp/c3t500601643CE00BB6d196s2
# vxdisk list c3t500601643CE00BB6d196s2
do a vxdctl enable & try to rerun above commands
# vxdctl enable
Gaurav
- stefanhanseLevel 3
At last I got the veritas-device-list-update succesfully with the command "vxdisk scandisks" it takes about 10 minutes.
I solved the next setup steps without any problems.
Thanks for your help to all.
Related Content
- 13 years ago
- 11 months ago