Freeze break request: move /pub/archive from fedora_ftp to fedora_ftp_archive volume
Our fedora_ftp volume is on an SSD aggregate thats running out of space. So, lets move /pub/archive (17TB) off it on to it's own volume on a SAS aggregate. archive gets less traffic that other releases, so it shouldn't be a problem. This will mean however when we archive a release it will cause a bunch of deletes and re-downloads for mirrors because we can no longer hardlink content over and then delete it, but there is no help for that. I will also notify mirror-admins list about this pending action. There shouldn't be any short term issues. Once this PR is merged, we need to run playbooks, then go to a host with rw access to fedora_ftp and rm the archive tree on it. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d3927bb3c9
commit
fd72c22857
3 changed files with 3 additions and 1 deletions
|
@ -38,6 +38,7 @@
|
|||
- download
|
||||
- rsyncd
|
||||
- { role: nfs/client, when: datacenter == "iad2" or datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs/client, when: datacenter == "iad2" or datacenter == "rdu", mnt_dir: '/srv/pub/archive', nfs_src_dir: 'fedora_ftp_archive' }
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/koji', nfs_src_dir: 'fedora_koji/koji/' } # needed for internal sync and odcs
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/srv/odcs', nfs_src_dir: 'fedora_odcs' } # needed for internal sync
|
||||
- sudo
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
- sudo
|
||||
- collectd/base
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub/archive', nfs_src_dir: 'fedora_ftp_archive' }
|
||||
|
||||
pre_tasks:
|
||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
- sudo
|
||||
- { role: nfs/client,
|
||||
mnt_dir: '/srv/pub/archive',
|
||||
nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/archive' }
|
||||
nfs_src_dir: 'fedora_ftp_archive' }
|
||||
- { role: nfs/client,
|
||||
mnt_dir: '/srv/pub/alt',
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue