Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Is Thin LVM stable & ready for production?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Is Thin LVM stable & ready for production?

tomazutomazu Member, Host Rep
edited December 2020 in Help

Thin LVM has been around for a long time now, but I never used it in production feeling it was still beta, you could mess up things pretty badly if you ever really run out of disk space and you probably want to keep meta-data on a separate RAID1 disk and keep off-server backups just in case something goes wrong. Also, at least at the time, there were only few recovery options and tools if something went wrong - even a simple power outage could cause major headaches for data on thin provisioned LVM.

So I wanted to ask if some of you are using it in production and if yes, what your experiences with it are?

Comments

  • Is Thin LVM stable & ready for production?

    Is anything really production ready?


    Tried it but as you've mentioned, I also don't feel particularly well since I have little server admin knowledge so disaster recovery from PEBKAC errors is a no go for me atm.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    If you run out of diskspace in your VG you're fucked.

    Francisco

    Thanked by 2maverickp jixun
  • It depends, if you sell very cheap VPS and you need to oversell disk space to make a profit it's an option but you'll have to monitor disk space very carefully.

    I always wonder though what people mean with 'production'. Would I use it in a hospital to operate a lung machine? No obv. not. Would I use it to host a website that can afford a little bit of downtime each month then sure why not as long as you create backups.

  • tomazutomazu Member, Host Rep
    edited December 2020

    @Francisco said:
    If you run out of diskspace in your VG you're fucked.

    yes, that has to be closedly monitored as you could run out of disk space even without overselling (fstrim not running etc). But how is the performance?

    @marvel said:
    It depends, if you sell very cheap VPS and you need to oversell disk space to make a profit it's an option but you'll have to monitor disk space very carefully.

    even if I do not want to oversell (say I create the thin LVM 1,5-2x the physical space I have, but allocate (and use) only the physically space I have so as to be able to create snapshots or do very short-term work requiring space), thin provisioning would help e. g. with snapshots.

    I always wonder though what people mean with 'production'.

    just like @sdglhm did :-)

    Would I use it in a hospital to operate a lung machine? No obv. not. Would I use it to host a website that can afford a little bit of downtime each month then sure why not as long as you create backups.

    Would you fly with an airline that tolerates pilot errors? Would you fly with a no-frills airline?

  • ShazanShazan Member, Host Rep

    @tomazu said:
    But how is the performance?

    We use it in production in our Proxmox clusters since at least 3 years and it performs very well. Also snapshots are faster than standard logical volumes.

  • tomazutomazu Member, Host Rep

    We use it in production in our Proxmox clusters since at least 3 years and it performs very well. Also snapshots are faster than standard logical volumes.

    thank you for the feedback. Any experience with recovery?

  • ShazanShazan Member, Host Rep
    edited December 2020

    @tomazu said:

    We use it in production in our Proxmox clusters since at least 3 years and it performs very well. Also snapshots are faster than standard logical volumes.

    thank you for the feedback. Any experience with recovery?

    We had an issue with a full thin volume, we expanded it and then repaired with lvconvert --repair without any problems.

    Thanked by 1tomazu
Sign In or Register to comment.