cancel
Showing results for 
Search instead for 
Did you mean: 

vxdisksetup error

kapil_sharma
Level 2
Hi,
I am trying to initialise a disk, but getting the following error message:
VxVM vxparms ERROR V-5-1-6536 error reading partitions
VxVM vxdisksetup ERROR V-5-2-43 sdbd: Invalid disk device for vxdisksetup
I have checked the partitio table using fdisk and can't see any issue. I write the partition table again to the disk as well, but no luck with vxvm.
Can anyone suggest something?
 
output from fdisk:
fdisk -l /dev/sdbd
Disk /dev/sdbd: 36.2 GB, 36203397120 bytes
64 heads, 32 sectors/track, 34526 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
    Device Boot      Start         End      Blocks   Id  System
/dev/sdbd1               1       34526    35354608   83  Linux
 
5 REPLIES 5

Veritas_Veritas
Level 4
Hi kapil,
 
What is the command syntax you are using to initailize the disk ?
 
it should be /etc/vx/bin/vxdisksetup -i /dev/sdbd
 
regards,
Munish

ritesh_2
Level 2
Certified

Hi Kapil,

 

Any success?? I'm facing the same issue. Manish, I tried the way you menitioned but no luck Smiley Sad

 

Regards,

Ritesh

Message Edited by ritesh on 07-07-2008 03:52 PM

Solaris_Admin
Level 3

can you give me vxdisk -o alldgs list o/p

 

 

ritesh_2
Level 2
Certified

Hi,

 

Initially I was not able to view the disks on executing the "vxdisk list" command. After executing "vxdisk scandisks" command I got the disks listed. Now, I can initialize a disk using "vxdiskadm" but get error on using "vxdisksetup" command:

 

sdc          auto:cdsdisk    101          1            online   (initialized using vxdiskadm)

 

#  ./vxdisksetup -i /dev/sde
VxVM vxdisksetup ERROR V-5-2-1118 /dev/sde: Can not get disk information.

 

I am using VSM4.1, CentOS4.5 and OpenFiler.

 

Thanks for your time!!

 

Best Regards,

Ritesh

drosera
Level 2

I know this is an old thread, but if anyone has the problem in the future, just leave off the /dev part

 

[root@morningrise ~]# /etc/vx/bin/vxdisksetup -i /dev/sdb format=sliced
VxVM vxdisksetup ERROR V-5-2-1118 /dev/sdb: Can not get disk information.

 

[root@morningrise ~]# /etc/vx/bin/vxdisksetup -i sdb format=sliced

[root@morningrise ~]# vxdisk -o alldgs list|grep sdb
sdb          auto:sliced     -            -            online

 

As you can see it works great without the /dev