Re: new pc and swap

2016-11-01 Thread Richard Hector
On 01/11/16 22:57, Pascal Hambourg wrote: >> Spanning devices seems to me to be more or less the same as RAID0 >> (striping), and just as risky > > The default is to concatenate PVs like RAID "linear" (JBOD), although > LVM can do striping too. True, but either way, removing one disk may damage a

Re: new pc and swap

2016-11-01 Thread Ben Caradoc-Davies
On 01/11/16 19:04, Johann Spies wrote: LVM has bitten me more than once in the past and I will not use it again. In both situations it spanned more than one disk and one of the disks failed - leaving you with unrecoverable data. I use LVM inside LUKS on a single device. This configuration is gr

Re: new pc and swap

2016-11-01 Thread Pascal Hambourg
Le 01/11/2016 à 14:07, Stefan Monnier a écrit : The only times I put several PVs in a VG is when moving data between disks: Several PVs does not mean several disks. A use case of multiple PVs per VG on one disk is when you want to create several VGs (for whatever reason) and be able to exten

Re: new pc and swap

2016-11-01 Thread Stefan Monnier
>> LVM has bitten me more than once in the past and I will not use it >> again. In both situations it spanned more than one disk and one of the >> disks failed - leaving you with unrecoverable data. > I don't think I've ever used it like that, and probably wouldn't. At > least not unless the under

Re: new pc and swap

2016-11-01 Thread Pascal Hambourg
Le 01/11/2016 à 09:25, Richard Hector a écrit : On 01/11/16 19:04, Johann Spies wrote: LVM has bitten me more than once in the past and I will not use it again. In both situations it spanned more than one disk and one of the disks failed - leaving you with unrecoverable data. I don't think I'

Re: new pc and swap

2016-11-01 Thread Richard Hector
On 01/11/16 19:04, Johann Spies wrote: > LVM has bitten me more than once in the past and I will not use it > again. In both situations it spanned more than one disk and one of the > disks failed - leaving you with unrecoverable data. I don't think I've ever used it like that, and probably wouldn

Re: new pc and swap

2016-10-31 Thread Johann Spies
On 1 November 2016 at 01:08, Mark Fletcher wrote: > > > (am I an LVM fanboy ? Hmm, maybe)is better than life itself, > > LVM has bitten me more than once in the past and I will not use it again. In both situations it spanned more than one disk and one of the disks failed - leaving you with unreco

Re: new pc and swap

2016-10-31 Thread Mark Fletcher
On Mon, Oct 31, 2016 at 07:53:31PM +0100, Pascal Hambourg wrote: > Le 31/10/2016 à 14:54, Stefan Monnier a écrit : > > > >Of course, it's possible. But if you setup a system from scratch I'd > >highly recommend you put "everything" into an LVM volume group so you > >can then use an LVM volume for

Re: new pc and swap

2016-10-31 Thread Mark Fletcher
On Mon, Oct 31, 2016 at 09:54:19AM -0400, Stefan Monnier wrote: > > PS: I put "everything" between quotes because I'm not sure I'd recommend > to also put /boot in an LVM volume. IIUC it can be made to work > nowadays, but my systems still use a two-partition setup: one small > partit

Re: new pc and swap

2016-10-31 Thread John L. Ries
| John L. Ries | Salford Systems | Phone: (619)543-8880 x107 | or (435)867-8885 | --| On Monday 2016-10-31 12:27, Richard Owlett wrote: >Date: Mon, 31 Oct 2016 12:27:22 >From: Richard Owlett >To: debian-user@lists.debian.org >Subject: Re

Re: new pc and swap

2016-10-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Oct 31, 2016 at 01:27:22PM -0500, Richard Owlett wrote: [...] > omnia disci en tres partes est: > primary > extended > logical > > Whither goest LVM? Either ou go with Pascal's advice and use GPT, or, if you feel more comfortable, you

Re: new pc and swap

2016-10-31 Thread Pascal Hambourg
Le 31/10/2016 à 19:45, Greg Wooledge a écrit : On Mon, Oct 31, 2016 at 01:27:22PM -0500, Richard Owlett wrote: primary extended logical Whither goest LVM? 1) Use GPT partitioning and get rid of this obsolete distinction between primary, extended and logical partition. 2) LVM can use

Re: new pc and swap

2016-10-31 Thread Pascal Hambourg
Le 31/10/2016 à 14:54, Stefan Monnier a écrit : Of course, it's possible. But if you setup a system from scratch I'd highly recommend you put "everything" into an LVM volume group so you can then use an LVM volume for swap rather than a file (but with the same advantages as using a file: it's e

Re: new pc and swap

2016-10-31 Thread Greg Wooledge
On Mon, Oct 31, 2016 at 01:27:22PM -0500, Richard Owlett wrote: > To paraphrase Julius Caesar: > omnia disci en tres partes est: > primary > extended > logical > > Whither goest LVM? LVM is a more flexible alternative to using a set of fixed-sized partitions. Under LVM, you create two (or

Re: new pc and swap

2016-10-31 Thread Richard Owlett
On 10/31/2016 8:54 AM, Stefan Monnier wrote: I once read that it was possible to swap to a named file, rather than a swap partition. Is that possible with Jessie? Of course, it's possible. But if you setup a system from scratch I'd highly recommend you put "everything" into an LVM volume grou

Re: new pc and swap

2016-10-31 Thread Stefan Monnier
>>> I once read that it was possible to swap to a named file, rather >>> than a swap partition. Is that possible with Jessie? Of course, it's possible. But if you setup a system from scratch I'd highly recommend you put "everything" into an LVM volume group so you can then use an LVM volume for

Re: new pc and swap

2016-10-31 Thread Richard Owlett
On 10/30/2016 9:15 AM, Nicolas George wrote: Le nonidi 9 brumaire, an CCXXV, Richard Owlett a écrit : I once read that it was possible to swap to a named file, rather than a swap partition. Is that possible with Jessie? Please check: fallocate, mkswap, swapon, and tell us the result. Regards,

Re: new pc and swap

2016-10-30 Thread David Christensen
On 10/30/2016 04:56 AM, Pol Hallen wrote: > I bought a new notebook: i7 2.2Ghz, 8Gb ram and ssd 256Gb. > > Consider that small disk, can I install debian without swap? Does swap > still useful? For my SOHO LAN environment, I build my Debian Wheezy systems on a 16 GB SSD with 10% over-provisioning

Re: new pc and swap

2016-10-30 Thread Markus Grunwald
Servus Pascal, > > I once read that it was possible to swap to a named file, rather than a > > swap partition. > > Is that possible with Jessie? Creating (and using) a swapfile is easy, no problem in Jessie: sudo mkswap /swap.0 sudo swapon /swap.0 grep swap /etc/fstab /swap.0 swap

Re: new pc and swap

2016-10-30 Thread Pascal Hambourg
Le 30/10/2016 à 17:41, Ben Caradoc-Davies a écrit : RAM disks (tmpfs) Tmpfs and ramdisks are very different. A tmpfs is a filesystem in virtual memory (in RAM or swap) with variable size. A ramdisk is a block device (not a filesystem) in RAM with fixed size.

Re: new pc and swap

2016-10-30 Thread Ben Caradoc-Davies
On 31/10/16 00:56, Pol Hallen wrote: I bought a new notebook: i7 2.2Ghz, 8Gb ram and ssd 256Gb. Consider that small disk, can I install debian without swap? Does swap still useful? I have not used swap since I switched to SSDs in 2009. This works only if you are confident that you will never u

Re: new pc and swap

2016-10-30 Thread Pascal Hambourg
Le 30/10/2016 à 15:11, Richard Owlett a écrit : On 10/30/2016 8:52 AM, Markus Grunwald wrote: It migh be. Don't forget that you need some swap space if you want to hibernate your System! I once read that it was possible to swap to a named file, rather than a swap partition. Is that possible w

Re: new pc and swap

2016-10-30 Thread Richard Owlett
On 10/30/2016 8:52 AM, Markus Grunwald wrote: Hello Pol, Does swap still useful? It migh be. Don't forget that you need some swap space if you want to hibernate your System! (You can configure extra hibernation space. I never managed to get that right...) I once read that it was possible

Re: new pc and swap

2016-10-30 Thread Markus Grunwald
Hello Pol, > Does swap still useful? It migh be. Don't forget that you need some swap space if you want to hibernate your System! (You can configure extra hibernation space. I never managed to get that right...) -- Markus Grunwald

Re: new pc and swap

2016-10-30 Thread Michael Milliman
On 10/30/2016 06:56 AM, Pol Hallen wrote: Good sunday to all :-) I bought a new notebook: i7 2.2Ghz, 8Gb ram and ssd 256Gb. Consider that small disk, can I install debian without swap? Does swap still useful? Yes, debian can be installed without swap. Whether swap is useful depends on the