[Ci-users] Disk space on ci nodes
Fabian Arrotin
arrfab at centos.orgFri Jan 22 06:47:17 UTC 2016
- Previous message: [Ci-users] Disk space on ci nodes
- Next message: [Ci-users] Disk space on ci nodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/01/16 05:18, Dusty Mabe wrote: > Hi, > > Is it possible to get raw block device storage on nodes in the CI? > Right now from what I can tell the nodes come up with LVM set up > and no space free in the volume group. There is a root/home/swap LV > and we can't really reclaim any space because xfs doesn't support > shrinking the FS. > > Can we have some free space left in the VG? Is there some other way > to get this to happen? > > Thanks, Dusty Initially, the kickstart[s] we use to deploy CentOS {5,6,7} were using the whole disk as one PV, one VG, but minimal space for the LVs. Then people complaint about that, because their tests weren't doing the resize2fs/xfs_grow operations, so we decided to just add the - --grow option : part /boot --fstype="ext4" --ondisk=mpatha --size=500 part pv.14 --fstype="lvmpv" --ondisk=mpatha --size=10000 --grow volgroup vg_{{ inventory_hostname_short }} --pesize=4096 pv.14 logvol /home --fstype="xfs" --size=2412 --name=home --vgname=vg_{{ inventory_hostname_short }} --grow --maxsize=100000 logvol / --fstype="xfs" --size=8200 --name=root --vgname=vg_{{ inventory_hostname_short }} --grow --maxsize=1000000 logvol swap --fstype="swap" --size=2136 --name=swap --vgname=vg_{{ inventory_hostname_short }} Happy to revisit that if needed. One option would be to have Duffy do the resize operation[s] before giving a node by default, and not touch the layout/fs if called with something like "&resizefs=no" Problem is that in such case, the "connect to node, analyze, resizefs" operations would add time to the api request/answer, so not sure if that's the way to go Now for your raw block device storage, unfortunately there is actually no option, but still something we can probably do through iscsi. What would be the requirements for your tests ? - -- Fabian Arrotin The CentOS Project | http://www.centos.org gpg key: 56BEC54E | twitter: @arrfab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlah0HUACgkQnVkHo1a+xU4KjQCfdKiCUXA8GRmpwBoTHYIeKJxV ebgAniwU9ng3R0h37eFUHptqqozplBEu =RQSF -----END PGP SIGNATURE-----
- Previous message: [Ci-users] Disk space on ci nodes
- Next message: [Ci-users] Disk space on ci nodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CI-users mailing list