Operating System - Linux
1753741 Members
3804 Online
108799 Solutions
New Discussion юеВ

VxVM disk recognition questions

 
David Nixon
Valued Contributor

VxVM disk recognition questions

I'm testing a Storage Foundation 4.1 (MP 4)
installation under RHEL4. Have an old, single port, CMD RAID box that appears to Linux as /dev/sda. The RAID has been labelled
with an empty partition table of type 'sun'.

Despite creating an entry for CMD in /etc/vx/jbod.info scanning for disks never
listed anything - neither the RAID or internal drives under /dev/cciss. Is this to be expected from DMP? In my experience of VxVM 3.5, under HP-UX, devices for all discs are automatically created under /dev/vx/dmp.

So then I added the CMD RAID as a foreign device: Device 'sda' is now listed by the 'vxdisk' command as "online invalid" and recorded in /etc/vx/darecs. But
when I try to add 'sda'; using 'vxdiskadd' it reports "No matching disks were returned". How can I get this
command, or 'vxdiskadm' for that matter, to recognise my foreign device?

3 REPLIES 3
skt_skt
Honored Contributor

Re: VxVM disk recognition questions

looks like the /dev/sda is not detected by the VxVM. did u do some thing similar tot pvcreate we do for LVM?
David Nixon
Valued Contributor

Re: VxVM disk recognition questions

The command to add a foreign device 'vxddladm'
is the equivalent of LVMs 'pvcreate'.
After this is run 'vxdisk' can list the device. These
commands are binaries and 'vxdiskadm'
is a shell script.

So I suspect this might be
a scripting issue.
David Nixon
Valued Contributor

Re: VxVM disk recognition questions

It was an installation issue. Due to 'preun' and 'postun' scriptlet errors the update of some Maintenance Pack 4 rpms had failed.
With a complete MP4 installation disc device discovery now works.