How do I remove logical volumes on hp-ux?



  • Removing a logical volume without the -f option will prompt for confirmation.

    # lvremove /dev/vg01/lvol1
    The logical volume "/dev/vg01/lvol1" is not empty;
    do you really want to delete the logical volume (y/n) : yes
    
    # lvremove -f /dev/vg01/lvol1
    Logical volume "/dev/vg01/lvol1" has been successfully removed.
    Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
    

Log in to reply
 

© Lightnetics 2024