



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




~]# setfacl -m g:stooges:rw /tmp/acl_file"
This is where we would create a new partition with fdisk or parted and after that create physical volume. Here, I am assuming you have created new partition /dev/sda ~]# pvcreate /dev/sda b. Create a new VG Use the vgcreate command with the flags: -s or --physicalextentsize set to 32M ~]# vgcreate -s 32M farming /dev/sda c. Create new LV Use lvcreate with the flags: -n or --name to provide the name -l or --extents to provide the size ~]# lvcreate -l 25 farming -n cattle d. Create filesystem on the new Logical Volume. ~]# mkfs.ext4 /dev/farming/cattle e. Mount LV and add an entry to fstab. ~]# mkdir /cattle ~]# mount /dev/farming/cattle /cattle ~]# vi /etc/fstab /dev/farming/cattle /cattle ext4 defaults 0 0"