Attempt to initialize disk fails with error message "VxVM vxdisk ERROR V-5-1-16081 Device has a UFS FS on it."

book

Article ID: 100024639

calendar_today

Updated On:

Resolution

Before proceeding the disk must be evaluated to determine if the existing data is needed or desired.  Confirmation that the disk's existing data can be removed is required before proceeding.

If existing data is confirmed as unnecessary then the following can be performed to enable disk initialization:

- Determine OS level path to work against
# vxdisk list | grep state


- Use DD to zero out the first 1000 blocks
# dd if=/dev/zero of=/dev/rdsk/s2 bs=512 count=1000
# sync


- Next use format to re-label the device
# format
format> label
Ready to label disk, continue? y

 

- Initialization will succeed at this point
# /etc/vx/bin/vxdisksetup -i

 


Example Execution:

- Identify paths to use

# vxdisk list ams_wms0_4 | grep state
c0t50060E80104EF3F1d0s2 state=enabled   type=primary
c0t50060E80104EF3F0d0s2 state=enabled   type=primary

- Use DD to remove the previous disk label and UFS signature

# dd if=/dev/zero of=/dev/rdsk/c0t50060E80104EF3F1d0s2 bs=512 count=1000
# sync


- Use format to relabel the disk

# format c0t50060E80104EF3F1d0
format> label
Ready to label disk, continue? y


- Complete disk initialization

# /etc/vx/bin/vxdisksetup -i ams_wms0_4

ams_wms0_4   auto:cdsdisk    -            -            online
 

 


Issue/Introduction

Storage Foundation 5.1 detects UFS  file system signature on disks before initialization and will abort initialization to preserve existing data.