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

book

Article ID: 100003872

calendar_today

Updated On:

Description

Error Message

VxVM vxdisk ERROR V-5-1-16081  Device has a UFS FS on it

Cause

Vxdisksetup in version 5.1SP1 does an additional check  for possible UFS filesystems so as not to inadvertently destroy any UFS filesystem when reinitializing the disk. This would more commonly be associated with boot disks, but it is equally possible for UFS filesystems to be used with Volume Manager where the disk is not associated with booting of a system.

Resolution

There are two possible ways to solve the issue.

Use the undocumented '-r' option (introduced in SF  5.1SP1)

For sliced disk,
# /etc/vx/bin/vxdisksetup -ir   publen= privlen= puboffset= privoffset=   format=sliced 

or for cdsdisk (default)
# /etc/vx/bin/vxdisksetup -ir   publen= privlen= puboffset= privoffset=

Second option (not recommended as is can be destructive if not used with care)  is to remove the old partition with UFS filesystem, using 'dd' command and rescan the device tree..

# dd if=/dev/zero of=/dev/vx/rdmp/ bs=512 oseek=1 count=32 
# vxdctl enable

 


Applies To

Solaris installed with product version 5.1SP1

Issue/Introduction

vxdisksetup fails to initialize a device as sliced or cdsdisk

Additional Information

ETrack: 2146833