Pages

Tuesday, June 25, 2013

VxVM vxdisksetup ERROR V-5-2-5716 Disk c1t1d0 is in use by ZFS.

Haha, this is a stupid one since the error message contains the solutions already.
If you ever want/need to reuse a disk that was used bei ZFS prior as a disk for VxVM then you might encounter the following error:

# vxdisksetup -i c1t1d0
VxVM vxdisksetup ERROR V-5-2-5716 Disk c1t1d0 is in use by ZFS. Slice(s) 0 are in use as ZFS zpool (or former) devices.
If you still want to initialize this device for VxVM use, please destroy the zpool by running 'zpool' command if it is still active, and then remove the ZFS signature from each of these slice(s) as follows:
    dd if=/dev/zero of=/dev/vx/rdmp/c1t1d0s[n] oseek=31 bs=512 count=1
    [n] is the slice number.


Monday, June 24, 2013

VxVM vxvol ERROR V-5-1-607 Diskgroup oracledg not found

Last night a customer had a blackout in his small datacenter. Luckily all machines came up again without any problem. The only problem he figured was his veritas environment. Volumes seemed to be mounted without content, disk groups could not be found etc.

The first thing I deceided to do was to unmount all volumes. First I listed all volumes in the Oracle disk group: 

Saturday, June 1, 2013

Convert bin/cue into iso

If you ever need to convert a cue/bin image into an iso image then bchunk might be the right software to use. First get the source by running wget:

# cd /usr/src
# wget -c "http://he.fi/bchunk/bchunk-1.2.0.tar.gz"


Then extract the source package and change into the source directory: