Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrades.
Please accept our apologies in advance for any inconvenience this might cause.

How to removing a disk from a volume

Created: 08 Oct 2012 • Updated: 11 Nov 2013 | 3 comments
YC's picture
This issue has been solved. See solution.

Hi,

I used vxdg to remove a disk from a disk group using vxdg but failed, any advice is appreciated:

# vxdg -g lmsora-dg rmdisk lmsora-dg02a
VxVM vxdg ERROR V-5-1-552 Disk lmsora-dg02a is used by one or more subdisks.
        Use -k to remove device assignment.

 

Thanks in advance.

Comments 3 CommentsJump to latest comment

Marianne's picture

Disk lmsora-dg02a is used by one or more subdisks.

Please show us output of 'vxprint -g lmsora-dg -htr'

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

YC's picture

Hi,

I managed to remove the disk by deport / import the disk group.

Thanks.

TonyGriffiths's picture

Hi

Two things to note:

1) The original error message was due to the disk (that you want to remove) having subdisks on it. This typically means that there is a volume with data on that disk. You will have to remove the subdisk for the command to proceed.

2) Deporting and importing a disk group will not remove a disk from a diskgroup. The diskgroup may still reference the disk.

hope this helps

cheers

tony

SOLUTION