search for: maxpct

Displaying 19 results from an estimated 19 matches for "maxpct".

Did you mean: imaxpct
2012 Jul 31
1
[PATCH] xfs: add new api xfs-growfs
...fs.c @@ -348,3 +348,122 @@ error: free_strings (lines); return ret; } + +guestfs_int_xfsinfo * +do_xfs_growfs (const char *path, + int datasec, int logsec, int rtsec, + int64_t datasize, int64_t logsize, int64_t rtsize, + int64_t rtextsize, int32_t maxpct) +{ + +#define MAX_ARGS 64 + + int r; + char *buf; + char *out = NULL, *err = NULL; + char **lines = NULL; + guestfs_int_xfsinfo *ret = NULL; + const char *argv[MAX_ARGS]; + char datasize_s[64]; + char logsize_s[64]; + char rtsize_s[64]; + char rtextsize_s[64]; + char maxpct_s[32]; + si...
2024 Nov 06
1
Add an arbiter when have multiple bricks at same server.
Right now you have 3 "sets" of replica 2 on 2 hosts.In your case you don't need so much space for arbiters (10-15GB with 95 maxpct is enough for each "set") and you need a 3rd system or when the node that holds the data brick + arbiter brick fails (2 node scenario) - that "set" will be unavailable. If you do have a 3rd host, I think the command would be:gluster volume add-brick VOLUME replica 2 arbiter 1 se...
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...zeof rtextsize_s, "%" PRIi64, rtextsize); + snprintf (rtextsize_s, sizeof rtextsize_s, "%" PRIi64, rtextsize); ADD_ARG (argv, i, "-e"); ADD_ARG (argv, i, rtextsize_s); } @@ -438,7 +438,7 @@ do_xfs_growfs (const char *path, reply_with_error ("maxpct must be >= 0"); return -1; } - snprintf(maxpct_s, sizeof maxpct_s, "%" PRIi32, maxpct); + snprintf (maxpct_s, sizeof maxpct_s, "%" PRIi32, maxpct); ADD_ARG (argv, i, "-m"); ADD_ARG (argv, i, maxpct_s); } @@ -591,7 +591,7 @@ do_xfs...
2024 Nov 06
1
Add an arbiter when have multiple bricks at same server.
...eira (47) 99676-7530 - Whatsapp / Telegram Em qua., 6 de nov. de 2024 ?s 11:32, Strahil Nikolov <hunter86_bg at yahoo.com> escreveu: > Right now you have 3 "sets" of replica 2 on 2 hosts. > In your case you don't need so much space for arbiters (10-15GB with 95 > maxpct is enough for each "set") and you need a 3rd system or when the node > that holds the data brick + arbiter brick fails (2 node scenario) - that > "set" will be unavailable. > > If you do have a 3rd host, I think the command would be: > gluster volume add-brick VOL...
2024 Nov 06
1
Add an arbiter when have multiple bricks at same server.
...; > > > > > Em qua., 6 de nov. de 2024 ?s 11:32, Strahil Nikolov < > hunter86_bg at yahoo.com> escreveu: > >> Right now you have 3 "sets" of replica 2 on 2 hosts. >> In your case you don't need so much space for arbiters (10-15GB with 95 >> maxpct is enough for each "set") and you need a 3rd system or when the node >> that holds the data brick + arbiter brick fails (2 node scenario) - that >> "set" will be unavailable. >> >> If you do have a 3rd host, I think the command would be: >> gluster...
2024 Nov 06
1
Add an arbiter when have multiple bricks at same server.
...t;> Em qua., 6 de nov. de 2024 ?s 11:32, Strahil Nikolov < >> hunter86_bg at yahoo.com> escreveu: >> >>> Right now you have 3 "sets" of replica 2 on 2 hosts. >>> In your case you don't need so much space for arbiters (10-15GB with 95 >>> maxpct is enough for each "set") and you need a 3rd system or when the node >>> that holds the data brick + arbiter brick fails (2 node scenario) - that >>> "set" will be unavailable. >>> >>> If you do have a 3rd host, I think the command would be: &...
2024 Nov 08
1
Add an arbiter when have multiple bricks at same server.
...o Nunes Ferreira(47) 99676-7530 - Whatsapp / Telegram Em qua., 6 de nov. de 2024 ?s 11:32, Strahil Nikolov <hunter86_bg at yahoo.com> escreveu: Right now you have 3 "sets" of replica 2 on 2 hosts.In your case you don't need so much space for arbiters (10-15GB with 95 maxpct is enough for each "set") and you need a 3rd system or when the node that holds the data brick + arbiter brick fails (2 node scenario) - that "set" will be unavailable. If you do have a 3rd host, I think the command would be:gluster volume add-brick VOLUME replica 2 arbiter 1 se...
2024 Nov 08
1
Add an arbiter when have multiple bricks at same server.
...ram > > > > > > > Em qua., 6 de nov. de 2024 ?s 11:32, Strahil Nikolov < > hunter86_bg at yahoo.com> escreveu: > > Right now you have 3 "sets" of replica 2 on 2 hosts. > In your case you don't need so much space for arbiters (10-15GB with 95 > maxpct is enough for each "set") and you need a 3rd system or when the node > that holds the data brick + arbiter brick fails (2 node scenario) - that > "set" will be unavailable. > > If you do have a 3rd host, I think the command would be: > gluster volume add-brick VOL...
2023 Jul 04
1
remove_me files building up
Hi Liam, I saw that your XFS uses ?imaxpct=25? which for an arbiter brick is a little bit low. If you have free space on the bricks, increase the maxpct to a bigger value, like:xfs_growfs -m 80 /path/to/brickThat will set 80% of the Filesystem for inodes, which you can verify with df -i /brick/path (compare before and after).?This way?you w...
2024 Nov 05
1
Add an arbiter when have multiple bricks at same server.
...> >> So I went ahead and installed a Debian 12 and installed the same gluster >> version that the other servers, which is now 11.1 or something like that. >> In this new server, I have a small disk like 480G in size. >> And I created 3 partitions formatted with XFS using imaxpct=75, as >> suggested in previous emails. >> >> And than in the gluster nodes, I tried to add the brick >> gluster vol add-brick VMS replica 3 arbiter 1 arbiter:/arbiter1/arbiter1 >> arbiter:/arbiter2/arbiter2 arbiter:/arbiter3/arbiter3 >> >> But to my surpri...
2023 Jul 04
1
remove_me files building up
...gluster.org <gluster-users at gluster.org> Subject: Re: [Gluster-users] remove_me files building up CAUTION: This e-mail originates from outside of Ekco. Do not click links or attachments unless you recognise the sender. ________________________________ Hi Liam, I saw that your XFS uses ?imaxpct=25? which for an arbiter brick is a little bit low. If you have free space on the bricks, increase the maxpct to a bigger value, like: xfs_growfs -m 80 /path/to/brick That will set 80% of the Filesystem for inodes, which you can verify with df -i /brick/path (compare before and after). This way yo...
2023 Jul 04
1
remove_me files building up
...k.co>; gluster-users at gluster.org <gluster-users at gluster.org> Subject: Re: [Gluster-users] remove_me files building up? | CAUTION:?This e-mail originates from outside of Ekco. Do not click links or attachments unless you recognise the sender. | Hi Liam, I saw that your XFS uses ?imaxpct=25? which for an arbiter brick is a little bit low. If you have free space on the bricks, increase the maxpct to a bigger value, like:xfs_growfs -m 80 /path/to/brickThat will set 80% of the Filesystem for inodes, which you can verify with df -i /brick/path (compare before and after).?This way?you w...
2023 Jul 05
1
remove_me files building up
...gluster.org <gluster-users at gluster.org> Subject: Re: [Gluster-users] remove_me files building up CAUTION: This e-mail originates from outside of Ekco. Do not click links or attachments unless you recognise the sender. ________________________________ Hi Liam, I saw that your XFS uses ?imaxpct=25? which for an arbiter brick is a little bit low. If you have free space on the bricks, increase the maxpct to a bigger value, like: xfs_growfs -m 80 /path/to/brick That will set 80% of the Filesystem for inodes, which you can verify with df -i /brick/path (compare before and after). This way yo...
2023 Jul 04
1
remove_me files building up
...isize=512 agcount=31, agsize=131007 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 data = bsize=4096 blocks=3931899, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=2560, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none...
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...= "xfs_growfs"; added = (1, 19, 28); - style = RErr, [Pathname "path"], [OBool "datasec"; OBool "logsec"; OBool "rtsec"; OInt64 "datasize"; OInt64 "logsize"; OInt64 "rtsize"; OInt64 "rtextsize"; OInt "maxpct"]; + style = RErr, [String (Pathname, "path")], [OBool "datasec"; OBool "logsec"; OBool "rtsec"; OInt64 "datasize"; OInt64 "logsize"; OInt64 "rtsize"; OInt64 "rtextsize"; OInt "maxpct"]; optional...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.