Operating System - HP-UX
1836623 Members
1596 Online
110102 Solutions
New Discussion

Re: unmounting all lvs on a vg

 
SOLVED
Go to solution
Ravinder Singh Gill
Regular Advisor

unmounting all lvs on a vg

Is it possible to unmount all the logical volumes/filesystems part of a particular volume group rather than doing them manually?
2 REPLIES 2
Pete Randall
Outstanding Contributor
Solution

Re: unmounting all lvs on a vg

for i in `bdf -l |grep vgXX | awk '{ print $6 }'`
do
umount $i
done


Pete

Pete
Ravinder Singh Gill
Regular Advisor

Re: unmounting all lvs on a vg

Thanks