RE: [opensuse] Creating a swap file
- From: "James D. Parra" <Jamesp@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 18:17:43 -0800
On Thursday 11 January 2007 16:12, James D. Parra wrote:
...
Okay, this is interesting.
#dd if=/dev/zero of=/extra-swap bs=2GB count=1K
dd: memory exhausted
You're asking dd to allocate a single, contiguous 2 gigabyte block of
primary storage (a.k.a. RAM) to use as the buffer for transferring the
data from the input to the output.
And as Patrick pointed out, if this did succeed, you'd need a file
system with space available to hold a 2 terabyte file, since you're
trying to write those 2 gigabytes to the file 1024 times.
Try this:
% dd if=/dev/zero of=/extra-swap bs=2M count=1K
~~~
Okay, I got it. I now see what this is doing and how it is being done.
Everything is working. Thank you all for your illuminating responses.
~James
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Creating a swap file
- From: jan kalcic
- Re: [opensuse] Creating a swap file
- Prev by Date: Re: [opensuse] Re: This is OT, but you guys are gonna love this one!!
- Next by Date: Re: [opensuse] Re: This is OT, but you guys are gonna love this one!!
- Previous by thread: RE: [opensuse] Creating a swap file
- Next by thread: Re: [opensuse] Creating a swap file
- Index(es):
Relevant Pages
|