Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Solaris Volume Manager Administration Guide
Previous Next

Removing a RAID-0 Volume

How to Remove a RAID-0 Volume

  1. Make sure that you have a current backup of all data and that you have root privilege.
  2. Make sure that you no longer need the volume.

    If you delete a stripe or concatenation and reuse the slices that were part of the deleted volume, all data on the volume is deleted from the system.

  3. Unmount the file system, if needed.
    # umount /filesystem
  4. To remove a volume, use one of the following methods:
    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. Choose Edit⇒Delete, then follow the onscreen instructions. For more information, see the online help.

    • Use the following format of the metaclear command to delete the volume:

      metaclear volume-name

      See the following example and the metaclear(1M) man page for more information.

Example 9-8 Removing a Concatenation
# umount d8
# metaclear d8
d8: Concat/Stripe is cleared
(Edit the /etc/vfstab file)

This example illustrates removing the concatenation, d8, that also contains a mounted file system. The file system must be unmounted before the volume can be removed. The system displays a confirmation message that the concatenation is removed. If an entry in the /etc/vfstab file exists for this volume, delete that entry. You do not want to confuse the system by asking it to mount a file system on a nonexistent volume.

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire