Discussion:
copr-be's storage
Miroslav Suchý
2017-12-20 07:55:38 UTC
Permalink
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 -- copr-***@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-***@lists.fedorahosted.org
Miroslav Suchý
2018-10-13 13:33:43 UTC
Permalink
FYI, I just added 1TB to copr-be storage using this old receipt.
This mean that we consumed 2TB in less than one year!
Miroslav

-------- Přeposlaná zpráva --------
Předmět: copr-be's storage
Datum: Wed, 20 Dec 2017 08:55:38 +0100
Od: Miroslav Suchý <***@redhat.com>
Adresa pro odpověď: Community Projects <copr-***@lists.fedorahosted.org>
Společnost: Red Hat, Registered Address: Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic, Registered
in Brno under identification number CZ27690016
Komu: copr-***@lists.fedorahosted.org

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 -- copr-***@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-***@lists.fedorahosted.org
_______________________________________________
copr-devel mailing list -- copr-***@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-***@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/copr-devel
Loading...