new disk for owncloud

  1. pvcreate /dev/sdb

    vgcreate VG_ownclouddata /dev/sdb

    lvcreate -n LV_ownclouddata -L 80G VG_ownclouddata

    mkfs.ext3 /dev/VG_ownclouddata/LV_ownclouddata
  2. fstab add:
    /dev/mapper/VG_ownclouddata-LV_ownclouddata /var/www/html/owncloud/data ext4 rw 0 0

Breadcrumbs