After I seen the talk about VDO: https://www.youtube.com/watch?v=7CGr5LEAfRY I went ahead and tried it. I tried it on small (12GB) sample of Copr data and I saved 20-30% data. I then deployed it on production server retrace.fedoraproject.org and saved there 15% out of 2TB.
Several notes: The RPM packages are only available for RHEL. Recently the public github has been updated with version of VDO, which should work on Fedora. No RPM available for Fedora yet though.
Here are my notes:
# vdo create --name=vdo1 --device=/dev/vdb --vdoLogicalSize=1T
# mkfs.ext4 /dev/mapper/vdo1 Some slides suggest to use -E discard. This is not needed for new volumes. See vdo-devel mailing list for reasoning.
# mount -o discard /dev/mapper/vdo1 /mnt/a
Probably best scenario is to create vdo on whole disk and then make PV from whole VDO disk and put LVM on top of that.
When you already have data, you cannot convert your disk to VDO. You need create new VDO disk, format it, mount it and copy the data. In my case, due limited space for migration I created a small LVM volume "vdosrv":
# lvcreate -L 80G -n vdosrv vol0
I converted it to VDO which claims to have 2TB of vitual total size
# vdo create --name=srv18 --device=/dev/vol0/vdosrv --vdoLogicalSize=2T
# mkfs.ext4 /dev/mapper/srv18
See how many space is *actually* free. # vdostats
# mkdir /mnt/srv18 # mount -o discard /dev/mapper/srv18 /mnt/srv18
Now I moved some data from old volume to /mnt/srv18. I shrank the FS of old volume, I shrank the old LV. And then I enlarged the new LV.
# lvresize -L +400G /dev/vol0/vdosrv
and let know vdo that it can use the new space:
# vdo growPhysical -n srv18
I repeated this several times.
I have to say that my experience is so far good.
I hope that my notes help someone.
Miroslav
On 02/16/2018 08:47 AM, Miroslav Suchý wrote:
After I seen the talk about VDO: https://www.youtube.com/watch?v=7CGr5LEAfRY I went ahead and tried it. I tried it on small (12GB) sample of Copr data and I saved 20-30% data. I then deployed it on production server retrace.fedoraproject.org and saved there 15% out of 2TB.
Thanks for sharing!
Once we get it into Fedora this would be a great blog post for the magazine. What do you think?
I added Paul to this to see what he thinks as well.
Dusty
On Fri, Feb 16, 2018 at 03:47:08PM +0100, Miroslav Suchý wrote:
Dne 16.2.2018 v 14:56 Dusty Mabe napsal(a):
Once we get it into Fedora this would be a great blog post for the magazine. What do you think?
Yes. Sure.
Would love to have a feature on this. Refer here for the process, if you haven't done an article before:
https://fedoramagazine.org/writing-an-article-for-the-fedora-magazine/
Dne 16.2.2018 v 20:59 Paul W. Frields napsal(a):
Would love to have a feature on this. Refer here for the process, if you haven't done an article before:
https://fedoramagazine.org/writing-an-article-for-the-fedora-magazine/
I am able to log into FM dashboard, but I do not see there an option to create new article (or pitch) https://fedoramagazine.org/wp-admin/index.php
Am I missing this step?
A Fedora Magazine editor will then grant you access to create and edit posts, and submit them for review
My FAS account is msuchy
Miroslav
Miroslav,
Can you access https://fedoramagazine.org/wp-admin/edit.php ? From there, you should have a "Add new" button that will let you create a new post.
Thanks Clément
On 23 February 2018 at 10:39, Miroslav Suchý msuchy@redhat.com wrote:
Dne 16.2.2018 v 20:59 Paul W. Frields napsal(a):
Would love to have a feature on this. Refer here for the process, if you haven't done an article before:
https://fedoramagazine.org/writing-an-article-for-the-fedora-magazine/
I am able to log into FM dashboard, but I do not see there an option to create new article (or pitch) https://fedoramagazine.org/wp-admin/index.php
Am I missing this step?
A Fedora Magazine editor will then grant you access to create and edit posts, and submit them for review
My FAS account is msuchy
Miroslav _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
Dne 23.2.2018 v 10:57 Clement Verna napsal(a):
Miroslav,
Can you access https://fedoramagazine.org/wp-admin/edit.php ? From there, you should have a "Add new" button that will let you create a new post.
I get:
Sorry, you are not allowed to access this page.
Miroslav
OK then we need an admin to give you access.
I think Paul or Ryan should be able to do that
On 23 February 2018 at 11:17, Miroslav Suchý msuchy@redhat.com wrote:
Dne 23.2.2018 v 10:57 Clement Verna napsal(a):
Miroslav,
Can you access https://fedoramagazine.org/wp-admin/edit.php ? From there, you should have a "Add new" button that will let you create a new post.
I get:
Sorry, you are not allowed to access this page.
Miroslav _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
Dne 23.2.2018 v 11:25 Clement Verna napsal(a):
OK then we need an admin to give you access.
I think Paul or Ryan should be able to do that
Paul or Ryan, can you please grant me edit right on Fedora Magazine? I feel really silly, because I am asking for 4 times via different channels. :(( My username is: msuchy
Miroslav
On 23 February 2018 at 11:17, Miroslav Suchý msuchy@redhat.com wrote:
Dne 23.2.2018 v 10:57 Clement Verna napsal(a):
Miroslav,
Can you access https://fedoramagazine.org/wp-admin/edit.php ? From there, you should have a "Add new" button that will let you create a new post.
I get:
Sorry, you are not allowed to access this page.
Miroslav _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
Looks like you already have author rights.
On Tue, Feb 27, 2018 at 9:18 AM, Miroslav Suchý msuchy@redhat.com wrote:
Dne 23.2.2018 v 11:25 Clement Verna napsal(a):
OK then we need an admin to give you access.
I think Paul or Ryan should be able to do that
Paul or Ryan, can you please grant me edit right on Fedora Magazine? I feel really silly, because I am asking for 4 times via different channels. :(( My username is: msuchy
Miroslav
On 23 February 2018 at 11:17, Miroslav Suchý msuchy@redhat.com wrote:
Dne 23.2.2018 v 10:57 Clement Verna napsal(a):
Miroslav,
Can you access https://fedoramagazine.org/wp-admin/edit.php ? From there, you should have a "Add new" button that will let you create a new post.
I get:
Sorry, you are not allowed to access this page.
Miroslav _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.
fedoraproject.org
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.
fedoraproject.org _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists. fedoraproject.org
On Fri, Feb 16, 2018 at 9:02 AM Dusty Mabe dusty@dustymabe.com wrote:
On 02/16/2018 08:47 AM, Miroslav Suchý wrote:
After I seen the talk about VDO: https://www.youtube.com/watch?v=7CGr5LEAfRY I went ahead and tried it. I tried it on small (12GB) sample of Copr data and I saved 20-30% data. I then deployed it on production server retrace.fedoraproject.org and
saved there 15% out of 2TB.
Thanks for sharing!
Once we get it into Fedora this would be a great blog post for the magazine. What do you think?
Weird, I just jokingly pinged you (dusty) about this in freenode. VDO, i discovered today, *is* being built for fedora in a copr repo (msuchy, I can't believe you didn't see it :) ). The maintainers are trying to keep it up to date but are actually looking for help on triggering a rebuild on kernel updates. I pestered clime who gave me something for them.
so.. if you want it for fedora..
https://copr.fedorainfracloud.org/coprs/rhawalsh/dm-vdo/
$ sudo dnf copr enable rhawalsh/dm-vdo $ sudo dnf install vdo kmod-kvdo
langdon
/me goes back to catching up on email from two weeks on the road
I added Paul to this to see what he thinks as well.
Dusty _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
On Wed, 2018-03-14 at 22:34 +0000, Langdon White wrote:
On Fri, Feb 16, 2018 at 9:02 AM Dusty Mabe dusty@dustymabe.com wrote:
On 02/16/2018 08:47 AM, Miroslav Suchý wrote:
After I seen the talk about VDO:
I went ahead and tried it.
I tried it on small (12GB) sample of Copr data and I saved 20-30% data.
I then deployed it on production server retrace.fedoraproject.org and saved there 15% out of 2TB.
Thanks for sharing!
Once we get it into Fedora this would be a great blog post for the magazine. What do you think?
Weird, I just jokingly pinged you (dusty) about this in freenode. VDO, i discovered today, *is* being built for fedora in a copr repo (msuchy, I can't believe you didn't see it :) ). The maintainers are trying to keep it up to date but are actually looking for help on triggering a rebuild on kernel updates. I pestered clime who gave me something for them.
Shouldn't they be using DKMS[0] or something similar ? IIRC that's what all the other (GPU drivers, Virtualbox, etc.) out of tree kernel modules do. [0] https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support
so.. if you want it for fedora..
https://copr.fedorainfracloud.org/coprs/rhawalsh/dm-vdo/
$ sudo dnf copr enable rhawalsh/dm-vdo
$ sudo dnf install vdo kmod-kvdo
langdon
/me goes back to catching up on email from two weeks on the road
I added Paul to this to see what he thinks as well.
Dusty
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
On 02/16/2018 05:47 AM, Miroslav Suchý wrote:
After I seen the talk about VDO: https://www.youtube.com/watch?v=7CGr5LEAfRY I went ahead and tried it.
...snip...
I have to say that my experience is so far good.
I hope that my notes help someone.
Cool. Thanks for the notes/info. VDO indeed looks very interesting...
kevin
infrastructure@lists.fedoraproject.org