Re: Swap partition vs swap file

2012-11-22 Thread Darac Marjal
When setting up Linux systems, I've always set up a separate swap > partition. I was reading a few days ago that apparently there's a nifty > way to do like Windows does (that alone should probably be good enough > reason to *not* do it... :-) ) and set up a swap *file* instead.

Re: Swap partition vs swap file

2012-11-21 Thread Rob Owens
When setting up Linux systems, I've always set up a separate swap > partition. I was reading a few days ago that apparently there's a nifty > way to do like Windows does (that alone should probably be good enough > reason to *not* do it... :-) ) and set up a swap *file* instead.

Re: Swap partition vs swap file

2012-11-21 Thread Claudius Hubig
Hello David, David Guntner wrote: > swap *file* instead. > > So, anyone? Pros & cons? Is there any reason to prefer one over the other? Are you sure you need swap at all? If so, will your server still deliver acceptable performance if it is actively swapping? If yes, then the p

Re: Swap partition vs swap file

2012-11-21 Thread Kelly Clowers
wap > partition. I was reading a few days ago that apparently there's a nifty > way to do like Windows does (that alone should probably be good enough > reason to *not* do it... :-) ) and set up a swap *file* instead. > > So, anyone? Pros & cons? Is there any reason to pr

Swap partition vs swap file

2012-11-21 Thread David Guntner
a few days ago that apparently there's a nifty way to do like Windows does (that alone should probably be good enough reason to *not* do it... :-) ) and set up a swap *file* instead. So, anyone? Pros & cons? Is there any reason to prefer one over the other? One thing to know about up front -

Re: mostly Solved: [Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file]

2011-07-29 Thread Bob Proulx
ything? Create one large partition, encrypt it, set it up with lvm, then partition out the lvm into whatever partitions, swap, whatever that you desire. That is a standard configuration for the debian-installer. I use it on laptops. It works great. But the advantage here would be that you wouldn'

mostly Solved: [Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file]

2011-07-29 Thread Jimmy Wu
On Wed, 27 Jul 2011, 10:18-0400, Jean-Marc Ranger wrote: [...] > Not sure how versed you are in script programming, but my take at > debugging this would be to add more traces in cryptdisks.functions > file, especially in the handle_crypttab_line_start funtion, that is > called for each line in cr

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-29 Thread Jimmy Wu
ot;. Is there really a need to avoid the > graphical display manager by changing runlevels? Is there really a > need to boot without networking enabled? Probably not. So I assume > there must be some other behavior that people are wanting and it is > completely a mystery to me. Well in my

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-28 Thread Bob Proulx
Jimmy Wu wrote: > Thanks for the detailed email and the advice about service vs > invoke-rc.d - I should probably spend more time figuring out what the The win for package postinst scripts using invoke-rc to start services is that if they are installed in a chroot then maybe they shouldn't start

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-28 Thread Jimmy Wu
On Wed, 27 Jul 2011, 14:09-0600, Bob Proulx wrote: > Jimmy Wu wrote: > > I even put aside my reservations about messing with the links in > > rc.d, > > Squeeze is running a dependency based boot scheme controlled by > insserv. You may be fighting it and not knowing it. Normally you > would hav

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Bob Proulx
Jimmy Wu wrote: > I even put aside my reservations about messing with the links in > rc.d, Squeeze is running a dependency based boot scheme controlled by insserv. You may be fighting it and not knowing it. Normally you would have LSB dependency headers in the /etc/init.d/ scripts and insserv wi

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Jimmy Wu
On Wed, 27 Jul 2011, 10:18-0400, Jean-Marc Ranger wrote: > Since no-one replied yet... > > I don't have an answer, only ideas. > > IIRC, scripts in only one of the rc?.d are executed on startup. > Which one depend on the requested runlevel, default value being > specified in /etc/inittab. > > L

Re: cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-27 Thread Jean-Marc Ranger
Since no-one replied yet... I don't have an answer, only ideas. IIRC, scripts in only one of the rc?.d are executed on startup. Which one depend on the requested runlevel, default value being specified in /etc/inittab. Looking at my cryptdisks and cryptdisks-early scripts, they appear to be

cryptdisks runlevel configuration for lvm2 + encrypted swap file

2011-07-26 Thread Jimmy Wu
Dear List, I have an encrypted swap file located inside /var, which is on a separate LVM2 logical volume from /, but it does not get mounted on boot. Everything I've been able to find either implies my setup should work or is geared toward swap partitions, not swap files. I even put

Re: Is it possible to put a swap file in the fstab

2010-08-30 Thread Aaron Toponce
On 08/30/2010 03:48 PM, François TOURDE wrote: > One reply line... > > 20 noise lines... > > What a signal/noise ratio 1/20 :( Some haven't learned the value of trimming your relpies. -- . o . o . o . . o o . . . o . . . o . o o o . o . o o . . o o o o . o . . o o o

Re: Is it possible to put a swap file in the fstab

2010-08-30 Thread François TOURDE
Le 14851ième jour après Epoch, Christopher Judd écrivait: > On Monday 30 August 2010 11:50:56 T o n g wrote: >> Hi, >> >> Is it possible to tell fstab to loop mount a swap file during boot up? >> >> Thanks > Why not just install dphys-sw

Re: Is it possible to put a swap file in the fstab

2010-08-30 Thread Christopher Judd
On Monday 30 August 2010 11:50:56 T o n g wrote: > Hi, > > Is it possible to tell fstab to loop mount a swap file during boot up? > > Thanks Why not just install dphys-swapfile? -Chris | Christop

Re: Is it possible to put a swap file in the fstab

2010-08-30 Thread Boyd Stephen Smith Jr.
In , T o n g wrote: >Is it possible to tell fstab to loop mount a swap file during boot up? Yes. Or, at least, last time I checked you could still do this. I've forgotten the exact system though. Probably something like: /path/name noneswaploop,sw 0 0 -- Boyd Stephen

swsusp wipes out the swap file

2004-12-20 Thread Hugo Vanwoerkom
Hi Debian! I am trying to get swsusp working in the 2.6.8 kernel that comes with the installer rc2. I have asked this question before, but now I know more. So I recompiled the kernel with: # Power management options (ACPI, APM) # CONFIG_PM=y CONFIG_SOFTWARE_SUSPEND=y CONFIG_PM_DISK=y CONFIG_PM_DI

Re: Kernel 2.6: swap file or partition?

2004-02-05 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 05, 2004 at 07:41:08PM +, M.Kirchhoff wrote: > Under the 2.6.x kernel, is it advisable to just create a swap file > (via dd) rather than using an actual partition, perhaps with swapd > to keep things safe? Just use the

Re: Kernel 2.6: swap file or partition?

2004-02-05 Thread David T-G
M -- ...and then M. Kirchhoff said... % % Under the 2.6.x kernel, is it advisable to just create a swap file (via dd) % rather than using an actual partition, perhaps with swapd to keep things safe? In general a swap partition is ever so slightly more efficient than a swap file because one

Kernel 2.6: swap file or partition?

2004-02-05 Thread M . Kirchhoff
Under the 2.6.x kernel, is it advisable to just create a swap file (via dd) rather than using an actual partition, perhaps with swapd to keep things safe? --M. Kirchhoff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Disk performance and SWAP file location

2001-05-26 Thread Alex Suzuki
On Fri, May 25, 2001 at 05:45:38PM -0500, Walter L. Preuninger II wrote: > I wouild like to optimize my partitioning scheme Hello Walter, Have you read Karsten Koehntopps Partitioning HowTo? http://www.linuxdoc.org/HOWTO/mini/Partition/index.html Regards, Alex -- Alex Suzuki | [EMAIL PROTECTED]

Re: Disk performance and SWAP file location

2001-05-25 Thread Dimitri Maziuk
* Walter L. Preuninger II ([EMAIL PROTECTED]) spake thusly: > I wouild like to optimize my partitioning scheme ... > Which example gives the best performance. None of the above. Put it on a separate drive. If it's IDE, make that a master with no slave, too. > Does 2.2 do elevator seeking Dunno

Re: Disk performance and SWAP file location

2001-05-25 Thread Alvin Oga
hi ya walter good question ... - anybody measued any of the partition schemes ?? am assuming "a" is the outer tracks "d" is the inner tracks... -- swap should be NOT an issue... if you sustain constant 32Mb or 64Mb or 128Mb of swap space usage ADD that much more memory !!!

Disk performance and SWAP file location

2001-05-25 Thread Walter L. Preuninger II
I wouild like to optimize my partitioning scheme Example A space a b swap(center of drive) c d Example B a b swapc d Example C a b c

Re: Swap file location

2001-03-17 Thread Noah L. Meyerhans
On Fri, Mar 16, 2001 at 06:56:51PM -0800, Eric G. Miller wrote: > That's what I did (more or less). I also have a swap partition, but I > set the priority for the swap file in /etc/fstab so the dedicated swap > partition would be used first -- Somehow, I don't think this matte

Re: Swap file location

2001-03-16 Thread Eric G. Miller
On Fri, Mar 16, 2001 at 05:34:40PM -0800, Michael J. Micek wrote: > If you needed to create a swap file, where would you put it? > /var/local/swap0? That's what I did (more or less). I also have a swap partition, but I set the priority for the swap file in /etc/fstab so the ded

Re: Swap file location

2001-03-16 Thread iehrenwald
On Fri, 16 Mar 2001, Michael J. Micek wrote: > If you needed to create a swap file, where would you put it? > /var/local/swap0? On a very fast drive (7200RPM U2WSCSI or faster) seperate from all other filesystem tasks. Mount it under /swapfiles and add the apropriate entries in fstab.

Swap file location

2001-03-16 Thread Michael J. Micek
If you needed to create a swap file, where would you put it? /var/local/swap0? -- Michael J. Micek, CyberStrategies, Inc. sysadmin. [EMAIL PROTECTED]

Re: Where to place swap file according to FSSTND?

2000-06-07 Thread Ralf G. R. Bergs
On Tue, 6 Jun 2000 18:14:01 -0700, Eric G . Miller wrote: >On Tue, Jun 06, 2000 at 09:04:44PM +0200, Ralf G. R. Bergs wrote: >> Hi there, >> >> I have only a small root FS (30 megs,) and I don't want a swap part'n >> (not very flexible,) therefore I use a s

Re: Where to place swap file according to FSSTND?

2000-06-06 Thread Eric G . Miller
On Tue, Jun 06, 2000 at 09:04:44PM +0200, Ralf G. R. Bergs wrote: > Hi there, > > I have only a small root FS (30 megs,) and I don't want a swap part'n > (not very flexible,) therefore I use a swap file. > > Which is the "proper" place to place the swap fi

Where to place swap file according to FSSTND?

2000-06-06 Thread Ralf G. R. Bergs
Hi there, I have only a small root FS (30 megs,) and I don't want a swap part'n (not very flexible,) therefore I use a swap file. Which is the "proper" place to place the swap file? Is it recommended to make a link to /dev/swap? Thanks, Ralf -- Sign the EU p

Re: swap file signature

1999-09-02 Thread Martin Fluch
On Thu, 2 Sep 1999 [EMAIL PROTECTED] wrote: > Hi > > i have deleted and then readded a swap partition... > > when i reboot it says : activiting swap file >unable to find swap-space signature > > hmm > > do i have to set up the swap partition fro

swap file signature

1999-09-02 Thread zdrysdal
Hi i have deleted and then readded a swap partition... when i reboot it says : activiting swap file unable to find swap-space signature hmm do i have to set up the swap partition from a boot disk rather than from an up and going linux? thanx

Re: swap file

1997-09-15 Thread Jim Pick
> i want to install debian and i want to know if it's possible to share > the > same partition for swap file of win95 and linux. > > if it's possible, how to do this??? There's a mini-HOWTO for this: /usr/doc/HOWTO/mini/Swap-Space.gz I've never done

swap file

1997-09-15 Thread Benoit Joly
hi, i want to install debian and i want to know if it's possible to share the same partition for swap file of win95 and linux. if it's possible, how to do this??? Thanks Benoit Joly email: [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word &q