Vxmirror fails with error: VxVM vxdisk ERROR V-5-1-16081 Device has a UFS FS on it.

book

Article ID: 100024971

calendar_today

Updated On:

Description

Error Message

 Continue with operation? [y,n,q,?] (default: y)

VxVM vxmirror INFO V-5-2-22 Mirror volume swapvol ...
VxVM ERROR V-5-2-673 Mirroring of disk rootdisk failed.
Error:
VxVM vxdisk ERROR V-5-1-16081 Device has a UFS FS on it.
VxVM vxdg ERROR V-5-1-10127 associating disk-media mirrordisk with disk_0:
Disk private region contents are invalid
! vxassist -g rootdg mirror swapvol mirrordisk
VxVM vxassist ERROR V-5-1-325 dm:mirrordisk: No disks match specification
! vxbootsetup -g rootdg
VxVM vxmirror NOTICE V-5-2-3631 The following volumes were not mirrored:
swapvol rootvol var rootdg_17vol
 
Mirror volumes on a different disk? [y,n,q,?] (default: n)
 

Cause

Vxdisksetup in version 5.1SP1 does an additional check for possible UFS filesystems.

Resolution

There is an undocumented "-r" option in vxdisksetup that allows the disk to be initialized if a UFS file system is present on it. To initialize the rootmirror, add it to rootdg and mirror the rootdisk to rootmirror, run the following commands:


# vxdisksetup -ir disk_0 format=sliced noreserve

# vxdg -g rootdg adddisk mirrordisk=disk_0

# vxmirror -g rootdg rootdisk mirrordisk

or

vxdiskadm option 6 (Mirror volumes on a disk)


Issue/Introduction

Vxmirror of a rootdisk in Solaris 5.1SP1 fails with the following error: VxVM vxdisk ERROR V-5-1-16081 Device has a UFS FS on it