How to use vxdg reminor command

book

Article ID: 100024622

calendar_today

Updated On:

Description

Error Message

UX:vxfs mkfs: ERROR: V-3-21015: /dev/vx/rdsk/MSMSTRP2_dg/temp_dg06 is mounted, cannot mkfs
 

Cause

Duplicate minor number existed in the diskgroup.

Resolution

vxdg reminor command.

Usage: vxdg  [-g diskgroup] [-f] reminor [diskgroup] new-minor-number

for example:

bash-3.00# ls -il /dev/vx/dsk/testdg
total 0
    326401 brw-------   1 root     root     289, 1011 May 20 14:13 testvo01
    326409 brw-------   1 root     root     289, 1010 May 20 14:13 testvol01
    326411 brw-------   1 root     root     289, 1011 May 20 14:13 testvol02
bash-3.00# vxdg -g testdg reminor testdg 1000
bash-3.00# ls -il /dev/vx/dsk/testdg
total 0
    326401 brw-------   1 root     root     289, 1002 May 20 14:13 testvo01
    326409 brw-------   1 root     root     289, 1000 May 20 14:13 testvol01
    326411 brw-------   1 root     root     289, 1001 May 20 14:13 testvol02

 

 

Applies To

Solaris 9

5.1

8.0 for RHEL8

Issue/Introduction

After attempting to create a new filesystem on a diskgroup, an error was seen stating that the filesystem was already mounted. This was due to the volume having a duplicate minor number as the original volume in the diskgroup.