Patrick Nixon
2022-Apr-02 14:30 UTC
[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 <hunter86_bg at yahoo.com> 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 > <pnixon at gmail.com> 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 at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20220402/fc5f7186/attachment.html>
Strahil Nikolov
2022-Apr-03 14:36 UTC
[Gluster-users] Indexing/Importing existing files on disk
So, you have a distribute volume.When you add a new brick - it will increase the total size of the volume, but you need to rebalance the volume before being able to use the new storage. Check?https://docs.gluster.org/en/latest/Administrator-Guide/Managing-Volumes/#expanding-volumes Don't forget to format the brick with inode size of 512 (for xfs -> mkfs.xfs -i size=512 ...).Using relative/noatime mount option reduces the I/O to the brick device. Best Regards,Strahil Nikolov On Sat, Apr 2, 2022 at 17:30, Patrick Nixon<pnixon at gmail.com> wrote: ________ 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 at gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20220403/822be0f2/attachment.html>