From Wiki-UX.info

Wiki-UX / File Systems / How to remove an EVFS file system
Jump to: navigation, search

How to remove an EVFS file system

Abstract

This article shows an example of the procedure to remove (deconfigure) EVFS out of a volume and remove it from the EVFS subsystem.

Contents


Procedure

1. Check the current EVS configure volume(s).

# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3    2097152  757912 1328848   36% /
/dev/vg00/lvol1     524288  241976  280288   46% /stand
/dev/vg00/lvol16   17776640 9368422 7886766   54% /var
/dev/vg03/lvol1    53329920 49321997 3757490   93% /var/opt/ignite
/dev/vg00/lvol7    8388608 3171576 5176344   38% /usr
/dev/vg00/lvol6    1605632  634216  970016   40% /tmp
/dev/vg00/lvol5    8388608 7463224  918248   89% /opt
/dev/vg00/lvol4    1228800  136208 1084136   11% /home
/dev/evfs/vg00/test
                    105976    1754   97716    2% /test

2. Unmount EVS logical volume.

# umount /test

3. Disable EVS logical volume.

# evfsvol disable -k test /dev/evfs/vg00/test
Enter user passphrase:
Encrypted volume "/dev/evfs/vg00/test" has been successfully disabled

4. Destroy EVS logical volume.

# evfsvol destroy /dev/evfs/vg00/test
Enter owner passphrase:
Are you sure you want to destroy "/dev/evfs/vg00/test"? Continuing with this operation will make your data permanently irrecoverable!
Answer [yes/no]:yes
Encrypted volume "/dev/evfs/vg00/test" has been successfully destroyed

5. Unmap EVS logical volume.

# evfsadm unmap /dev/evfs/vg00/test
EVFS volume "/dev/evfs/vg00/test" has been successfully unmapped
# lvdisplay /dev/vg00/test
--- Logical volumes ---
LV Name                     /dev/vg00/test
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/syncd
Mirror copies               0
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            104
Current LE                  13
Allocated PE                13
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default

Reference

Authors

This page was last modified on 17 July 2010, at 16:23. This page has been accessed 1,550 times.