The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
( VxVM ) How to add the removed disk back to previous disk group waibabe SUN Solaris 1 04-18-2009 07:53 AM
Migrate VxVM boot disks to higher capacity disk incredible SUN Solaris 4 02-19-2009 08:40 AM
How to add disk into Striped Volume VxVM geoffry SUN Solaris 0 01-13-2008 10:43 PM
How to remove disk from mirror? Yac AIX 3 09-24-2007 02:40 PM
VxVM disk/lun grow pressy UNIX for Advanced & Expert Users 3 03-27-2006 04:39 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-01-2009
kamaldeep1986 kamaldeep1986 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 13
VXVM : How to Remove Disk?

Hi,

I don't need the data and the disks anymore on my Solaris10 Server. I am not able to remove disk through vxdiskadm. Please give me the exact method.

When I try to remove the disk, It gives below message:

# vxdiskadm

Select an operation to perform: 3

Remove a disk
Menu: VolumeManager/Disk/RemoveDisk
Use this operation to remove a disk from a disk group. This
operation takes, as input, a disk name. This is the same name
that you gave to the disk when you added the disk to the disk
group.
Enter disk name [<disk>,list,q,?] disk01
The following volumes currently use part of disk disk01:
datavol01 vol_p106 vol_p107
Volumes must be moved from disk01 before it can be removed.
Move volumes to other disks? [y,n,q,?] (default: n)


I don't want to move the volume to any other disk as I don't need it.

Thanks,
Kamal
  #2 (permalink)  
Old 07-02-2009
frozentin frozentin is offline
Registered User
  
 

Join Date: May 2008
Location: Vienna, VA + Bombay, India
Posts: 109
Are the volumes mounted?
You may need to unmount and then stop all volumes in this DG (if you don't want to stop all volumes, lookup vxvol manpage):
vxvol -g <dg-name> stopall

Then try removing the disk via vxdiskadm.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0