Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to add additional swap?

428 views
Skip to first unread message

Valeriy Borysyuk

unread,
Jun 3, 2002, 4:15:39 AM6/3/02
to
Hi!

Help me please. I want to add additional swap space in my SunOS 5.6.
I do the following:
#swap -a /dev/rdsk/c0t2d0s1
"/dev/rdsk/c0t2d0s1" is not valid for swapping.
It must be a block device or a regular file with the
"save user text on execution" bit set.

Wat's wrong?

Thanks a lot,
Valeriy

Mike Miller

unread,
Jun 3, 2002, 8:09:02 AM6/3/02
to
In article <adf8ji$1p99$1...@news.kiev.sovam.com>, b...@lgeur.com.ua says...
rdsk is the raw device link, not the block device link. Use dsk and also
read the man page a little closer.
--
Mike Miller
If all else fails - READ THE INSTRUCTIONS!
or if you like
"If all else fails - THROW HARDER" Robert Smith(pro bowler)

Horst Scheuermann

unread,
Jun 3, 2002, 8:26:58 AM6/3/02
to
In <adf8ji$1p99$1...@news.kiev.sovam.com> "Valeriy Borysyuk" <b...@lgeur.com.ua> writes:

> Help me please. I want to add additional swap space in my SunOS 5.6.
> I do the following:
> #swap -a /dev/rdsk/c0t2d0s1
> "/dev/rdsk/c0t2d0s1" is not valid for swapping.
> It must be a block device or a regular file with the
> "save user text on execution" bit set.

swap -a /dev/dsk/c0t2d0s1

/dev/dsk/c0t2d0s1 is the block device, /dev/rdsk/c0t2d0s1 is the raw device

0 new messages