RHCE6 Preperation (3) – find & copy, lvm resize, swap partition create

1, find the file belong to lucy and copy to a folder, create the find folder, mkdir /tmp/findfiles find the file the owner is lucy, use the parameter -user and -exec find / -user lucy -exec cp -a {} /tmp/findfiles \; 2, enlarge the lvm, no need to umount, lvextend -L 190M /dev/mapper/vgsrv-common then extend the file system, resize2fs /dev/mapper/vgsrv-common you can also use the UI to edit the logic volume size, yum install system-config-lvm system-config-lvm In the logic volume size, click the ‘edit properties’, and drag the size bar to modify the size.