Joel

Just an FYI - we need an empty DOS partition covering the whole disk -
we need at least something to edit.

# fdisk /dev/DISK
In the fdisk menu,  o  to create a new empty DOS partition table - then
n for new partition - start at cylinder 1 spanning whole disk - lave it
at default type - then write the table to disk.  You will get an ioctl
message - then since RHEL /Suse are not really dynamic 
# partprobe --rereadpt /dev/DISK
Then vxdisksetup etc should work.

Stuart

-----Original Message-----
From: veritas-vx-boun...@mailman.eng.auburn.edu
[mailto:veritas-vx-boun...@mailman.eng.auburn.edu] On Behalf Of joel
Sent: Saturday, 6 March 2010 6:39 AM
To: veritas-vx@mailman.eng.auburn.edu
Subject: [Veritas-vx] disk replacement problem

I have replaced disks many of times in the situation of veritas I am 
using but now I seem to have problems.  Went though the same steps as 
before running 'vxdiskadm' # 4 then 5.  I also have to tell the scsi bus

to remove the device and I reinsert it with:

echo "scsi remove-single-device 1 0 17 0" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 17 0" > /proc/scsi/scsi

So now I am at the point I have the new drive in, the OS can see it, I 
can run fdisk on it but I can't get veritas to see/initialize it:


Select a disk device to enable [<disk>,list,q,?] sdi

   VxVM vxdisk ERROR V-5-1-531 Device sdi: online failed:
        Disk is not usable


   This disk device does not appear to be valid.  The disk may not have
   a valid or usuable partition table, the special device file for the
   disk may be missing or invalid, or the device may be turned-off or
   detached from the system.  This disk will be ignored.
   Output format: [Device_Name,Disk_Access_Name]

   [sdi,sdi]

Any ideas?

Thanks

~joel
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to