FYI
I just resized copr-be storage for DNF repos from 4TB to 6TB.

It was as easy as:

umount /var/lib/copr/public_html
systemctl stop var-lib-copr-public_html.mount
copr-backend-service stop
systemctls stop lighttpd.service

in openstack dashboard, detach the volume, click "enlarge volume", set it to 
6000GB.
attach it back.

Again:
umount /var/lib/copr/public_html
systemctl stop var-lib-copr-public_html.mount
parted
  (parted) print free
  Number  Start   End     Size    File system  Name  Flags
          17.4kB  1049kB  1031kB  Free Space
   1      1049kB  4398GB  4398GB  ext4
          4398GB  6442GB  2044GB  Free Space
  (parted) resizepart
  Partition number? 1
  End?  [4398GB]? 6442GB
resize2fs /dev/vdc1
systemctl start var-lib-copr-public_html.mount
systemctls start lighttpd.service
copr-backend-service start

# df -H /var/lib/copr/public_html
Filesystem      Size  Used Avail Use% Mounted on
/dev/vdc1       6.4T  4.2T  2.3T  65% /var/lib/copr/public_html

Mirek
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to