Re: [Gluster-users] Indexing/Importing existing files on disk
Hi Strahil, interesting, would you happen to know how you could let oVirt mount it with this flag? Thanks Olaf Op ma 4 apr. 2022 om 22:05 schreef Strahil Nikolov : > * it instructs the kernel to skip 'getfattr' > > On Mon, Apr 4, 2022 at 23:04, Strahil Nikolov > wrote: > I agree. Also it has a typo.Obviously I needed more coffee or a bigger > break. > > It should be treated as 'relatime/noatime reduce the ammount of I/O > requests to your brick physical device , which increases performance by > reducing unnecessary IOPS' > > Same is valid for SELINUX's mount option: > context="system_u:object_r:glusterd_brick_t:s0" . It instructs the kernel > to 'getfattr' each file in the brick as it has a specific selinux context > (this case Gluster brick files), thus reducing unnecessary IOPS. > > > > Best Regards, > Strahil Nikolov > > On Mon, Apr 4, 2022 at 9:41, Diego Zuccato > wrote: > Il 03/04/2022 16:36, Strahil Nikolov ha scritto: > > > Using relative/noatime mount option reduces the I/O to the brick > device.IMVHO this sentence could cause misunderstandings. :) > It could be read like "noatime slows down your brick" while, IIUC, it > really means it *improves* the brick's performance by reducing the > number of "housekeeping" IOs. > > -- > Diego Zuccato > DIFA - Dip. di Fisica e Astronomia > Servizi Informatici > Alma Mater Studiorum - Università di Bologna > V.le Berti-Pichat 6/2 - 40127 Bologna - Italy > tel.: +39 051 20 95786 > > > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk > Gluster-users mailing list > Gluster-users@gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users > > > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk > Gluster-users mailing list > Gluster-users@gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users > Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users@gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Indexing/Importing existing files on disk
Il 03/04/2022 16:36, Strahil Nikolov ha scritto: Using relative/noatime mount option reduces the I/O to the brick device.IMVHO this sentence could cause misunderstandings. :) It could be read like "noatime slows down your brick" while, IIUC, it really means it *improves* the brick's performance by reducing the number of "housekeeping" IOs. -- Diego Zuccato DIFA - Dip. di Fisica e Astronomia Servizi Informatici Alma Mater Studiorum - Università di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy tel.: +39 051 20 95786 Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users@gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users
Re: [Gluster-users] Indexing/Importing existing files on disk
Hi! Thank you for the response The Volume I want to import the files into is a distributed volume with 9 bricks. (more info at the bottom). It seems I failed to include the referenced page ( https://rosenha.in/blog/2016/10/migrating-to-gluster-with-existing-data/) in my last email, apologies for that. Volume Name: sfs Type: Distribute Volume ID: 9f65aaa5-86cf-40ae-a447-506f7751a8ea Status: Started Snapshot Count: 0 Number of Bricks: 9 Transport-type: tcp Bricks: Brick1: sfs02:/data/brick1/gv0 Brick2: sfs01:/data/brick1/gv0 Brick3: sfs03:/data/brick1/gv1 Brick4: sfs04:/data/brick1/gv1 Brick5: sfs05:/data/brick1/gv1 Brick6: sfs06:/data/brick1/gv1 Brick7: sfs07:/data/brick1/gv1 Brick8: sfs08:/data/brick1/gv1 Brick9: sfs09:/data/brick1/gv1 Options Reconfigured: performance.client-io-threads: on transport.address-family: inet storage.fips-mode-rchecksum: on nfs.disable: on On Sat, Apr 2, 2022 at 7:35 AM Strahil Nikolov wrote: > In order to help you, the community needs the volume info. > > Best Regards, > Strahil Nikolov > > On Fri, Apr 1, 2022 at 3:38, Patrick Nixon > wrote: > Hey all, > I'm running Gluster 7.2 (there doesn't seem to be a newer version for my > arch armhf). > I'm trying to add a disk as a brick to a volume and be able to > import/load the existing files in without having to bulk copy them in a > roundabout fashion. > > I found this page that indicates just trying to access the file(s) should > make them show up once the brick is added with the force tag. > > Is this still true? Suggestions on what to try to accomplish this if > the article is no longer relevant? > > thank you! > > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk > Gluster-users mailing list > Gluster-users@gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users > > Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users@gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users