19 years ago
Unable to initialize disk using vxdisksetup
I'm in the middle of setting up Storage Foundation for Oracle RAC 5.0 on RHEL 4 Update 3. I have Sun StorEdge 6920 as the storage array. Here's wat happened:
- SFORAC documentation asked me to create the minimum possible LUN on the array for coordinator disks
- I created the smallest LUN (16 MB) on the array
- When trying to initialize it (using vxdisksetup -i Disk_0 format=cdsdisk) I got the error about disk being too small
- I extended the disk size on the array to 50 MB
- The servers still saw the coordinator disks (/dev/sda to /dev/sdc) of size 16 MB. Since I'm not well versed in Linux I rebooted both servers so they can see the new LUN size
Fdisk is able to view the new LUN size & manipulate it as well however vxdisksetup still would not allow me to initialize the disks. I've tried the following:
# fdisk /dev/sda
Chose o & then w
# vxdisksetup -i Disk_0 format=cdsdisk
VxVM vxdisk ERROR V-5-1-535 Device Disk_0: Invalid attributes
# vxdisksetup -i Disk_0 format=cdsdisk
VxVM vxdisksetup ERROR V-5-2-0 Disk is too small for supplied parameters
Then I zero filled the LUN:
# dd if=/dev/zero of=/dev/sda bs=1M
Repeated the steps above to get the same errors. I've also tried to use simple format but it doesnt work either. Have I missed out something or is it just that VxVM does not like volumes expanded by the array? Please help.
- SFORAC documentation asked me to create the minimum possible LUN on the array for coordinator disks
- I created the smallest LUN (16 MB) on the array
- When trying to initialize it (using vxdisksetup -i Disk_0 format=cdsdisk) I got the error about disk being too small
- I extended the disk size on the array to 50 MB
- The servers still saw the coordinator disks (/dev/sda to /dev/sdc) of size 16 MB. Since I'm not well versed in Linux I rebooted both servers so they can see the new LUN size
Fdisk is able to view the new LUN size & manipulate it as well however vxdisksetup still would not allow me to initialize the disks. I've tried the following:
# fdisk /dev/sda
Chose o & then w
# vxdisksetup -i Disk_0 format=cdsdisk
VxVM vxdisk ERROR V-5-1-535 Device Disk_0: Invalid attributes
# vxdisksetup -i Disk_0 format=cdsdisk
VxVM vxdisksetup ERROR V-5-2-0 Disk is too small for supplied parameters
Then I zero filled the LUN:
# dd if=/dev/zero of=/dev/sda bs=1M
Repeated the steps above to get the same errors. I've also tried to use simple format but it doesnt work either. Have I missed out something or is it just that VxVM does not like volumes expanded by the array? Please help.