Re: [Nix-dev] Multiple stores

2016-08-27 Thread Vladimír Čunát
On 08/26/2016 02:51 PM, Freddy Rietdijk wrote: > Would it be possible to install a second store elsewhere, in this case > on a slower HDD? It should be possible just by setting some environment variables. I've never done it, but there are $NIX_STORE_DIR, $NIX_STATE_DIR, etc. See the end of "man

Re: [Nix-dev] Multiple stores

2016-08-26 Thread Roland Koebler
Hi, > My understanding is that whenever a file is needed it is copied in the > store. by default, yes. I do not yet have much experience with Nix, and I don't know if it's a good idea, but it is possible to symlink files. (I'm pretty sure that it isn't a good idea to do this in normal cases, but

Re: [Nix-dev] Multiple stores

2016-08-26 Thread Freddy Rietdijk
My understanding is that whenever a file is needed it is copied in the store. All these files are needed, at some point. The size likely wouldn't be an issue if Nix could build and garbage-collect at the same time as the eventual size of the data that I do want to keep in the store is expected to

Re: [Nix-dev] Multiple stores

2016-08-26 Thread Roland Koebler
Hi, On Fri, Aug 26, 2016 at 02:51:02PM +0200, Freddy Rietdijk wrote: > I would like to use Nix for a certain data analysis where I will have > several thousand files which are all together about two TB in size. Do these 2 TB of data really have to be stored in the nix-store? And if yes, how about

Re: [Nix-dev] Multiple stores

2016-08-26 Thread Daniel Hlynskyi
Why LVM is expensive? I'd like to know because I often mount /nix/store on log. vvolum. 26 серп. 2016 3:51 пп "Freddy Rietdijk" пише: > Hi, > > I would like to use Nix for a certain data analysis where I will have > several thousand files which are all together about

Re: [Nix-dev] Multiple stores

2016-08-26 Thread Guillaume Maudoux (Layus)
Le 26/08/16 à 14:51, Freddy Rietdijk a écrit : > Hi, > > I would like to use Nix for a certain data analysis where I will have > several thousand files which are all together about two TB in size. At > the moment NixOS is installed on a SSD which is a quarter that size. > Would it be possible to

[Nix-dev] Multiple stores

2016-08-26 Thread Freddy Rietdijk
Hi, I would like to use Nix for a certain data analysis where I will have several thousand files which are all together about two TB in size. At the moment NixOS is installed on a SSD which is a quarter that size. Would it be possible to install a second store elsewhere, in this case on a slower